Searched defs:pPciAddr (Results 1 - 1 of 1) sorted by relevance
/vbox/src/VBox/Devices/Bus/ |
H A D | DevPciIch9.cpp | 185 DECLINLINE(void) ich9pciPhysToPciAddr(PICH9PCIGLOBALS pGlobals, RTGCPHYS GCPhysAddr, PciAddress* pPciAddr) argument 188 pPciAddr->iBus = (GCPhysAddr >> 20) & ((1<<6) - 1); 189 pPciAddr->iDeviceFunc = (GCPhysAddr >> 12) & ((1<<(5+3)) - 1); // 5 bits - device, 3 bits - function 190 pPciAddr->iRegister = (GCPhysAddr >> 0) & ((1<<(6+4+2)) - 1); // 6 bits - register, 4 bits - extended register, 2 bits -Byte Enable 193 DECLINLINE(void) ich9pciStateToPciAddr(PICH9PCIGLOBALS pGlobals, RTGCPHYS addr, PciAddress* pPciAddr) argument 195 pPciAddr->iBus = (pGlobals->uConfigReg >> 16) & 0xff; 196 pPciAddr->iDeviceFunc = (pGlobals->uConfigReg >> 8) & 0xff; 197 pPciAddr->iRegister = (pGlobals->uConfigReg & 0xfc) | (addr & 3); 423 static int ich9pciDataReadAddr(PICH9PCIGLOBALS pGlobals, PciAddress* pPciAddr, int cb, argument 431 if (pPciAddr [all...] |
Completed in 34 milliseconds