]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Store the GDT pointer in global_data
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:25:15 +0000 (20:25 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:17 +0000 (22:35 +0200)
commit1ab87de15d12e613059bbed560f5c090f46b7619
tree0419072df3ecdf1e06c162f3704088766468cf30
parent4183016436e5643906ebf2a2c5ab14ca33502fef
x86: Store the GDT pointer in global_data

When we start up additional CPUs we want them to use the same Global
Descriptor Table. Store the address of this in global_data so we can
reference it later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/include/asm/global_data.h