]> git.ipfire.org Git - people/ms/u-boot.git/commit
x86: Initialize GDT entry 1 to be the 32-bit CS as well
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 03:19:09 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:25 +0000 (07:46 -0600)
commit19038e1bb629a365aaf971a65744e2f0e8866d62
tree2c9b02a3a1cdaf0d5e6243eef59eb2c13b482b30
parent1f124eba11cb1619e6d575770756230484e47bf7
x86: Initialize GDT entry 1 to be the 32-bit CS as well

Some OS (like VxWorks) requires GDT entry 1 to be the 32-bit CS.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Jian Luo <jian.luo4@boschrexroth.de>
arch/x86/cpu/cpu.c