mirror of https://github.com/acidanthera/audk.git
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@520 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
508daae71b
commit
1ee3e26b94
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SetMem (
|
|||
IN UINT8 Value
|
||||
)
|
||||
{
|
||||
ASSERT (Size <= MAX_ADDRESS - (UINTN)Buffer + 1);
|
||||
if (Size == 0) {
|
||||
return Buffer;
|
||||
}
|
||||
ASSERT (Size - 1 <= MAX_ADDRESS - (UINTN)Buffer);
|
||||
return InternalMemSetMem (Buffer, Size, Value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue