X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/69777bdcab284335651a8002e2896f3862fa423d..refs/heads/feat/user_model:/lunaix-os/link/linker.ld diff --git a/lunaix-os/link/linker.ld b/lunaix-os/link/linker.ld index 34833f0..93c9693 100644 --- a/lunaix-os/link/linker.ld +++ b/lunaix-os/link/linker.ld @@ -185,5 +185,14 @@ SECTIONS { *(.bss) } + .bss.kstack BLOCK(4K) : AT ( ADDR(.bss.kstack) - 0xC0000000) + { + PROVIDE(__bsskstack_start = .); + + *(.bss.kstack) + + PROVIDE(__bsskstack_end = .); + } + __kexec_end = ALIGN(4K); } \ No newline at end of file