summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibMmx
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-12 09:23:28 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-12 09:23:28 +0000
commitdb8f40e294c3ab4a8079619da71b6e41dea8044a (patch)
tree4a79d8f4d7267c2b3de1a86fec7b5547049203ff /MdePkg/Library/BaseMemoryLibMmx
parent7867eb23e85d12ee494bb0a70cfb34fe55a2671c (diff)
downloadedk2-db8f40e294c3ab4a8079619da71b6e41dea8044a.tar.gz
edk2-db8f40e294c3ab4a8079619da71b6e41dea8044a.tar.bz2
edk2-db8f40e294c3ab4a8079619da71b6e41dea8044a.zip
1. Added '#pragma pack' directive in BaseLib.h for the structure IA32_DESCRIPTOR
2. Updated SetMem64.asm's to remove any SSE3 instructions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@901 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx')
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.asm b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.asm
index b607608505..310f418d0c 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.asm
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.asm
@@ -34,14 +34,14 @@
; IN UINT64 Value
; )
;------------------------------------------------------------------------------
-InternalMemSetMem64 PROC USES edi
- movq mm0, [esp + 16]
- mov ecx, [esp + 12]
- mov edi, [esp + 8]
- mov eax, edi
+InternalMemSetMem64 PROC
+ mov eax, [esp + 4]
+ mov ecx, [esp + 8]
+ movq mm0, [esp + 12]
+ mov edx, eax
@@:
- movntq [edi], mm0
- add edi, 8
+ movntq [edx], mm0
+ add edx, 8
loop @B
mfence
ret