mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
Removed unnecessary ASSERT condition (assertion of real mode buffers' alignment)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@225 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e4c48f4ca5
commit
f387591c76
@ -121,7 +121,6 @@ AsmPrepareThunk16 (
|
||||
ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000);
|
||||
ASSERT (ThunkContext->RealModeBufferSize >= m16Size);
|
||||
ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000);
|
||||
ASSERT (((UINTN)ThunkContext->RealModeBuffer & 0x0f) == 0);
|
||||
|
||||
CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size);
|
||||
|
||||
@ -201,7 +200,6 @@ AsmThunk16 (
|
||||
ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000);
|
||||
ASSERT (ThunkContext->RealModeBufferSize >= m16Size);
|
||||
ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000);
|
||||
ASSERT (((UINTN)ThunkContext->RealModeBuffer & 0x0f) == 0);
|
||||
|
||||
UpdatedRegs = InternalAsmThunk16 (
|
||||
ThunkContext->RealModeState,
|
||||
|
Loading…
x
Reference in New Issue
Block a user