audk/MdePkg/Library/BaseLib
mdkinney be04587c86 Remove assumption that the transition code for transitioning from 64-bit to 32-bit mode is 64 bytes. Instead compute the size based on the implementation in the ASM file.
Update logic to align new 32-bit stack on a 4 byte boundary
Update logic to prevent one slot overlap between the transition code and the new stack.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10133 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 05:35:20 +00:00
..
Arm Clean up MdePkg source to correct some coding style issues, etc. 2010-01-27 03:25:28 +00:00
Ebc Fix file headers 2009-08-24 23:53:23 +00:00
Ia32 Disable interrupt when changing IDTR register. 2010-02-23 07:32:20 +00:00
Ipf Clean up MdePkg source to correct some coding style issues, etc. 2010-01-27 03:25:28 +00:00
X64 Remove assumption that the transition code for transitioning from 64-bit to 32-bit mode is 64 bytes. Instead compute the size based on the implementation in the ASM file. 2010-03-01 05:35:20 +00:00
ARShiftU64.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
BaseLib.inf 1. Correct File header to ## @file 2010-02-24 00:21:16 +00:00
BaseLibInternals.h Add ASSERT check for AsmFlushCacheRange(). 2009-06-04 14:29:12 +00:00
BitField.c Rename BaseLib internal functions by adding InternalBaseLib. 2009-07-23 01:43:04 +00:00
CheckSum.c Synchronize BaseLib h files to c files. 2008-12-11 02:59:41 +00:00
ChkStkGcc.c Clean up code according to code review. 2008-09-25 04:56:53 +00:00
Cpu.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
CpuDeadLoop.c Change style 0 == Index to Index == 0 2009-02-10 13:17:51 +00:00
DivS64x64Remainder.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
DivU64x32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
DivU64x32Remainder.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
DivU64x64Remainder.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
GetPowerOfTwo32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
GetPowerOfTwo64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
HighBitSet32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
HighBitSet64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
LRotU32.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
LRotU64.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
LShiftU64.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
LinkedList.c 1) Add new BaseLib API GetPreviousNode() 2009-11-21 21:57:11 +00:00
LongJump.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
LowBitSet32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
LowBitSet64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
Math64.c Synchronize BaseLib h files to c files. 2008-12-11 02:59:41 +00:00
ModU64x32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
MultS64x64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
MultU64x32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
MultU64x64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
RRotU32.c Synchronize comment of BaseLib.h and it's implementation to match the Spec. 2008-12-09 07:02:26 +00:00
RRotU64.c Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this functions. 2008-11-25 03:19:49 +00:00
RShiftU64.c clean up baselib according to review comments. 2008-09-24 05:30:40 +00:00
SetJump.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
String.c Fix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL terminated the final destination string when Length is equal to the length of Source string 2009-12-23 01:50:10 +00:00
SwapBytes16.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
SwapBytes32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
SwapBytes64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
SwitchStack.c Fix file headers 2009-08-24 23:53:23 +00:00
Unaligned.c Use #include "XXX.h" for module internal header files. 2008-10-31 04:32:02 +00:00
X86DisablePaging32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86DisablePaging64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86EnablePaging32.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86EnablePaging64.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86FxRestore.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86FxSave.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86GetInterruptState.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86MemoryFence.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86Msr.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86ReadGdtr.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86ReadIdtr.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86Thunk.c Update function comments for AsmPrepareThunk16, AsmThunk16, AsmPrepareAndThunk16 interface. These interfaces could be used in either physical mode or virtual modes with paging enabled where virtual to physical mappings for ThunkContext.RealModeBuffer is mapped to 1:1 2009-05-04 03:33:53 +00:00
X86WriteGdtr.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00
X86WriteIdtr.c Update copyright for files modified in this year 2008-12-29 14:07:07 +00:00