#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Copyright (c) 2006 - 2009, Intel Corporation\r
# All rights reserved. This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
\r
ASM_PFX(m16Size): .word ASM_PFX(InternalAsmThunk16) - ASM_PFX(m16Start)\r
ASM_PFX(mThunk16Attr): .word _ThunkAttr - ASM_PFX(m16Start)\r
-ASM_PFX(m16Gdt): .word _NullSeg - ASM_PFX(m16Start)\r
+ASM_PFX(m16Gdt): .word ASM_PFX(NullSeg) - ASM_PFX(m16Start)\r
ASM_PFX(m16GdtrBase): .word _16GdtrBase - ASM_PFX(m16Start)\r
ASM_PFX(mTransition): .word _EntryPoint - ASM_PFX(m16Start)\r
\r
_EntryPoint: .long ASM_PFX(ToUserCode) - ASM_PFX(m16Start)\r
.word CODE16\r
_16Gdtr: .word GDT_SIZE - 1\r
-_16GdtrBase: .quad _NullSeg\r
+_16GdtrBase: .quad ASM_PFX(NullSeg)\r
_16Idtr: .word 0x3ff\r
.long 0\r
\r
.byte 0x66 # make the following retf 32-bit\r
lret # transfer control to user code\r
\r
-.equ CODE16, ASM_PFX(16Code) - .\r
-.equ DATA16, ASM_PFX(16Data) - .\r
-.equ DATA32, ASM_PFX(32Data) - .\r
+.equ CODE16, ASM_PFX(_16Code) - .\r
+.equ DATA16, ASM_PFX(_16Data) - .\r
+.equ DATA32, ASM_PFX(_32Data) - .\r
\r
-_NullSeg: .quad 0\r
-ASM_PFX(16Code):\r
+ASM_PFX(NullSeg): .quad 0\r
+ASM_PFX(_16Code):\r
.word -1\r
.word 0\r
.byte 0\r
.byte 0x9b\r
.byte 0x8f # 16-bit segment, 4GB limit\r
.byte 0\r
-ASM_PFX(16Data):\r
+ASM_PFX(_16Data):\r
.word -1\r
.word 0\r
.byte 0\r
.byte 0x93\r
.byte 0x8f # 16-bit segment, 4GB limit\r
.byte 0\r
-ASM_PFX(32Data):\r
+ASM_PFX(_32Data):\r
.word -1\r
.word 0\r
.byte 0\r