diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-10-04 15:04:03 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-10-04 15:04:03 -0400 |
commit | 6e11789cea3e65f26baf00a60b1bc6afd6f33dea (patch) | |
tree | d92c2683fb02f0d796ca0eee30652ad708bb8217 /sys/arch | |
parent | 8748aef181ba99997022fdd5e2129009f7247644 (diff) |
kernel/amd64: Move metadata macros to top
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/lapic.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/amd64/lapic.c b/sys/arch/amd64/lapic.c index 0c4e238..792cfa3 100644 --- a/sys/arch/amd64/lapic.c +++ b/sys/arch/amd64/lapic.c @@ -39,6 +39,10 @@ #include <sys/mmio.h> #include <dev/timer/hpet.h> +__MODULE_NAME("lapic"); +__KERNEL_META("$Vega$: lapic.c, Ian Marco Moffett, " + "Local APIC driver"); + /* * Only calls KINFO if we are the BSP. */ @@ -51,11 +55,6 @@ } \ } while (0); -__MODULE_NAME("lapic"); -__KERNEL_META("$Vega$: lapic.c, Ian Marco Moffett, " - "Local APIC driver"); - - static void *lapic_base = NULL; static struct timer lapic_timer = { 0 }; |