Skip to content

Support aarch64 machines with non-4k pagesizes #529

@kit-ty-kate

Description

@kit-ty-kate

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions