Skip to content

Commit

Permalink
improve process start address
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6D70 committed Jan 23, 2024
1 parent bd2a0c6 commit c284012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xernel/kernel/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub const HEAP_START_ADDR: usize = 0xffff_9000_0000_0000;
// NOTE: stack grows down
pub const KERNEL_THREAD_STACK_TOP: u64 = 0xffff_a000_0000_0000;

pub const PROCESS_START: u64 = 0x0000_0001_0000_0000;
pub const PROCESS_START: u64 = 0x0000_0000_0040_0000;
pub const PROCESS_END: u64 = 0x0000_ffff_ffff_f000;

pub const STACK_SIZE: u64 = 0x40000;
Expand Down

0 comments on commit c284012

Please sign in to comment.