qbox icon indicating copy to clipboard operation
qbox copied to clipboard

Does QBox support MRS X0, S3_1_C15_C1_0 instruction

Open alpha-beta-user opened this issue 1 year ago • 1 comments

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.

alpha-beta-user avatar Jan 14 '25 09:01 alpha-beta-user

That's all supported, but you need has_el3 if memory serves correctly. I'd check your configs carefully.

markfoodyburton avatar Jan 14 '25 21:01 markfoodyburton