edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/(Ia32|X64)/*.S:

Fix to support building with GCC and ECP's EdkIIGlueLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5294 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-05-26 21:59:52 +00:00
parent 297c148b7a
commit 8ad319e5c1
96 changed files with 215 additions and 28 deletions

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathARShiftU64) .globl ASM_PFX(InternalMathARShiftU64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -20,6 +20,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(CpuBreakpoint) .globl ASM_PFX(CpuBreakpoint)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmCpuid) .globl ASM_PFX(AsmCpuid)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.686: .686:
.code: .code:

View File

@ -20,6 +20,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(CpuPause) .globl ASM_PFX(CpuPause)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -20,6 +20,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(CpuSleep) .globl ASM_PFX(CpuSleep)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(DisableInterrupts) .globl ASM_PFX(DisableInterrupts)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86DisablePaging32) .globl ASM_PFX(InternalX86DisablePaging32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathDivU64x32) .globl ASM_PFX(InternalMathDivU64x32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathDivRemU64x32) .globl ASM_PFX(InternalMathDivRemU64x32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -20,6 +20,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64) .globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(EnableDisableInterrupts) .globl ASM_PFX(EnableDisableInterrupts)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(EnableInterrupts) .globl ASM_PFX(EnableInterrupts)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86EnablePaging32) .globl ASM_PFX(InternalX86EnablePaging32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86EnablePaging64) .globl ASM_PFX(InternalX86EnablePaging64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmFlushCacheLine) .globl ASM_PFX(AsmFlushCacheLine)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86FxRestore) .globl ASM_PFX(InternalX86FxRestore)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86FxSave) .globl ASM_PFX(InternalX86FxSave)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalSyncCompareExchange32) .globl ASM_PFX(InternalSyncCompareExchange32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalSyncCompareExchange64) .globl ASM_PFX(InternalSyncCompareExchange64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalSyncDecrement) .globl ASM_PFX(InternalSyncDecrement)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalSyncIncrement) .globl ASM_PFX(InternalSyncIncrement)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmInvd) .globl ASM_PFX(AsmInvd)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathLRotU64) .globl ASM_PFX(InternalMathLRotU64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathLShiftU64) .globl ASM_PFX(InternalMathLShiftU64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalLongJump) .globl ASM_PFX(InternalLongJump)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathModU64x32) .globl ASM_PFX(InternalMathModU64x32)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmMonitor) .globl ASM_PFX(AsmMonitor)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.386: .386:
.code: .code:

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathMultU64x64) .globl ASM_PFX(InternalMathMultU64x64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmMwait) .globl ASM_PFX(AsmMwait)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalMathRRotU64) .globl ASM_PFX(InternalMathRRotU64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.686: .686:
.code: .code:

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadCr0) .globl ASM_PFX(AsmReadCr0)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadCr2) .globl ASM_PFX(AsmReadCr2)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadCr3) .globl ASM_PFX(AsmReadCr3)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadCr4) .globl ASM_PFX(AsmReadCr4)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadCs) .globl ASM_PFX(AsmReadCs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr0) .globl ASM_PFX(AsmReadDr0)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr1) .globl ASM_PFX(AsmReadDr1)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr2) .globl ASM_PFX(AsmReadDr2)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr3) .globl ASM_PFX(AsmReadDr3)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr4) .globl ASM_PFX(AsmReadDr4)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr5) .globl ASM_PFX(AsmReadDr5)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr6) .globl ASM_PFX(AsmReadDr6)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDr7) .globl ASM_PFX(AsmReadDr7)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadDs) .globl ASM_PFX(AsmReadDs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadEflags) .globl ASM_PFX(AsmReadEflags)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadEs) .globl ASM_PFX(AsmReadEs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadFs) .globl ASM_PFX(AsmReadFs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86ReadGdtr) .globl ASM_PFX(InternalX86ReadGdtr)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadGs) .globl ASM_PFX(AsmReadGs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(InternalX86ReadIdtr) .globl ASM_PFX(InternalX86ReadIdtr)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadLdtr) .globl ASM_PFX(AsmReadLdtr)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm0) .globl ASM_PFX(AsmReadMm0)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm1) .globl ASM_PFX(AsmReadMm1)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm2) .globl ASM_PFX(AsmReadMm2)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm3) .globl ASM_PFX(AsmReadMm3)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm4) .globl ASM_PFX(AsmReadMm4)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm5) .globl ASM_PFX(AsmReadMm5)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm6) .globl ASM_PFX(AsmReadMm6)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMm7) .globl ASM_PFX(AsmReadMm7)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadMsr64) .globl ASM_PFX(AsmReadMsr64)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadPmc) .globl ASM_PFX(AsmReadPmc)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadSs) .globl ASM_PFX(AsmReadSs)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadTr) .globl ASM_PFX(AsmReadTr)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(AsmReadTsc) .globl ASM_PFX(AsmReadTsc)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -19,6 +19,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
.globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer) .globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINT64 # UINT64

View File

@ -19,7 +19,7 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <Library/BaseLib.h> #include <EdkIIGlueBase.h>
.globl ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition) .globl ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition)
.globl ASM_PFX(InternalAsmThunk16) .globl ASM_PFX(InternalAsmThunk16)

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINTN # UINTN
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# VOID # VOID
# EFIAPI # EFIAPI

View File

@ -21,6 +21,8 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# UINT64 # UINT64
# EFIAPI # EFIAPI

View File

@ -18,35 +18,34 @@
# Real mode thunk # Real mode thunk
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
#include <EdkIIGlueBase.h>
#include <Library/BaseLib.h> .globl ASM_PFX(m16Start)
.globl ASM_PFX(m16Size)
.globl ASM_PFX(mThunk16Attr)
.globl ASM_PFX(m16Gdt)
.globl ASM_PFX(m16GdtrBase)
.globl ASM_PFX(mTransition)
.globl ASM_PFX(InternalAsmThunk16)
.globl ASM_PFX(m16Start) # define the structure of IA32_REGS
.globl ASM_PFX(m16Size) .equ _EDI, 0 #size 4
.globl ASM_PFX(mThunk16Attr) .equ _ESI, 4 #size 4
.globl ASM_PFX(m16Gdt) .equ _EBP, 8 #size 4
.globl ASM_PFX(m16GdtrBase) .equ _ESP, 12 #size 4
.globl ASM_PFX(mTransition) .equ _EBX, 16 #size 4
.globl ASM_PFX(InternalAsmThunk16) .equ _EDX, 20 #size 4
.equ _ECX, 24 #size 4
# define the structure of IA32_REGS .equ _EAX, 28 #size 4
.equ _EDI, 0 #size 4 .equ _DS, 32 #size 2
.equ _ESI, 4 #size 4 .equ _ES, 34 #size 2
.equ _EBP, 8 #size 4 .equ _FS, 36 #size 2
.equ _ESP, 12 #size 4 .equ _GS, 38 #size 2
.equ _EBX, 16 #size 4 .equ _EFLAGS, 40 #size 8
.equ _EDX, 20 #size 4 .equ _EIP, 48 #size 4
.equ _ECX, 24 #size 4 .equ _CS, 52 #size 2
.equ _EAX, 28 #size 4 .equ _SS, 54 #size 2
.equ _DS, 32 #size 2 .equ IA32_REGS_SIZE, 56
.equ _ES, 34 #size 2
.equ _FS, 36 #size 2
.equ _GS, 38 #size 2
.equ _EFLAGS, 40 #size 8
.equ _EIP, 48 #size 4
.equ _CS, 52 #size 2
.equ _SS, 54 #size 2
.equ IA32_REGS_SIZE, 56
.data .data