]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Move the GDT into global_data
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2015 02:44:31 +0000 (20:44 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 15:50:10 +0000 (09:50 -0600)
commit2db937456114d964e814f8cc25131e3b2c641b49
tree34a1da74ebec34a753ed9c7387ffcb4bcb82aaf5
parent1fed87db6a6a2eea7f93667e98db41e258b9c8f0
x86: Move the GDT into global_data

Rather than keeping track of the Global Descriptor Table in its own memory
we may as well put it in global_data with everything else. As a first step,
stop using the separately allocated GDT.

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