- Timestamp:
- Oct 22, 2009 3:31:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r23986 r23993 2402 2402 lapicDumpVec(dev, lapic, pHlp, 0x100); 2403 2403 val = get_highest_priority_int(lapic->isr); 2404 pHlp->pfnPrintf(pHlp, " highest = %02X\n", val == ~0 ? 0 : val);2404 pHlp->pfnPrintf(pHlp, " highest = %02X\n", val == ~0U ? 0 : val); 2405 2405 pHlp->pfnPrintf(pHlp, " IRR : "); 2406 2406 lapicDumpVec(dev, lapic, pHlp, 0x200); 2407 2407 val = get_highest_priority_int(lapic->irr); 2408 pHlp->pfnPrintf(pHlp, " highest = %02X\n", val == ~0 ? 0 : val);2408 pHlp->pfnPrintf(pHlp, " highest = %02X\n", val == ~0U ? 0 : val); 2409 2409 val = apic_mem_readl(dev, lapic, 0x320); 2410 2410 } … … 2414 2414 { 2415 2415 uint32_t val; 2416 static c har*dmodes[] = { "Fixed ", "Reserved", "SMI", "Reserved",2417 "NMI", "INIT", "Reserved", "ExtINT" };2416 static const char *dmodes[] = { "Fixed ", "Reserved", "SMI", "Reserved", 2417 "NMI", "INIT", "Reserved", "ExtINT" }; 2418 2418 2419 2419 val = apic_mem_readl(dev, lapic, 0x320); … … 2983 2983 for (i = 0; i <= max_redir; ++i) 2984 2984 { 2985 static c har *dmodes[] = { "Fixed ", "LowPri", "SMI ", "Resrvd",2986 "NMI ", "INIT ", "Resrvd", "ExtINT" };2985 static const char *dmodes[] = { "Fixed ", "LowPri", "SMI ", "Resrvd", 2986 "NMI ", "INIT ", "Resrvd", "ExtINT" }; 2987 2987 2988 2988 pHlp->pfnPrintf(pHlp, " %02d %s %02X %d %s %d %s %s %s %3d (%016llX)\n",
Note:
See TracChangeset
for help on using the changeset viewer.