X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bffa3430fbbaaad29bec0b5bee9c1f0bfc7fd068..refs/heads/arm64-irq-premerge:/lunaix-os/includes/lunaix/sections.h diff --git a/lunaix-os/includes/lunaix/sections.h b/lunaix-os/includes/lunaix/sections.h index 3182825..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,6 +27,9 @@ #define reclaimable_start __section_mark(bssreclaim, start) #define reclaimable_end __section_mark(bssreclaim, 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) #define kernel_end __section_mark(kimg, end)