mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Kernel: Move special sections into Sections.h
This also removes a lot of CPU.h includes infavor for Sections.h
This commit is contained in:
parent
925be2758e
commit
62f9377656
93 changed files with 104 additions and 34 deletions
|
@ -11,9 +11,6 @@
|
|||
|
||||
#include <Kernel/Arch/x86/DescriptorTable.h>
|
||||
|
||||
#define READONLY_AFTER_INIT __attribute__((section(".ro_after_init")))
|
||||
#define UNMAP_AFTER_INIT NEVER_INLINE __attribute__((section(".unmap_after_init")))
|
||||
|
||||
/* Map IRQ0-15 @ ISR 0x50-0x5F */
|
||||
#define IRQ_VECTOR_BASE 0x50
|
||||
#define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue