summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-22 02:33:37 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-22 02:33:37 +0000
commitf387591c768818960c6ab2333efea6c74e75960f (patch)
tree9d8c53fed3c284f110ce9ef6300a05464e29475f /MdePkg/Library/BaseLib
parente4c48f4ca5a10dc691ec7bce465ec82ad18fb286 (diff)
downloadedk2-platforms-f387591c768818960c6ab2333efea6c74e75960f.tar.xz
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
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r--MdePkg/Library/BaseLib/x86Thunk.c2
1 files changed, 0 insertions, 2 deletions
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,