qbox
qbox copied to clipboard
Does QBox support MRS X0, S3_1_C15_C1_0 instruction
I am using QBox to run my program on a virtual ARM Cortex-A53 CPU. My program contains the following instruction:
MRS X0, S3_1_C15_C1_0
When this instruction is executed, the program crashes, and the CPU jumps to address 0x200. I have confirmed that the virtual CPU supports both EL2 and EL3.
Questions: Does QBox fully support the MRS X0, S3_1_C15_C1_0 instruction? Are there any special configurations or prerequisites required to enable this instruction in QBox? Any insights or guidance on this issue would be appreciated.
That's all supported, but you need has_el3 if memory serves correctly. I'd check your configs carefully.