Revision: 14497
http://sourceforge.net/p/edk2/code/14497
Author: lgao4
Date: 2013-07-22 06:41:52 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
Correctly character in comments of BaseLib BitField.
Signed-off-by: Liming Gao <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Library/BaseLib/BitField.c
Modified: trunk/edk2/MdePkg/Library/BaseLib/BitField.c
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/BitField.c 2013-07-22 06:35:48 UTC
(rev 14496)
+++ trunk/edk2/MdePkg/Library/BaseLib/BitField.c 2013-07-22 06:41:52 UTC
(rev 14497)
@@ -71,8 +71,8 @@
//
// Higher bits in OrData those are not used must be zero.
//
- // EndBit \x96 StartBit + 1 might be 32 while the result right shifting 32
on a 32bit integer is undefined,
- // So the logic is updated to right shift (EndBit \x96 StartBit) bits and
compare the last bit directly.
+ // EndBit - StartBit + 1 might be 32 while the result right shifting 32 on a
32bit integer is undefined,
+ // So the logic is updated to right shift (EndBit - StartBit) bits and
compare the last bit directly.
//
ASSERT ((OrData >> (EndBit - StartBit)) == ((OrData >> (EndBit - StartBit))
& 1));
@@ -113,8 +113,8 @@
//
// Higher bits in AndData those are not used must be zero.
//
- // EndBit \x96 StartBit + 1 might be 32 while the result right shifting 32
on a 32bit integer is undefined,
- // So the logic is updated to right shift (EndBit \x96 StartBit) bits and
compare the last bit directly.
+ // EndBit - StartBit + 1 might be 32 while the result right shifting 32 on a
32bit integer is undefined,
+ // So the logic is updated to right shift (EndBit - StartBit) bits and
compare the last bit directly.
//
ASSERT ((AndData >> (EndBit - StartBit)) == ((AndData >> (EndBit -
StartBit)) & 1));
@@ -811,8 +811,8 @@
//
// Higher bits in OrData those are not used must be zero.
//
- // EndBit \x96 StartBit + 1 might be 64 while the result right shifting 64
on RShiftU64() API is invalid,
- // So the logic is updated to right shift (EndBit \x96 StartBit) bits and
compare the last bit directly.
+ // EndBit - StartBit + 1 might be 64 while the result right shifting 64 on
RShiftU64() API is invalid,
+ // So the logic is updated to right shift (EndBit - StartBit) bits and
compare the last bit directly.
//
ASSERT (RShiftU64 (OrData, EndBit - StartBit) == (RShiftU64 (OrData, EndBit
- StartBit) & 1));
@@ -863,8 +863,8 @@
//
// Higher bits in AndData those are not used must be zero.
//
- // EndBit \x96 StartBit + 1 might be 64 while the right shifting 64 on
RShiftU64() API is invalid,
- // So the logic is updated to right shift (EndBit \x96 StartBit) bits and
compare the last bit directly.
+ // EndBit - StartBit + 1 might be 64 while the right shifting 64 on
RShiftU64() API is invalid,
+ // So the logic is updated to right shift (EndBit - StartBit) bits and
compare the last bit directly.
//
ASSERT (RShiftU64 (AndData, EndBit - StartBit) == (RShiftU64 (AndData,
EndBit - StartBit) & 1));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits