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:
bxing 2006-05-22 02:33:37 +00:00
parent e4c48f4ca5
commit f387591c76
1 changed files with 0 additions and 2 deletions

View File

@ -121,7 +121,6 @@ AsmPrepareThunk16 (
ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000);
ASSERT (ThunkContext->RealModeBufferSize >= m16Size); ASSERT (ThunkContext->RealModeBufferSize >= m16Size);
ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000);
ASSERT (((UINTN)ThunkContext->RealModeBuffer & 0x0f) == 0);
CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size); CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size);
@ -201,7 +200,6 @@ AsmThunk16 (
ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000);
ASSERT (ThunkContext->RealModeBufferSize >= m16Size); ASSERT (ThunkContext->RealModeBufferSize >= m16Size);
ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000);
ASSERT (((UINTN)ThunkContext->RealModeBuffer & 0x0f) == 0);
UpdatedRegs = InternalAsmThunk16 ( UpdatedRegs = InternalAsmThunk16 (
ThunkContext->RealModeState, ThunkContext->RealModeState,