Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does QBox support MRS X0, S3_1_C15_C1_0 instruction #20

Open
alpha-beta-user opened this issue Jan 14, 2025 · 1 comment
Open

Does QBox support MRS X0, S3_1_C15_C1_0 instruction #20

alpha-beta-user opened this issue Jan 14, 2025 · 1 comment

Comments

@alpha-beta-user
Copy link

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.

@markfoodyburton
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants