u-boot-brain/arch/x86
Simon Glass 8f3b9694b2 x86: Allow use of global_data with EFI
On x86 the global_data pointer is provided through a somewhat-bizarre and
x86-specific mechanism: the F segment register is set to a pointer to the
start of global_data, so that accesses can use this build-in register.

When running as an EFI application we don't want to mess with the Global
Descriptor Table (GDT) and there is little advantage (in terms of code size)
to doing so.

Allow global_data to be a simple variable in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2015-08-05 08:42:41 -06:00
..
cpu x86: Tidy up a few minor issues with interrupts 2015-08-05 08:42:41 -06:00
dts x86: bayleybay: Configure PCI IRQ 2015-08-05 08:42:39 -06:00
include/asm x86: Allow use of global_data with EFI 2015-08-05 08:42:41 -06:00
lib x86: Add some missing global_data declarations in files that use gd 2015-08-05 08:42:41 -06:00
config.mk generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig 2015-03-28 09:03:08 -04:00
Kconfig x86: Reserve PCIe ECAM address range in the E820 table 2015-07-28 10:36:25 -06:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00