icu: Split out icu/icu.c
[dragonfly.git] / sys / platform / pc32 / acpica5 / acpi_wakeup.c
index f83138e..53806a6 100644 (file)
@@ -44,7 +44,7 @@
 
 #include <machine/cpufunc.h>
 #include <machine/segments.h>
-#include <machine_base/isa/intr_machdep.h>
+#include <machine_base/icu/icu_var.h>
 
 #include "acpi.h"
 #include <dev/acpica5/acpivar.h>
 extern uint32_t        acpi_reset_video;
 extern void    initializecpu(void);
 
-static struct region_descriptor        r_idt, r_gdt, *p_gdt;
-static uint16_t                r_ldt;
+static __attribute__((used)) struct region_descriptor  r_idt, r_gdt, *p_gdt;
+static __attribute__((used)) uint16_t  r_ldt;
 
-static uint32_t                r_eax, r_ebx, r_ecx, r_edx, r_ebp, r_esi, r_edi,
-                       r_efl, r_cr0, r_cr2, r_cr3, r_cr4, ret_addr;
+static __attribute__((used)) uint32_t  r_eax, r_ebx, r_ecx, r_edx, r_ebp,
+                                       r_esi, r_edi, r_efl, r_cr0, r_cr2,
+                                       r_cr3, r_cr4, ret_addr;
 
-static uint16_t                r_cs, r_ds, r_es, r_fs, r_gs, r_ss, r_tr;
-static uint32_t                r_esp;
+static __attribute__((used)) uint16_t  r_cs, r_ds, r_es, r_fs, r_gs, r_ss,
+                                       r_tr;
+static __attribute__((used)) uint32_t  r_esp;
 
 static void            acpi_printcpu(void);
 static void            acpi_realmodeinst(void *arg, bus_dma_segment_t *segs,