diff options
author | dzwdz | 2022-05-29 21:21:46 +0200 |
---|---|---|
committer | dzwdz | 2022-05-29 21:21:46 +0200 |
commit | c3e611ecf1e0f6ac5790e56bb0b21d30f5253d15 (patch) | |
tree | e47b9d9ba7489c7510498895620217c9e6514e5b /src/kernel/linker.ld | |
parent | a6ed7a20a823e67c19b93309706c57ddee1933c6 (diff) |
kernel: fix overlapping interrupt / regular stacks
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r-- | src/kernel/linker.ld | 5 |
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 */ } |