IN UINT32 Data\r
);\r
\r
-EFI_STATUS\r
-VmWriteMemN (\r
- IN VM_CONTEXT *VmPtr,\r
- UINTN Addr,\r
- IN UINTN Data\r
- );\r
-\r
-EFI_STATUS\r
-VmWriteMem64 (\r
- IN VM_CONTEXT *VmPtr,\r
- UINTN Addr,\r
- IN UINT64 Data\r
- );\r
-\r
STATIC\r
UINT16\r
VmReadCode16 (\r
UINT8 Operands;\r
VOID *EbcEntryPoint;\r
VOID *Thunk;\r
- EFI_STATUS Status;\r
UINT64 U64EbcEntryPoint;\r
INT32 Offset;\r
\r
//\r
// Now create a new thunk\r
//\r
- Status = EbcCreateThunks (VmPtr->ImageHandle, EbcEntryPoint, &Thunk, 0);\r
+ EbcCreateThunks (VmPtr->ImageHandle, EbcEntryPoint, &Thunk, 0);\r
\r
//\r
// Finally replace the EBC entry point memory with the thunk address\r
--*/\r
{\r
UINTN Data;\r
- UINT32 Size;\r
+ volatile UINT32 Size;\r
UINT8 *FromPtr;\r
UINT8 *ToPtr;\r
//\r