Re-exports§
pub use address_space::kernel_address_space;pub use address_space::AddressSpace;pub use address_space::VmaFlags;pub use address_space::VmaPageSize;pub use address_space::VmaType;pub use buddy::get_allocator;pub use frame::AllocError;pub use frame::FrameAllocator;pub use frame::PhysFrame;pub use userslice::UserSliceError;pub use userslice::UserSliceRead;pub use userslice::UserSliceReadWrite;pub use userslice::UserSliceWrite;pub use crate::sync::with_irqs_disabled;
Modules§
- address_
space - Per-process address spaces for Strat9-OS.
- boot_
alloc - Allocateur physique de boot pour les structures permanentes du noyau.
- buddy
- cow
- Copy-on-Write (COW) support for fork()
- frame
- heap
- paging
- Virtual Memory Management (Paging) for Strat9-OS
- userslice
- Userspace pointer validation for Strat9-OS.
- zone
Functions§
- allocate_
dma_ frame - Allocate a zeroed 4KB frame suitable for DMA operations.
- allocate_
frame - Allocate a single physical frame.
- allocate_
frames - Allocate
2^ordercontiguous physical frames. - free_
frame - Free a single physical frame.
- free_
frames - Free
2^ordercontiguous physical frames. - hhdm_
offset - Get the current HHDM offset
- init_
cow_ subsystem - Initialize copy-on-write metadata.
- init_
memory_ manager - Initialize the memory management subsystem
- phys_
to_ virt - Convert a physical address to a virtual address using the HHDM offset
- set_
hhdm_ offset - Store the HHDM offset (call once, early in boot)
- virt_
to_ phys - Convert a virtual address back to a physical address (reverse of phys_to_virt)