diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-31 09:31:35 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-05 08:42:41 -0600 |
commit | 8f3b9694b217b7083fcbc44d7a28c16185c0c579 (patch) | |
tree | 817292fe32e6188f1402b829d7e9e62861dca108 /configs/draco_defconfig | |
parent | 53292ad956329eb18de0604f369cd99dd2a2579f (diff) | |
download | u-boot-imx-8f3b9694b217b7083fcbc44d7a28c16185c0c579.zip u-boot-imx-8f3b9694b217b7083fcbc44d7a28c16185c0c579.tar.gz u-boot-imx-8f3b9694b217b7083fcbc44d7a28c16185c0c579.tar.bz2 |
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>
Diffstat (limited to 'configs/draco_defconfig')
0 files changed, 0 insertions, 0 deletions