summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 10:37:49 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 10:37:49 +0000
commit28c73f6ef7fc6cb1803d80761002ec2a7330d833 (patch)
tree66ab216f4494736fa66fee52642177ad968a705a /EdkModulePkg/Universal
parentdf569f61e3806ec8dbeef9c89123f5b223720c07 (diff)
downloadedk2-28c73f6ef7fc6cb1803d80761002ec2a7330d833.zip
edk2-28c73f6ef7fc6cb1803d80761002ec2a7330d833.tar.gz
edk2-28c73f6ef7fc6cb1803d80761002ec2a7330d833.tar.bz2
PciLib:
For PciRead/WriteBuffer(): A fix to handle boundary cases when Size is 0; DevicePathLib: For FileDevicePath(): Change to use AppendDevicePath () in place of AppendDevicePathNode(). PrintLib: For type %p, according to current MWG, it should ignore flag 0, +, space, l, & L Misc: Fix a bug in EBC interpreter for Ia32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@796 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/Ebc/Dxe/Ia32/Ia32Math.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/Ebc/Dxe/Ia32/Ia32Math.asm b/EdkModulePkg/Universal/Ebc/Dxe/Ia32/Ia32Math.asm
index 4c91a27..1d0bd2f 100644
--- a/EdkModulePkg/Universal/Ebc/Dxe/Ia32/Ia32Math.asm
+++ b/EdkModulePkg/Universal/Ebc/Dxe/Ia32/Ia32Math.asm
@@ -134,8 +134,8 @@ _RightShiftU64_Calc:
mov eax, dword ptr Operand[0]
mov edx, dword ptr Operand[4]
- shrd edx, eax, cl
- shr eax, cl
+ shrd eax, edx, cl
+ shr edx, cl
cmp ecx, 32
jc short _RightShiftU64_Done