summaryrefslogtreecommitdiff
path: root/src/kernel/linker.ld
diff options
context:
space:
mode:
authordzwdz2022-05-29 21:21:46 +0200
committerdzwdz2022-05-29 21:21:46 +0200
commitc3e611ecf1e0f6ac5790e56bb0b21d30f5253d15 (patch)
treee47b9d9ba7489c7510498895620217c9e6514e5b /src/kernel/linker.ld
parenta6ed7a20a823e67c19b93309706c57ddee1933c6 (diff)
kernel: fix overlapping interrupt / regular stacks
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r--src/kernel/linker.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/linker.ld b/src/kernel/linker.ld
index 84945b1..371f2d7 100644
--- a/src/kernel/linker.ld
+++ b/src/kernel/linker.ld
@@ -30,8 +30,11 @@ SECTIONS
*(COMMON)
*(.bss)
- _stack_bottom = .;
. += 16K;
+ _isr_big_stack = .;
+
+ . += 16K;
+ _stack_top = .;
}
_bss_end = (. + 0xFFF) & ~0xFFF; /* aligned to 4K */
}