diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-30 23:38:40 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-30 23:38:40 +0000 |
commit | 2ff79f2eda16f8219140d3dae188d2b341f610e1 (patch) | |
tree | 693b0c0223c7f3a312f292a3a5ba9eff0def4dbe /UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S | |
parent | e23a349aaec2ba7fd4218c6dabaf42da0aa9aa8e (diff) | |
download | edk2-2ff79f2eda16f8219140d3dae188d2b341f610e1.tar.gz edk2-2ff79f2eda16f8219140d3dae188d2b341f610e1.tar.bz2 edk2-2ff79f2eda16f8219140d3dae188d2b341f610e1.zip |
Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator. Cleaned up POSIX include situation by centralizing it in a single file, like NT32. Fixed TPL issue with TPL High not being emulated correctly, it was possible to take a timer tick when the locks in the DXE core should have prevented this. Remove some unused files to make things easier to maintain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11105 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S')
-rw-r--r-- | UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S b/UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S index 3a84b0d22f..fd7ba6e717 100644 --- a/UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S +++ b/UnixPkg/Library/UnixBaseLib/X64/SwitchStack.S @@ -40,12 +40,9 @@ ASM_PFX(InternalSwitchStack): movq %rcx, %rax
movq %rdx, %rcx
movq %r8, %rdx
- movq %r9, %rsp
-
#
# Reserve space for register parameters (rcx, rdx, r8 & r9) on the stack,
# in case the callee wishes to spill them.
#
- subq $40, %rsp // 32-byte shadow space plus alignment pad
-
+ lea -0x20(%r9), %rsp
call *%rax
|