-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make use of arch-specific address space granules #35
Comments
A thought that occurred to me when thinking about this: I think I'd like to type-alias granules. // vspace.rs
type UnmappedPage<Kind> = UnmappedRegion<U12, Kind>;
type MappedPage<Kind> = MappedRegion<U12, Kind>;
#[cfg(target_arch = "aarch64")]
type UnmappedLargePage<Kind> = UnmappedRegion<U21, Kind>;
#[cfg(target_arch = "aarch64")]
type MappedLargePage<Kind> = MappedRegion<U21, Kind>;
// &c. The reason for this is that I'd like to make all of |
Actually, disregard that previous comment regarding type aliasing granules. The "I'd like to make all of To hold on to the granule caps once we know how to map them, we can just use a This all, of course, depends on us being able to actually map those granules which is still an open question. |
I encountered a complication in the "recursive" mapping algorithm as it pertains to mapping larger memory granules. While we can ensure that mapping is possible through the recursion as an artifact of address alignment, we cannot, when unrolling that recursion, know when to stop at a specific layer and invoke the leaf-mapping syscall ( |
The text was updated successfully, but these errors were encountered: