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 Descriptor::dpl const method and use it in GDT construction #410

Merged
merged 2 commits into from
Mar 8, 2023

Commits on Mar 7, 2023

  1. Add Descriptor::dpl const method

    THis requires making `PrivilegeLevel::from_u16` const
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    14cdce4 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Descriptor: update comments

    Clarify the DPL_RING_3 flag, remove the the comment saying that the DPL
    is ignored in 64-bit mode data segments, explain the exception for stack
    segments.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    7673551 View commit details
    Browse the repository at this point in the history