uboot/arch/x86/include/asm
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
..
arch-baytrail x86: baytrail: Update UPD setting for FSP Gold4 release 2015-08-05 08:42:39 -06:00
arch-coreboot x86: Use ipchecksum from net/ 2015-01-24 06:13:44 -07:00
arch-ivybridge x86: Clean up lapic codes 2015-07-14 18:03:16 -06:00
arch-qemu x86: qemu: Turn on PCIe ECAM address range decoding on Q35 2015-07-28 10:36:25 -06:00
arch-quark x86: quark: Implement PIRQ routing 2015-06-04 02:39:39 -06:00
arch-queensbay x86: Refactor PIRQ routing support 2015-06-04 02:39:39 -06:00
fsp x86: Adjust the FSP types slightly 2015-02-05 22:16:43 -07:00
video
acpi.h x86: Add a simple header file for ACPI 2014-11-25 06:34:00 -07:00
atomic.h x86: Add atomic operations 2015-04-29 21:02:33 -06:00
bitops.h x86: Add ilog2 to bitops 2012-11-28 11:40:03 -08:00
bootm.h x86: Move kernel boot function to arch/x86/lib/bootm.c 2014-10-28 20:43:58 -06:00
bootparam.h
byteorder.h
cache.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.h generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
control_regs.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpu.h x86: dm: Clean up cpu drivers 2015-07-14 18:03:15 -06:00
cpu_x86.h x86: dm: Clean up cpu drivers 2015-07-14 18:03:15 -06:00
e820.h x86: Clean up arch/x86/include/asm/e820.h 2015-04-29 18:51:49 -06:00
errno.h
global_data.h x86: Allow use of global_data with EFI 2015-08-05 08:42:41 -06:00
gpio.h x86: gpio: add pinctrl support from the device tree 2015-06-04 03:32:08 -06:00
i8254.h x86: Add quick TSC calibration via PIT 2014-11-21 07:24:10 +01:00
i8259.h x86: Refactor interrupt_init() 2014-11-25 06:34:02 -07:00
ibmpc.h x86: Set serial port IRQ for SMSC LPC47M 2015-04-29 18:51:48 -06:00
init_helpers.h x86: Remove unnecessary find_fdt(), prepare_fdt() functions 2014-11-21 07:24:12 +01:00
interrupt.h x86: Display correct CS/EIP/EFLAGS when there is an error code 2015-07-28 10:36:21 -06:00
io.h Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
ioapic.h x86: Add I/O APIC register access routines 2015-07-14 18:03:17 -06:00
ioctl.h
irq.h x86: Refactor PIRQ routing support 2015-06-04 02:39:39 -06:00
ist.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lapic.h x86: Remove inline for lapic access routines 2015-07-14 18:03:17 -06:00
linkage.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
mp.h x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
mpspec.h x86: mpspec: Allow platform to determine how PIRQ is connected to I/O APIC 2015-07-28 10:36:24 -06:00
msr-index.h x86: Add a CPU driver for baytrail 2015-04-30 16:13:50 -06:00
msr.h x86: Add functions to set and clear bits on MSRs 2015-04-30 16:13:46 -06:00
mtrr.h x86: Change pci option rom area MTRR setting to cacheable 2015-07-28 10:36:22 -06:00
pci.h x86: pci: Assign pci irqs to all functions 2015-07-28 10:36:22 -06:00
pirq_routing.h x86: Support platform PIRQ routing 2015-04-29 18:51:49 -06:00
pnp_def.h x86: Add a simple superio driver for SMSC LPC47M 2014-12-13 22:32:05 -07:00
posix_types.h
post.h x86: Add post failure codes for bist and car 2014-12-13 22:32:05 -07:00
processor-flags.h
processor.h x86: Add multi-processor init 2015-04-30 16:13:38 -06:00
ptrace.h x86: Display correct CS/EIP/EFLAGS when there is an error code 2015-07-28 10:36:21 -06:00
relocate.h x86: Drop unused copy_fdt_to_ram() 2015-08-05 08:42:40 -06:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sfi.h x86: Add support for the Simple Firmware Interface (SFI) 2015-04-29 21:02:33 -06:00
sipi.h x86: Add multi-processor init 2015-04-30 16:13:38 -06:00
speedstep.h x86: Add Intel speedstep and turbo mode code 2014-11-25 06:34:02 -07:00
string.h x86: Import glibc memcpy implementation 2012-01-02 03:58:46 +11:00
tables.h x86: Add MultiProcessor (MP) table APIs 2015-07-14 18:03:17 -06:00
turbo.h x86: Add a CPU driver for baytrail 2015-04-30 16:13:50 -06:00
types.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
u-boot-x86.h x86: fsp: Move FspInitEntry call to board_init_f() 2015-07-14 18:03:15 -06:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h
zimage.h x86: Configure VESA parameters before loading Linux kernel 2015-07-14 18:03:19 -06:00