Changeset 39091 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Oct 24, 2011 1:58:22 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 74523
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r37526 r39091 948 948 { 949 949 ACPIState *pThis = (ACPIState *)pvUser; 950 Assert(TMTimerIsLockOwner(pThis->pPmTimerR3)); 950 Assert(TMTimerIsLockOwner(pTimer)); 951 NOREF(pDevIns); 951 952 952 953 DEVACPI_LOCK_R3(pThis); … … 957 958 DEVACPI_UNLOCK(pThis); 958 959 959 acpiPmTimerReset(pThis, TMTimerGet(pT his->pPmTimerR3));960 acpiPmTimerReset(pThis, TMTimerGet(pTimer)); 960 961 } 961 962 … … 1409 1410 PDMBOTHCBDECL(int) acpiPm1aEnRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb) 1410 1411 { 1412 NOREF(pDevIns); NOREF(Port); 1411 1413 if (cb != 2) 1412 1414 return VERR_IOM_IOPORT_UNUSED; … … 1601 1603 } 1602 1604 1605 NOREF(pvUser); NOREF(Port); 1603 1606 return rc; 1604 1607 } … … 1714 1717 { 1715 1718 Log(("acpiResetWrite: %#x\n", u32)); 1719 NOREF(pvUser); 1716 1720 if (cb != 1) 1717 1721 return PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "cb=%d Port=%u u32=%#x\n", cb, Port, u32); … … 1734 1738 PDMBOTHCBDECL(int) acpiDhexWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb) 1735 1739 { 1740 NOREF(pvUser); 1736 1741 switch (cb) 1737 1742 { … … 1755 1760 PDMBOTHCBDECL(int) acpiDchrWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb) 1756 1761 { 1762 NOREF(pvUser); 1757 1763 switch (cb) 1758 1764 { … … 2770 2776 ACPIState *pThis = PDMINS_2_DATA(pDevIns, ACPIState *); 2771 2777 pThis->pPmTimerRC = TMTimerRCPtr(pThis->pPmTimerR3); 2778 NOREF(offDelta); 2772 2779 } 2773 2780 -
trunk/src/VBox/Devices/PC/DevHPET.cpp
r37636 r39091 865 865 HpetState *pThis = PDMINS_2_DATA(pDevIns, HpetState*); 866 866 uint32_t const idxReg = (uint32_t)(GCPhysAddr - HPET_BASE); 867 NOREF(pvUser); 867 868 868 869 LogFlow(("hpetMMIORead (%d): %llx (%x)\n", cb, (uint64_t)GCPhysAddr, idxReg)); … … 955 956 LogFlow(("hpetMMIOWrite: cb=%u reg=%03x (%RGp) val=%llx\n", 956 957 cb, idxReg, GCPhysAddr, cb == 4 ? *(uint32_t *)pv : cb == 8 ? *(uint64_t *)pv : 0xdeadbeef)); 958 NOREF(pvUser); 957 959 958 960 int rc; … … 1122 1124 { 1123 1125 HpetState *pThis = PDMINS_2_DATA(pDevIns, HpetState *); 1126 NOREF(pszArgs); 1124 1127 1125 1128 pHlp->pfnPrintf(pHlp, … … 1154 1157 { 1155 1158 HpetState *pThis = PDMINS_2_DATA(pDevIns, HpetState *); 1159 NOREF(uPass); 1156 1160 1157 1161 SSMR3PutU8(pSSM, HPET_CAP_GET_TIMERS(pThis->u32Capabilities)); … … 1278 1282 HpetState *pThis = PDMINS_2_DATA(pDevIns, HpetState *); 1279 1283 LogFlow(("hpetRelocate:\n")); 1284 NOREF(offDelta); 1280 1285 1281 1286 pThis->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); -
trunk/src/VBox/Devices/PC/DevPIC.cpp
r38921 r39091 730 730 return VINF_SUCCESS; 731 731 } 732 NOREF(Port); 732 733 return VERR_IOM_IOPORT_UNUSED; 733 734 } … … 753 754 PIC_UNLOCK(PDMINS_2_DATA(pDevIns, PDEVPIC)); 754 755 } 756 NOREF(Port); 755 757 return VINF_SUCCESS; 756 758 } … … 769 771 { 770 772 PDEVPIC pThis = PDMINS_2_DATA(pDevIns, PDEVPIC); 773 NOREF(pszArgs); 771 774 772 775 /* 773 776 * Show info. 774 777 */ 775 for (int i=0;i<2;i++) 776 { 777 PicState *pPic; 778 779 pPic = &pThis->aPics[i]; 778 for (int i = 0; i < 2; i++) 779 { 780 PicState *pPic = &pThis->aPics[i]; 781 780 782 pHlp->pfnPrintf(pHlp, "PIC%d:\n", i); 781 783 pHlp->pfnPrintf(pHlp, " IMR :%02x ISR :%02x IRR :%02x LIRR:%02x\n", … … 984 986 985 987 /* 986 * Since the PIC helper interface provides access to the PDM lock, 987 * we need no device level critical section. 988 * Since the PIC helper interface provides access to the PDM lock, 989 * we need no device level critical section. 988 990 */ 989 991 rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns));
Note:
See TracChangeset
for help on using the changeset viewer.