diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-08 03:40:50 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-08 03:40:50 +0000 |
commit | 5053cf7f4c800a71f9aa301072197e94390bcb37 (patch) | |
tree | 5ffeb6703c9b501b04da3bdbe2fd52adbc638bc6 /MdePkg/Library/BaseMemoryLibOptDxe/Ia32 | |
parent | 14e2aca20dd91858d1b31631abfd514e85934cfb (diff) | |
download | edk2-platforms-5053cf7f4c800a71f9aa301072197e94390bcb37.tar.xz |
1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
2) Add BaseMemoryLibOptXXX in MdePkg.dsc.
3) Clean up the MdeModulePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4286 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibOptDxe/Ia32')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S index 406a8f8d1a..c46fde6439 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S @@ -37,15 +37,15 @@ _InternalMemSetMem: push %edi movl 12(%esp),%ecx - movl 16(%esp),%al + movb 16(%esp),%al movb %ah, %al
- shrd %edx, %eax, $16
- shld %eax, %edx, $16
+ shrd $16, %eax, %edx + shld $16, %edx, %eax movl %edx, %ecx
movl 8(%esp),%edi - shr $2, %ecx
+ shrd $2, %ecx, %ecx
rep
- stosd
+ stosl
movl %ecx, %edx
andl $3, %ecx
rep |