pub struct Region {
pub base: *const u8,
pub guarded: bool,
pub protection: Protection,
pub shared: bool,
pub size: usize,
}
Expand description
A descriptor for a memory region
This type acts as a POD-type, i.e it has no functionality but merely stores region information.
Fields§
§base: *const u8
Base address of the region
guarded: bool
Whether the region is guarded or not
protection: Protection
Protection of the region
Whether the region is shared or not
size: usize
Size of the region (multiple of page size)