summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-08 01:42:01 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-08 01:42:01 +0000
commitc3d4e543f0c9e88ca2ad924827a2b663dfed5a5d (patch)
treed99be7d62828969bd32eccc082f26c0af6f1c91d /MdePkg
parentdaa6553a39c528210f7afc84f437716b60514c8b (diff)
downloadedk2-c3d4e543f0c9e88ca2ad924827a2b663dfed5a5d.zip
edk2-c3d4e543f0c9e88ca2ad924827a2b663dfed5a5d.tar.gz
edk2-c3d4e543f0c9e88ca2ad924827a2b663dfed5a5d.tar.bz2
Correct the unknown character and update ChangeLog.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6911 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/ChangeLog.txt6
-rw-r--r--MdePkg/Include/Base.h7
-rw-r--r--MdePkg/Include/Library/PrintLib.h6
3 files changed, 16 insertions, 3 deletions
diff --git a/MdePkg/ChangeLog.txt b/MdePkg/ChangeLog.txt
index ba0bed9..86cb910 100644
--- a/MdePkg/ChangeLog.txt
+++ b/MdePkg/ChangeLog.txt
@@ -237,3 +237,9 @@ Possible Impacts:
EFI_TIMER_PERIOD_MICROSECONDS(X), EFI_TIMER_PERIOD_MILLISECONDS(X) and EFI_TIMER_PERIOD_SECONDS(X) for managing Timer Events.
Especailly, EFI_SCSI_STALL_SECONDS(a) is simply replaced by EFI_TIMER_PERIOD_SECONDS(a)
+EDK_6886: Non-Compatible: mdkinney
+
+ Rename _CR macro in MdePkg\Include\Base.h to BASE_CR macro aligned to MdeLib spec.
+
+Possible Impacts:
+ All source codes that depends on _CR macro must be changed to use BASE_CR.
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index d1b6c82..b7b6569 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -223,6 +223,13 @@ struct _LIST_ENTRY {
// }
//
+/**
+ Return the size of argument that has been aligned to sizeof (UINTN).
+
+ @param n The parameter size is to be aligned.
+
+ @return The aligned size
+**/
#define _INT_SIZE_OF(n) ((sizeof (n) + sizeof (UINTN) - 1) &~(sizeof (UINTN) - 1))
///
diff --git a/MdePkg/Include/Library/PrintLib.h b/MdePkg/Include/Library/PrintLib.h
index 4797f53..1b3fa1e 100644
--- a/MdePkg/Include/Library/PrintLib.h
+++ b/MdePkg/Include/Library/PrintLib.h
@@ -72,11 +72,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
using this type too by making sure bits 8..15 of the argument are set to 0.
- x
- The argument is a hexadecimal number. The characters used are 0..9 and
- A..F. If the flag ‘L’ is not specified, then the argument is assumed
+ A..F. If the flag 'L' is not specified, then the argument is assumed
to be an int. This does not follow ANSI C.
- X
- The argument is a hexadecimal number and the number is padded with
- zeros. This is equivalent to a format string of “0x”. If the flag
+ zeros. This is equivalent to a format string of "0X". If the flag
'L' is not specified, then the argument is assumed to be an int.
This does not follow ANSI C.
- d
@@ -97,7 +97,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
This does not follow ANSI C.
- t
- The argument is a pointer to an EFI_TIME structure. The time and
- date are printed in the format “mm/dd/yyyy hh:mm”, where mm is the
+ date are printed in the format "mm/dd/yyyy hh:mm" where mm is the
month zero padded, dd is the day zero padded, yyyy is the year zero
padded, hh is the hour zero padded, and mm is minutes zero padded.
This does not follow ANSI C.