1. Change 0 == Length style to Length == 0
2. Clean BasePeCoff library instance, only keep one copy PeCoffLoaderEx.c file for IA32, X64 and IPF arch 3. Clean the confused comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5927 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -12,12 +12,14 @@
|
||||
|
||||
Module Name: ZeroMemWrapper.c
|
||||
|
||||
The following BaseMemoryLib instances share the same version of this file:
|
||||
The following BaseMemoryLib instances contain the same copy of this file:
|
||||
|
||||
BaseMemoryLib
|
||||
BaseMemoryLibMmx
|
||||
BaseMemoryLibSse2
|
||||
BaseMemoryLibRepStr
|
||||
BaseMemoryLibOptDxe
|
||||
BaseMemoryLibOptPei
|
||||
PeiMemoryLib
|
||||
DxeMemoryLib
|
||||
|
||||
@@ -45,7 +47,7 @@ ZeroMem (
|
||||
IN UINTN Length
|
||||
)
|
||||
{
|
||||
ASSERT (!(NULL == Buffer && Length > 0));
|
||||
ASSERT (!(Buffer == NULL && Length > 0));
|
||||
ASSERT (Length <= (MAX_ADDRESS - (UINTN)Buffer + 1));
|
||||
return InternalMemZeroMem (Buffer, Length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user