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

Use different PTR mask for MacOSX #318

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

MikhailSuendukov
Copy link
Contributor

@MikhailSuendukov MikhailSuendukov commented Jul 4, 2024

  • Has CHANGELOG.md been updated?
  • Are tests passing locally?
  • Are the files formatted correctly?
  • Did you add unit tests?
  • Did you test your change with the sample apps?

Description

In the XNU implementation, the maximum virtual memory address range varies depending on the targeted OS variant (link). Therefore, we should use two different masks:
For macOS: 0x00007FFFFFFFFFFFF
For other variants: 0x0000000FFFFFFFFFF

Build succeed

Related PRs or issues

Issue: #316
AB#107270

@DmitriyKirakosyan DmitriyKirakosyan marked this pull request as draft September 3, 2024 06:05
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

Successfully merging this pull request may close these issues.

2 participants