- 時間撮記:
- 2019-10-30 下午02:14:10 (5 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Serial/DevOxPcie958.cpp
r81514 r81591 216 216 { 217 217 RT_NOREF(pUart); 218 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);218 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 219 219 220 220 if (iLvl) … … 238 238 PDMBOTHCBDECL(int) ox958MmioRead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb) 239 239 { 240 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);240 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 241 241 uint32_t offReg = (GCPhysAddr - pThis->GCPhysMMIO); 242 242 int rc = VINF_SUCCESS; … … 308 308 PDMBOTHCBDECL(int) ox958MmioWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void const *pv, unsigned cb) 309 309 { 310 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);310 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 311 311 uint32_t offReg = (GCPhysAddr - pThis->GCPhysMMIO); 312 312 int rc = VINF_SUCCESS; … … 367 367 RTGCPHYS GCPhysAddress, RTGCPHYS cb, PCIADDRESSSPACE enmType) 368 368 { 369 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);369 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 370 370 int rc = VINF_SUCCESS; 371 371 RT_NOREF(pPciDev, enmType); … … 409 409 static DECLCALLBACK(void) ox958R3Detach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) 410 410 { 411 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);411 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 412 412 AssertReturnVoid(iLUN >= pThis->cUarts); 413 413 … … 421 421 static DECLCALLBACK(int) ox958R3Attach(PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags) 422 422 { 423 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);423 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 424 424 425 425 RT_NOREF(fFlags); … … 435 435 static DECLCALLBACK(void) ox958R3Reset(PPDMDEVINS pDevIns) 436 436 { 437 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);437 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 438 438 439 439 pThis->u32RegIrqStsGlob = 0x00; … … 449 449 static DECLCALLBACK(void) ox958R3Relocate(PPDMDEVINS pDevIns, RTGCINTPTR offDelta) 450 450 { 451 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);451 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 452 452 RT_NOREF(offDelta); 453 453 … … 461 461 static DECLCALLBACK(int) ox958R3Destruct(PPDMDEVINS pDevIns) 462 462 { 463 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);463 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 464 464 PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns); 465 465 … … 475 475 { 476 476 RT_NOREF(iInstance); 477 PDEVOX958 pThis = PDM INS_2_DATA(pDevIns, PDEVOX958);477 PDEVOX958 pThis = PDMDEVINS_2_DATA(pDevIns, PDEVOX958); 478 478 bool fRCEnabled = true; 479 479 bool fR0Enabled = true;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器