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

Support aarch64 machines with non-4k pagesizes #529

Open
kit-ty-kate opened this issue Oct 21, 2022 · 0 comments
Open

Support aarch64 machines with non-4k pagesizes #529

kit-ty-kate opened this issue Oct 21, 2022 · 0 comments

Comments

@kit-ty-kate
Copy link

Running an hvt image on an apple M1 laptop running linux natively, I get:

solo5-hvt: dist/noop.hvt: Bad address

Looking into the matter it seems like the pagesize is hardcoded to 4k:

#define PAGE_SHIFT 12
#define PAGE_SIZE (1 << (PAGE_SHIFT))

However M1 machines have a 16k pagesize.

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