diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-22 02:33:37 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-22 02:33:37 +0000 |
commit | f387591c768818960c6ab2333efea6c74e75960f (patch) | |
tree | 9d8c53fed3c284f110ce9ef6300a05464e29475f /MdePkg | |
parent | e4c48f4ca5a10dc691ec7bce465ec82ad18fb286 (diff) | |
download | edk2-f387591c768818960c6ab2333efea6c74e75960f.zip edk2-f387591c768818960c6ab2333efea6c74e75960f.tar.gz edk2-f387591c768818960c6ab2333efea6c74e75960f.tar.bz2 |
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')
-rw-r--r-- | MdePkg/Library/BaseLib/x86Thunk.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/x86Thunk.c b/MdePkg/Library/BaseLib/x86Thunk.c index 7045924..d4e37ae 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,
|