Date: Wed, 18 Feb 2009 18:25:17 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188753 - head/sys/i386/acpica Message-ID: <200902181825.n1IIPH9n071204@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rdivacky Date: Wed Feb 18 18:25:16 2009 New Revision: 188753 URL: http://svn.freebsd.org/changeset/base/188753 Log: Mark these variables as __used as those are used in the asm block. Approved by: kib (mentor) Modified: head/sys/i386/acpica/acpi_wakeup.c Modified: head/sys/i386/acpica/acpi_wakeup.c ============================================================================== --- head/sys/i386/acpica/acpi_wakeup.c Wed Feb 18 17:36:44 2009 (r188752) +++ head/sys/i386/acpica/acpi_wakeup.c Wed Feb 18 18:25:16 2009 (r188753) @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902181825.n1IIPH9n071204>