Changeset 53252 in vbox for trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg
- Timestamp:
- Nov 6, 2014 12:57:32 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
r53251 r53252 14 14 15 15 #include "PciHostBridge.h" 16 #ifdef VBOX 17 # define IN_RING3 18 # include <iprt/asm-amd64-x86.h> 19 #endif 16 20 17 21 typedef struct { … … 1003 1007 case EfiPciWidthFifoUint8: 1004 1008 if (Write) 1005 IoWriteBuffer8((UINTN)Address, Buffer,Count);1009 ASMOutStrU8((RTIOPORT)Address, (const uint8_t*)Buffer, (size_t)Count); 1006 1010 else 1007 IoReadBuffer8((UINTN)Address, Buffer,Count);1011 ASMInStrU8((RTIOPORT)Address, (uint8_t*)Buffer, (size_t)Count); 1008 1012 break; 1009 1013 case EfiPciWidthFifoUint16: 1010 1014 if (Write) 1011 IoWriteBuffer16((UINTN)Address, Buffer,Count);1015 ASMOutStrU16((RTIOPORT)Address, (const uint16_t*)Buffer, (size_t)Count); 1012 1016 else 1013 IoReadBuffer16((UINTN)Address, Buffer,Count);1017 ASMInStrU16((RTIOPORT)Address, (uint16_t*)Buffer, (size_t)Count); 1014 1018 break; 1015 1019 case EfiPciWidthFifoUint32: 1016 1020 if (Write) 1017 IoWriteBuffer32((UINTN)Address, Buffer,Count);1021 ASMOutStrU32((RTIOPORT)Address, (const uint32_t*)Buffer, (size_t)Count); 1018 1022 else 1019 IoReadBuffer32((UINTN)Address, Buffer,Count);1023 ASMInStrU32((RTIOPORT)Address, (uint32_t*)Buffer, (size_t)Count); 1020 1024 break; 1021 1025 default:
Note:
See TracChangeset
for help on using the changeset viewer.