From c3d4e543f0c9e88ca2ad924827a2b663dfed5a5d Mon Sep 17 00:00:00 2001 From: lgao4 Date: Mon, 8 Dec 2008 01:42:01 +0000 Subject: [PATCH] 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 --- MdePkg/ChangeLog.txt | 6 ++++++ MdePkg/Include/Base.h | 7 +++++++ MdePkg/Include/Library/PrintLib.h | 6 +++--- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/MdePkg/ChangeLog.txt b/MdePkg/ChangeLog.txt index ba0bed9759..86cb910fb3 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 d1b6c82f6d..b7b6569787 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 4797f53611..1b3fa1e2ad 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. -- 2.39.2