feat(domain): add memory module with page pool, per-process tracking, and region table
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
use types::{
|
||||
address::VirtualAddress,
|
||||
bounded::PageCount,
|
||||
generation::Generation,
|
||||
id::{EndpointId, IrqId, ProcessId, RegionId},
|
||||
};
|
||||
use types::id::{EndpointId, IrqId, ProcessId, RegionId};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum Resource {
|
||||
@@ -13,10 +8,3 @@ pub enum Resource {
|
||||
Interrupt(IrqId),
|
||||
ProcessCreate,
|
||||
}
|
||||
|
||||
pub struct MemoryRegion {
|
||||
id: RegionId,
|
||||
base: VirtualAddress,
|
||||
size: PageCount,
|
||||
generation: Generation,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user