MemoryAllocationLib: For boundary case: “AllocationSize + OverAllocationSize >= 4G”
DxeMemoryAllocationLib: Change the behavior from returning NULL to ASSERT () PeiMemoryAllocationLib: Add ASSERT () I also add ASSERT () in Pei Service AllocatePool () to catch if allocation size > 64K DebugLib: Header file (DebugLib.h): Fix an issue in ASSERT_PROTOCOL_ALREADY_INSTALLED(Handle, Guid). In contrast with LocateProtocol (), the first & second parameter type of HandleProtocol () is EFI_HANDLE & EFI_GUID respectively. UefiLib: For UnicodeStringDisplayLength (CONST CHAR8 *String), return 0 if String is NULL. BasePrintLib: Add missing “EFIAPI” to UnicodeValueToString() and AsciiValueToString() and move their definitions from PrintLibInternal.c to PrintLib.c. Fix the comments error(Maximum Length TIME”) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@275 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
/// Maximum Length Decimal String = 28 "-9,223,372,036,854,775,808"
|
||||
/// Maximum Length Hexidecimal String = 17 "FFFFFFFFFFFFFFFF"
|
||||
/// Maximum Length GUID = 37 "00000000-0000-0000-0000-000000000000"
|
||||
/// Maximum Length TIME = 17 "12/12/2006 12:12"
|
||||
/// Maximum Length TIME = 18 "12/12/2006 12:12"
|
||||
///
|
||||
#define MAXIMUM_VALUE_CHARACTERS 38
|
||||
|
||||
@@ -85,3 +85,11 @@ BasePrintLibValueToString (
|
||||
IN UINTN Radix
|
||||
);
|
||||
|
||||
UINTN
|
||||
BasePrintLibConvertValueToString (
|
||||
IN OUT CHAR8 *Buffer,
|
||||
IN UINTN Flags,
|
||||
IN INT64 Value,
|
||||
IN UINTN Width,
|
||||
IN UINTN Increment
|
||||
);
|
||||
|
Reference in New Issue
Block a user