X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/6be108db01439d3463342689446e457a315d6705..6942ebae59c3904674dce6b67cd07c43a3bbe00d:/lunaix-os/includes/lunaix/sections.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/sections.h b/lunaix-os/includes/lunaix/sections.h index daa5ccc..9290178 100644 --- a/lunaix-os/includes/lunaix/sections.h +++ b/lunaix-os/includes/lunaix/sections.h @@ -12,7 +12,7 @@ /* Auto-generated data */ #define extern_autogen(name) \ - weak unsigned long __mark_name(autogen,name)[] = {}; \ + _weak unsigned long __mark_name(autogen,name)[] = {}; \ extern unsigned long __mark_name(autogen,name)[]; #define autogen_name(name) __mark_name(autogen,name) @@ -27,8 +27,8 @@ #define reclaimable_start __section_mark(bssreclaim, start) #define reclaimable_end __section_mark(bssreclaim, end) -#define boot_start __section_mark(kboot, start) -#define boot_end __section_mark(kboot, end) +#define bootsec_start __section_mark(kboot, start) +#define bootsec_end __section_mark(kboot, end) #define kernel_start __section_mark(kexec, start) #define kernel_load_end __section_mark(kexec, end)