From f387591c768818960c6ab2333efea6c74e75960f Mon Sep 17 00:00:00 2001 From: bxing Date: Mon, 22 May 2006 02:33:37 +0000 Subject: 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 --- MdePkg/Library/BaseLib/x86Thunk.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'MdePkg/Library/BaseLib') diff --git a/MdePkg/Library/BaseLib/x86Thunk.c b/MdePkg/Library/BaseLib/x86Thunk.c index 7045924014..d4e37ae59e 100644 --- a/MdePkg/Library/BaseLib/x86Thunk.c +++ b/MdePkg/Library/BaseLib/x86Thunk.c @@ -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, -- cgit v1.2.3