Lines Matching refs:RealModeBuffer
108 ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); in AsmPrepareThunk16()
110 ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); in AsmPrepareThunk16()
112 CopyMem (ThunkContext->RealModeBuffer, &m16Start, m16Size); in AsmPrepareThunk16()
123 (UINTN)ThunkContext->RealModeBuffer + m16Gdt); in AsmPrepareThunk16()
129 (UINT32)(UINTN)ThunkContext->RealModeBuffer & ~0xf; in AsmPrepareThunk16()
131 (UINT32)(UINTN)ThunkContext->RealModeBuffer >> 16; in AsmPrepareThunk16()
136 *(UINT32*)((UINTN)ThunkContext->RealModeBuffer + mTransition) += in AsmPrepareThunk16()
137 (UINT32)(UINTN)ThunkContext->RealModeBuffer & 0xf; in AsmPrepareThunk16()
155 *(VOID**)((UINTN)ThunkContext->RealModeBuffer + m16GdtrBase) = RealModeGdt; in AsmPrepareThunk16()
160 *(UINT32*)((UINTN)ThunkContext->RealModeBuffer + mThunk16Attr) = in AsmPrepareThunk16()
226 ASSERT ((UINTN)ThunkContext->RealModeBuffer < 0x100000); in AsmThunk16()
228 ASSERT ((UINTN)ThunkContext->RealModeBuffer + m16Size <= 0x100000); in AsmThunk16()
234 ThunkContext->RealModeBuffer in AsmThunk16()