Changeset 67446 in vbox for trunk/src/VBox
- Timestamp:
- Jun 16, 2017 2:39:47 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/Platform.c
r67439 r67446 41 41 42 42 #ifdef VBOX 43 # define IN_RING0 44 # include "../../../../DevEFI.h" 43 # include "VBoxPkg.h" 44 # include "DevEFI.h" 45 # include "iprt/asm.h" 45 46 #endif 46 47 … … 76 77 UINT32 cbVar, offBuf; 77 78 78 IoWrite32(EFI_INFO_PORT, Variable);79 cbVar = IoRead32(EFI_INFO_PORT);79 ASMOutU32(EFI_INFO_PORT, Variable); 80 cbVar = ASMInU32(EFI_INFO_PORT); 80 81 81 82 for (offBuf = 0; offBuf < cbVar && offBuf < cbBuf; offBuf++) 82 pbBuf[offBuf] = IoRead8(EFI_INFO_PORT);83 pbBuf[offBuf] = ASMInU8(EFI_INFO_PORT); 83 84 84 85 return cbVar; -
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/PlatformPei.inf
r58459 r67446 42 42 UefiCpuPkg/UefiCpuPkg.dec 43 43 OvmfPkg/OvmfPkg.dec 44 VBoxPkg/VBoxPkg.dec # VBox specific so the code can find some necessary headers 44 45 45 46 [Guids]
Note:
See TracChangeset
for help on using the changeset viewer.