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

libsel4vm: Fault: support 64 bits fault data mask for aarch64 #113

Open
colorglass opened this issue Sep 7, 2023 · 0 comments
Open

libsel4vm: Fault: support 64 bits fault data mask for aarch64 #113

colorglass opened this issue Sep 7, 2023 · 0 comments

Comments

@colorglass
Copy link

The function fault_get_data_mask() only produce the mask within 32 bits which meas it can't return a mask like 0xffffffff00000000 with 64 bits seL4_Word.

mask <<= (addr & 0x3) * 8;

Thus for some data structures like GICD_IROUTER of gicv3 which is in 64 bits width, the mask and the related fault function fault_emulate() can't handler the access to the upper 32 bits correctly.

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

1 participant