diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-02-18 18:25:16 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-02-18 18:25:16 +0000 |
commit | 9a1e2de5264bbf502af8e69f76c1a87848104485 (patch) | |
tree | fcef9ef4fb3ea6a65552ef1bb9dabc2b3ad50b8e /sys/i386/acpica | |
parent | 49dc84f59a68dab456f27b5f0333b2557968404f (diff) | |
download | FreeBSD-src-9a1e2de5264bbf502af8e69f76c1a87848104485.zip FreeBSD-src-9a1e2de5264bbf502af8e69f76c1a87848104485.tar.gz |
Mark these variables as __used as those are used in the asm block.
Approved by: kib (mentor)
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r-- | sys/i386/acpica/acpi_wakeup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 386ddb1..b75f2dd 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -64,13 +64,13 @@ extern uint32_t acpi_reset_video; extern void initializecpu(void); static struct region_descriptor saved_idt, saved_gdt, *p_gdt; -static uint16_t saved_ldt; +static uint16_t __used saved_ldt; -static uint32_t r_eax, r_ebx, r_ecx, r_edx, r_ebp, r_esi, r_edi, +static uint32_t __used 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 uint16_t __used r_cs, r_ds, r_es, r_fs, r_gs, r_ss, r_tr; +static uint32_t __used r_esp; static void acpi_printcpu(void); static void acpi_realmodeinst(void *arg, bus_dma_segment_t *segs, |