File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ pub const USER_HEAP_SIZE_MAX: usize = 0x2000_0000;
2121/// The base address for user interpreter.
2222pub const USER_INTERP_BASE : usize = 0x400_0000 ;
2323
24- /// The address of signal trampoline (placed at top of user space ).
25- pub const SIGNAL_TRAMPOLINE : usize = USER_SPACE_BASE + USER_SPACE_SIZE - 0x1000 ;
24+ /// The address of signal trampoline (placed at top of user heap ).
25+ pub const SIGNAL_TRAMPOLINE : usize = 0x6000_1000 ;
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ pub const USER_HEAP_SIZE_MAX: usize = 0x2000_0000; // 512MB
2121/// The base address for user interpreter.
2222pub const USER_INTERP_BASE : usize = 0x400_0000 ;
2323
24- /// The address of signal trampoline (placed at top of user space ).
25- pub const SIGNAL_TRAMPOLINE : usize = USER_SPACE_BASE + USER_SPACE_SIZE - 0x1000 ;
24+ /// The address of signal trampoline (placed at top of user heap ).
25+ pub const SIGNAL_TRAMPOLINE : usize = 0x6000_1000 ;
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ pub const USER_HEAP_SIZE_MAX: usize = 0x2000_0000;
2121/// The base address for user interpreter.
2222pub const USER_INTERP_BASE : usize = 0x400_0000 ;
2323
24- /// The address of signal trampoline (placed at top of user space ).
25- pub const SIGNAL_TRAMPOLINE : usize = USER_SPACE_BASE + USER_SPACE_SIZE - 0x1000 ;
24+ /// The address of signal trampoline (placed at top of user heap ).
25+ pub const SIGNAL_TRAMPOLINE : usize = 0x6000_1000 ;
Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ pub const USER_HEAP_SIZE_MAX: usize = 0x2000_0000;
2121/// The base address for user interpreter.
2222pub const USER_INTERP_BASE : usize = 0x400_0000 ;
2323
24- /// The address of signal trampoline (placed at top of user space ).
25- pub const SIGNAL_TRAMPOLINE : usize = USER_SPACE_BASE + USER_SPACE_SIZE - 0x1000 ;
24+ /// The address of signal trampoline (placed at top of user heap ).
25+ pub const SIGNAL_TRAMPOLINE : usize = 0x6000_1000 ;
You can’t perform that action at this time.
0 commit comments