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

Implement better vunmap() functionality; Enable NULL address (0 MFN) handling #312

Merged
merged 5 commits into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. mm,vmm: implement critical section via spin lock

    Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
    wipawel committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3835f45 View commit details
    Browse the repository at this point in the history
  2. arch,pt: enable (void *) 0 address mapping

    Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
    wipawel committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0936501 View commit details
    Browse the repository at this point in the history
  3. arch,pt,pmm: mark frames used for pagetables

    Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
    wipawel committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    89601db View commit details
    Browse the repository at this point in the history
  4. arch,pt: implement better vunmap() functionality

    Previous naive implementation was creating new pagetable entries when
    no such mapping had been created.
    It wasn't also taking into account the order of the mapping, assuming
    all mappings were 4K.
    
    Also, return unmapped MFN and page order to let the caller handle
    corresponding frame.
    
    Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
    wipawel committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    3c521ad View commit details
    Browse the repository at this point in the history
  5. arch,pt: issue debug vmap/vunmap prints outside of CS

    Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
    wipawel committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    dac11db View commit details
    Browse the repository at this point in the history