Changeset 82041 in vbox
- Timestamp:
- Nov 20, 2019 6:58:22 PM (5 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r81958 r82041 1405 1405 /* .uReserved0 = */ 0, 1406 1406 /* .szName = */ "ioapic", 1407 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE, 1407 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE 1408 | PDM_DEVREG_FLAGS_REQUIRE_R0 | PDM_DEVREG_FLAGS_REQUIRE_RC, 1408 1409 /* .fClass = */ PDM_DEVREG_CLASS_PIC, 1409 1410 /* .cMaxInstances = */ 1, -
trunk/src/VBox/Devices/PC/DevPIC.cpp
r81924 r82041 1031 1031 /* .uReserved0 = */ 0, 1032 1032 /* .szName = */ "i8259", 1033 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE, 1033 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE 1034 | PDM_DEVREG_FLAGS_REQUIRE_R0 | PDM_DEVREG_FLAGS_REQUIRE_RC, 1034 1035 /* .fClass = */ PDM_DEVREG_CLASS_PIC, 1035 1036 /* .cMaxInstances = */ 1, -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r82039 r82041 3533 3533 /* .uReserved0 = */ 0, 3534 3534 /* .szName = */ "apic", 3535 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE, 3535 /* .fFlags = */ PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RZ | PDM_DEVREG_FLAGS_NEW_STYLE 3536 | PDM_DEVREG_FLAGS_REQUIRE_R0 | PDM_DEVREG_FLAGS_REQUIRE_RC, 3536 3537 /* .fClass = */ PDM_DEVREG_CLASS_PIC, 3537 3538 /* .cMaxInstances = */ 1, -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r81948 r82041 131 131 132 132 int rc = VERR_PDM_NO_PIC_INSTANCE; 133 /** @todo r=bird: This code is incorrect, as it ASSUMES the PIC and I/O APIC 134 * are always ring-0 enabled! */ 133 135 if (pVM->pdm.s.Pic.CTX_SUFF(pDevIns)) 134 136 { … … 241 243 VMM_INT_DECL(bool) PDMHasIoApic(PVM pVM) 242 244 { 243 return pVM->pdm.s.IoApic. CTX_SUFF(pDevIns)!= NULL;245 return pVM->pdm.s.IoApic.pDevInsR3 != NULL; 244 246 } 245 247 … … 253 255 VMM_INT_DECL(bool) PDMHasApic(PVM pVM) 254 256 { 255 return pVM->pdm.s.Apic. CTX_SUFF(pDevIns) != NULL;257 return pVM->pdm.s.Apic.pDevInsR3 != NIL_RTR3PTR; 256 258 } 257 259
Note:
See TracChangeset
for help on using the changeset viewer.