1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-08 13:28:05 +00:00

Mark these variables as __used as those are used in the asm block.

Approved by:	kib (mentor)
This commit is contained in:
Roman Divacky 2009-02-18 18:25:16 +00:00
parent 4d8f3ef49b
commit 004aa5e7ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188753

View File

@ -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,