mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 19:04:02 +08:00
satman: fix PMP and L2 flush
This commit is contained in:
parent
aed47d79ff
commit
2f35869eb1
@ -466,8 +466,7 @@ pub extern fn main() -> i32 {
|
||||
|
||||
unsafe {
|
||||
ALLOC.add_range(&mut _fheap, &mut _eheap);
|
||||
// stack guard disabled, see https://github.com/m-labs/artiq/issues/2067
|
||||
// pmp::init_stack_guard(&_sstack_guard as *const u8 as usize);
|
||||
pmp::init_stack_guard(&_sstack_guard as *const u8 as usize);
|
||||
}
|
||||
|
||||
clock::init();
|
||||
|
@ -12,6 +12,7 @@ SECTIONS
|
||||
.text :
|
||||
{
|
||||
*(.text .text.*)
|
||||
. = ALIGN(0x40000);
|
||||
} > main_ram
|
||||
|
||||
.eh_frame :
|
||||
|
Loading…
Reference in New Issue
Block a user