MdePkg BaseLib NASM Thunk16: Initialize _16GdtrBase to 0
Previously we were setting it to the start of the GDT in the UEFI driver's copy of BaseLib. This address is irrelavent, since the C code will initialize it to the cooresponding address after the Thunk16 code has been placed in low memory. Additionally, initializing this was causing a link error for the XCLANG toolchain. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16025 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -145,7 +145,7 @@ _EntryPoint:
|
||||
_16Gdtr:
|
||||
DW GDT_SIZE - 1
|
||||
_16GdtrBase:
|
||||
DQ _NullSeg
|
||||
DQ 0
|
||||
_16Idtr:
|
||||
DW (1 << 10) - 1
|
||||
DD 0
|
||||
|
Reference in New Issue
Block a user