Changeset 91238 in vbox
- Timestamp:
- Sep 14, 2021 8:45:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevACPI.cpp
r91083 r91238 25 25 #include <VBox/vmm/dbgftrace.h> 26 26 #include <VBox/vmm/vmcpuset.h> 27 #include <VBox/AssertGuest.h> 27 28 #include <VBox/log.h> 28 29 #include <VBox/param.h> … … 1472 1473 u32 >>= 2; 1473 1474 } 1474 A ssert(u32 < BAT_INDEX_LAST);1475 ASSERT_GUEST_MSG(u32 < BAT_INDEX_LAST, ("%#x\n", u32)); 1475 1476 pThis->uBatteryIndex = u32; 1476 1477 … … 1567 1568 u32 >>= 2; 1568 1569 1569 A ssertMsg(u32 < SYSTEM_INFO_INDEX_END, ("%u - Max=%u. IndexShift=%u\n", u32, SYSTEM_INFO_INDEX_END, pThis->u8IndexShift));1570 ASSERT_GUEST_MSG(u32 < SYSTEM_INFO_INDEX_END, ("%u - Max=%u. IndexShift=%u\n", u32, SYSTEM_INFO_INDEX_END, pThis->u8IndexShift)); 1570 1571 pThis->uSystemInfoIndex = u32; 1571 1572 } … … 1775 1776 default: 1776 1777 *pu32 = UINT32_MAX; 1777 rc = PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "cb=%d offPort=%u idx=%u\n", cb, offPort, pThis->uBatteryIndex);1778 rc = PDMDevHlpDBGFStop(pDevIns, RT_SRC_POS, "cb=%d offPort=%u idx=%u\n", cb, offPort, uSystemInfoIndex); 1778 1779 break; 1779 1780 } … … 3972 3973 for (uint8_t i = 0; i < pThis->cCustTbls; i++) 3973 3974 { 3974 Assert (i < MAX_CUST_TABLES);3975 AssertBreak(i < MAX_CUST_TABLES); 3975 3976 acpiR3PhysCopy(pDevIns, aGCPhysCust[i] + addend, pThisCC->apu8CustBin[i], pThisCC->acbCustBin[i]); 3976 3977 aGCPhysRsdt[iCust + i] = aGCPhysCust[i] + addend; … … 4687 4688 4688 4689 pThis->cCustTbls++; 4689 Assert (pThis->cCustTbls <= MAX_CUST_TABLES);4690 AssertBreak(pThis->cCustTbls <= MAX_CUST_TABLES); 4690 4691 } 4691 4692 }
Note:
See TracChangeset
for help on using the changeset viewer.