loader: don't reserve the "susres" page

The "susres" page should be owned by the "susres" server and not the
kernel. Avoid mapping this page to the kernel to prevent it from getting
double-mapped.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-12-29 18:33:40 +08:00
parent 6b5b4a5d21
commit e0c62e5480

View file

@ -13,4 +13,4 @@ pub const KERNEL_STACK_TOP: usize = 0xfff8_0000;
pub const KERNEL_LOAD_OFFSET: usize = 0xffd0_0000;
pub const KERNEL_STACK_PAGE_COUNT: usize = 1;
pub const KERNEL_ARGUMENT_OFFSET: usize = 0xffc0_0000;
pub const GUARD_MEMORY_BYTES: usize = 2 * crate::PAGE_SIZE;
pub const GUARD_MEMORY_BYTES: usize = 3 * crate::PAGE_SIZE;