A Total Overhaul on the Lunaix's Virtual Memory Model (#26)
[lunaix-os.git] / lunaix-os / link / linker.ld
index a409542624fbe546ab7907b7d4840a1c6f25b391..34833f08d81cbbb6d1d27e293e9e90da19a58997 100644 (file)
@@ -2,6 +2,7 @@ ENTRY(start_)
 
 SECTIONS {
     . = 0x100000;
 
 SECTIONS {
     . = 0x100000;
+    __kboot_start = .;
 
     /* 这里是我们的高半核初始化代码段和数据段 */
     .boot.text BLOCK(4K) : 
 
     /* 这里是我们的高半核初始化代码段和数据段 */
     .boot.text BLOCK(4K) : 
@@ -29,7 +30,7 @@ SECTIONS {
     {
         *(.boot.rodata)
     }
     {
         *(.boot.rodata)
     }
-    __kexec_boot_end = ALIGN(4K);
+    __kboot_end = ALIGN(4K);
 
     /* ---- boot end ---- */
 
 
     /* ---- boot end ---- */