From 5f32da0b6960454e5881db6244646a253895dbbc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Nov 2018 07:58:38 +0100 Subject: bsp/or1k: Use interrupt stack for init stack Update #3459. --- bsps/or1k/generic_or1k/start/start.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsps') diff --git a/bsps/or1k/generic_or1k/start/start.S b/bsps/or1k/generic_or1k/start/start.S index 26991c8960..82f7883c3c 100644 --- a/bsps/or1k/generic_or1k/start/start.S +++ b/bsps/or1k/generic_or1k/start/start.S @@ -29,7 +29,7 @@ .extern bsp_start_vector_table_end .extern bsp_start_vector_table_size .extern bsp_vector_table_size - .extern bsp_section_stack_begin + .extern _ISR_Stack_area_end .extern exception_frame_save .extern _OR1K_Exception_Process @@ -150,8 +150,8 @@ _start: l.mtspr r0, r1, 17 /* load stack and frame pointers */ - l.movhi r1, hi(bsp_section_stack_begin) - l.ori r1, r1, lo(bsp_section_stack_begin) + l.movhi r1, hi(_ISR_Stack_area_end) + l.ori r1, r1, lo(_ISR_Stack_area_end) l.add r2, r0, r1 /* Clearing .bss */ -- cgit v1.2.3