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

Add support for creating threads on ARM #355

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Add support for creating threads on ARM #355

wants to merge 15 commits into from

Commits on Nov 12, 2024

  1. libia2: Make ia2_get_pkru/ia2_get_pkey API arch-independent

    Making this API arch-independent seems like a more sane approach, but there is
    another copy of these functions in ia2_get_pkey.h. I assumed that this was to be
    able to call it without changing into the compartment with libia2.a but it seems
    like we don't include it anywhere so it may be dead code. I fixed the usage of
    this API in the tests in a separate commit but we still need to fix it in
    PartitionAlloc and its shim.
    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8b0d84d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f14691 View commit details
    Browse the repository at this point in the history
  3. tests/threads: Fix asserted MTE tag values

    Note: this needs x18 switching in the call gates to pass
    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    2772171 View commit details
    Browse the repository at this point in the history
  4. libia2: Replace inline asm with ia2_get_tag in threads.c

    This will make it easier to avoid duplicating code when adding the arm
    implementation.
    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    84e63d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    913d0e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    557993d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c453d12 View commit details
    Browse the repository at this point in the history
  8. cmake: Enable threads tests

    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    60ea12c View commit details
    Browse the repository at this point in the history
  9. Fix printf specifiers

    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    dcf2fe0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3320864 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    901771f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f2e0b98 View commit details
    Browse the repository at this point in the history
  13. libia2: WIP stack alignment

    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    43fdbab View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f63ca17 View commit details
    Browse the repository at this point in the history
  15. WIP use stock qemu

    ayrtonm committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9e022fb View commit details
    Browse the repository at this point in the history