Changeset 108493 in vbox for trunk/src/VBox/VMM/VMMAll/GICAll.cpp
- Timestamp:
- Mar 10, 2025 12:04:23 PM (6 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167881
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/GICAll.cpp
r108492 r108493 2306 2306 { 2307 2307 case GIC_DIST_REG_CTLR_OFF: 2308 Assert(pGicDev->fAffRoutingEnabled); /* We don't support GICv2 backwards compatibility, so ARE bit must be set. */2308 Assert(pGicDev->fAffRoutingEnabled); 2309 2309 *puValue = (pGicDev->fIntrGroup0Enabled ? GIC_DIST_REG_CTRL_ENABLE_GRP0 : 0) 2310 2310 | (pGicDev->fIntrGroup1Enabled ? GIC_DIST_REG_CTRL_ENABLE_GRP1_NS : 0) 2311 | GIC_DIST_REG_CTRL_DS 2312 | (pGicDev->fAffRoutingEnabled ? GIC_DIST_REG_CTRL_ARE_S : 0);2311 | GIC_DIST_REG_CTRL_DS /* We don't support multiple security states. */ 2312 | GIC_DIST_REG_CTRL_ARE_S; /* We don't support GICv2 backwards compatibility, ARE is always enabled. */ 2313 2313 break; 2314 2314 case GIC_DIST_REG_TYPER_OFF: … … 2319 2319 | GIC_DIST_REG_TYPER_NUM_PES_SET(0) /* Affinity routing is always enabled, hence this MBZ. */ 2320 2320 /*| GIC_DIST_REG_TYPER_NMI*/ /** @todo Support non-maskable interrupts */ 2321 /*| GIC_DIST_REG_TYPER_SECURITY_EXTN *//** @todo Support dual security states. */2321 /*| GIC_DIST_REG_TYPER_SECURITY_EXTN*/ /** @todo Support dual security states. */ 2322 2322 | (pGicDev->fMbi ? GIC_DIST_REG_TYPER_MBIS : 0) 2323 /*| GIC_DIST_REG_TYPER_LPIS *//** @todo Support LPIs */2323 /*| GIC_DIST_REG_TYPER_LPIS*/ /** @todo Support LPIs */ 2324 2324 | (pGicDev->fRangeSel ? GIC_DIST_REG_TYPER_RSS : 0) 2325 2325 | GIC_DIST_REG_TYPER_IDBITS_SET(16) /* We only support 16-bit interrupt IDs. */ … … 2383 2383 } 2384 2384 #endif 2385 case GIC_DIST_REG_ITARGETSRn_OFF_START: /* Only 32 lines for now. */2385 case GIC_DIST_REG_ITARGETSRn_OFF_START: 2386 2386 AssertReleaseFailed(); 2387 2387 break; … … 2391 2391 break; 2392 2392 #endif 2393 case GIC_DIST_REG_IGRPMODRn_OFF_START: /* Only 32 lines for now. */2394 AssertReleaseFailed(); 2395 break; 2396 case GIC_DIST_REG_NSACRn_OFF_START: /* Only 32 lines for now. */2393 case GIC_DIST_REG_IGRPMODRn_OFF_START: 2394 AssertReleaseFailed(); 2395 break; 2396 case GIC_DIST_REG_NSACRn_OFF_START: 2397 2397 AssertReleaseFailed(); 2398 2398 break; … … 2726 2726 } 2727 2727 #endif 2728 case GIC_DIST_REG_ITARGETSRn_OFF_START: /* Only 32 lines for now. */2728 case GIC_DIST_REG_ITARGETSRn_OFF_START: 2729 2729 AssertReleaseFailed(); 2730 2730 break; … … 2737 2737 break; 2738 2738 #endif 2739 case GIC_DIST_REG_IGRPMODRn_OFF_START: /* Only 32 lines for now. */2740 AssertReleaseFailed(); 2741 break; 2742 case GIC_DIST_REG_NSACRn_OFF_START: /* Only 32 lines for now. */2739 case GIC_DIST_REG_IGRPMODRn_OFF_START: 2740 AssertReleaseFailed(); 2741 break; 2742 case GIC_DIST_REG_NSACRn_OFF_START: 2743 2743 AssertReleaseFailed(); 2744 2744 break;
Note:
See TracChangeset
for help on using the changeset viewer.