mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: processtable: add "last_default_address"
This will be used to accelerate allocations for ranges. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
87676c0fc5
commit
f0d4e44254
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ pub struct Process {
|
|||
/// Default virtual address when MapMemory is called with no `virt`
|
||||
pub mem_default_base: usize,
|
||||
|
||||
/// The last address allocated from
|
||||
pub mem_default_last: usize,
|
||||
|
||||
/// Address where messages are passed into
|
||||
pub mem_message_base: usize,
|
||||
|
||||
|
|
@ -110,6 +113,7 @@ static mut SYSTEM_SERVICES: SystemServices = SystemServices {
|
|||
ppid: 0,
|
||||
mapping: arch::mem::DEFAULT_MEMORY_MAPPING,
|
||||
mem_default_base: arch::mem::DEFAULT_BASE,
|
||||
mem_default_last: arch::mem::DEFAULT_BASE,
|
||||
mem_message_base: arch::mem::DEFAULT_MESSAGE_BASE,
|
||||
mem_heap_base: arch::mem::DEFAULT_HEAP_BASE,
|
||||
mem_heap_size: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue