git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: dnode cache syncing for pseudo fs
[lunaix-os.git]
/
lunaix-os
/
link
/
linker.ld
diff --git
a/lunaix-os/link/linker.ld
b/lunaix-os/link/linker.ld
index 958082a484da305dcd833797d11d67e8e2243eac..ba3a3853a232d4fb4c9bd10df8a1175f660ff367 100644
(file)
--- a/
lunaix-os/link/linker.ld
+++ b/
lunaix-os/link/linker.ld
@@
-41,6
+41,12
@@
SECTIONS {
build/obj/hal/*.o (.text)
}
build/obj/hal/*.o (.text)
}
+ __usrtext_start = ALIGN(4K);
+ .usrtext BLOCK(4K) : AT ( ADDR(.usrtext) - 0xC0000000 ) {
+ build/obj/kernel/*.o (.usrtext)
+ }
+ __usrtext_end = ALIGN(4K);
+
.bss BLOCK(4K) : AT ( ADDR(.bss) - 0xC0000000 ) {
build/obj/kernel/*.o (.bss)
build/obj/hal/*.o (.bss)
.bss BLOCK(4K) : AT ( ADDR(.bss) - 0xC0000000 ) {
build/obj/kernel/*.o (.bss)
build/obj/hal/*.o (.bss)
@@
-61,7
+67,4
@@
SECTIONS {
}
__kernel_end = ALIGN(4K);
}
__kernel_end = ALIGN(4K);
- __proc_table = ALIGN(4K);
- . += 4M;
- __kernel_heap_start = ALIGN(4K); /* 内核结束的地方即堆开始的地方 */
}
\ No newline at end of file
}
\ No newline at end of file