arch/x86: Relocate GDT in verstage, romstage, and postcar

In each stage keep GDT in the code region. This accommodates
platforms, such as glk, that are executing out of CAR. The
gdt is small and loading it is trivial so just do it unconditionally
instead of introducing another Kconfig.


Change-Id: I01ded6e9b358b23e04d92bef5263bfe8c2a5ec5a
Signed-off-by: Hannah Williams <>
Signed-off-by: Aaron Durbin <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: Furquan Shaikh <>
Reviewed-by: Justin TerAvest <>
5 files changed