Changeset 71774 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Apr 9, 2018 2:50:53 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121877
- Location:
- trunk/src/VBox/Devices/Bus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r70181 r71774 127 127 iDevice = (pGlobals->uConfigReg >> 8) & 0xff; 128 128 config_addr = (pGlobals->uConfigReg & 0xfc) | (addr & 3); 129 RT_UNTRUSTED_VALIDATED_FENCE(); /* paranoia */ 129 130 if (iBus != 0) 130 131 { … … 174 175 iDevice = (pGlobals->uConfigReg >> 8) & 0xff; 175 176 config_addr = (pGlobals->uConfigReg & 0xfc) | (addr & 3); 177 RT_UNTRUSTED_VALIDATED_FENCE(); 176 178 if (iBus != 0) 177 179 { -
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r71768 r71774 111 111 pPciAddr->iDeviceFunc = (GCPhysAddr >> 12) & ((1<<(5+3)) - 1); // 5 bits - device, 3 bits - function 112 112 pPciAddr->iRegister = (GCPhysAddr >> 0) & ((1<<(6+4+2)) - 1); // 6 bits - register, 4 bits - extended register, 2 bits -Byte Enable 113 RT_UNTRUSTED_VALIDATED_FENCE(); /* paranoia */ 113 114 } 114 115 … … 118 119 pPciAddr->iDeviceFunc = (pPciRoot->uConfigReg >> 8) & 0xff; 119 120 pPciAddr->iRegister = (pPciRoot->uConfigReg & 0xfc) | (addr & 3); 121 RT_UNTRUSTED_VALIDATED_FENCE(); /* paranoia */ 120 122 } 121 123 … … 689 691 * @remarks Caller enters the device critical section. 690 692 */ 691 PDMBOTHCBDECL(int) ich9pciMcfgMMIORead 693 PDMBOTHCBDECL(int) ich9pciMcfgMMIORead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb) 692 694 { 693 695 PDEVPCIROOT pPciRoot = PDMINS_2_DATA(pDevIns, PDEVPCIROOT);
Note:
See TracChangeset
for help on using the changeset viewer.