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

Create kernel stack with correct size and set up a guard page #335

Merged
merged 7 commits into from
Feb 6, 2023

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    0e1fd09 View commit details
    Browse the repository at this point in the history
  2. Fix stack pointer initialization

    The last page of stack memory was not used before because we initialized the stack pointer with the start address of the inclusive end page of the stack. This commit fixes this by initializing the stack pointer with the exact configured address, aligned to a 16-byte boundary.
    phil-opp committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    9ac6744 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41c5f0a View commit details
    Browse the repository at this point in the history
  4. Verify that custom mappings have the required alignment

    Also: Add a convenience function for allocating page-aligned mappings.
    phil-opp committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    e204a56 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c7d8bf View commit details
    Browse the repository at this point in the history
  6. Fix typos

    phil-opp committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    e8d3796 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aee51ad View commit details
    Browse the repository at this point in the history