indicogniBuild a VMM

Lab

ESR decoder

Used in chapter 07.

Split an ESR_EL2 syndrome into its fields, flip bits to see what changes, and see what macvmm would do with the exit.

Runs in browser
ESR_EL2 0x93890046 split into its fields The syndrome from chapter 05's stop, 0x93890046, as 32 bits. EC (bits 31 to 26) is 100100, 0x24, a data abort from a lower EL. IL (bit 25) is 1. ISV (bit 24) is 1, so the access is described. SAS (bits 23 to 22) is 10: 4 bytes. SSE (bit 21) is 0. SRT (bits 20 to 16) is 01001: register 9. SF (bit 15) is 0: a 32-bit w register. WnR (bit 6) is 1: a write. DFSC (bits 5 to 0) is 000110: translation fault, level 2. So the guest stored 4 bytes from w9. Dashed boxes are bits macvmm does not use. ESR_EL2 = 0x9389_0046 EC 100100 IL 1 ISV 1 SAS 10 SSE 0 SRT 01001 SF 0 AR 0 13:11 000 FnV 0 EA 0 CM 0 S1P 0 WnR 1 DFSC 000110 31 26 25 24 16 15 6 0 Data abort from a lower EL (EC 0x24). Write of 4 bytes from w9. Translation fault, level 2 (DFSC 0b000110). Dashed boxes: bits macvmm does not use. With JavaScript on, this is an interactive decoder.

All labs