u-boot/arch/x86/lib
Bin Meng cfa5189811 x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used
With x86 we can execute an option ROM either natively or using the
x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share
the _X86EMU_env variable, with the native code using it to hold
register state during interrupt processing.

At present, in 32-bit U-Boot, the variable is declared twice, once
in common code and once in code only compiled with CONFIG_BIOSEMU.

With GCC 11 this causes a 'multiple definitions' error on boards
with CONFIG_BIOSEMU.

Drop the emulator definition when CONFIG_BIOSEMU is used.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2021-07-07 10:17:54 -04:00
..
coreboot treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
fsp x86: fsp: Don't enable FSP graphics if booted from coreboot 2021-03-27 15:04:30 +13:00
fsp1 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fsp2 x86: fsp: Don't notify if booted from coreboot 2021-03-27 15:04:30 +13:00
acpi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
acpi_nhlt.c x86: Silence some logging statements 2020-11-06 09:51:32 +08:00
acpi_s3.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
acpi_table.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
acpigen.c x86: acpi: Add PCT and PTC tables 2020-09-25 11:27:18 +08:00
asm-offsets.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bios.c x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used 2021-07-07 10:17:54 -04:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_interrupts.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootm.c x86: coreboot: Sync up timestamp codes 2021-03-27 13:59:37 +13:00
cmd_boot.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
coreboot_table.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
elf_x86_64_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
hob.c x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
init_helpers.c x86: coreboot: Don't setup MTRR when booting from coreboot 2021-03-27 15:04:31 +13:00
interrupts.c x86: Show the interrupt pointer with 'irqinfo' 2020-11-06 09:51:29 +08:00
lpc-uclass.c x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
Makefile x86: Move coreboot sysinfo parsing into generic x86 code 2021-03-27 13:59:59 +13:00
mpspec.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mrccache.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinctrl_ich6.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pirq_routing.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pmu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
scu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sections.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
sfi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
spl.c cpu: Rename SPL_CPU_SUPPORT to SPL_CPU 2021-03-27 15:04:31 +13:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tpl.c x86: Support a fake PCI device with of-platdata-inst 2021-03-26 17:03:09 +13:00
zimage.c x86: Allow installing an e820 when booting from coreboot 2021-03-27 15:04:29 +13:00