summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-14 07:58:38 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-14 08:00:00 +0100
commit5f32da0b6960454e5881db6244646a253895dbbc (patch)
treef8ab998e3b272a1f0f67c289280e830ca1c1f29f /bsps
parentInclude missing <sys/cpuset.h> (diff)
downloadrtems-5f32da0b6960454e5881db6244646a253895dbbc.tar.bz2
bsp/or1k: Use interrupt stack for init stack
Update #3459.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/or1k/generic_or1k/start/start.S6
1 files changed, 3 insertions, 3 deletions
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 */