Changeset 105687 in vbox for trunk/src/VBox/VMM/VMMAll/GICAll.cpp
- Timestamp:
- Aug 15, 2024 12:45:46 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/GICAll.cpp
r104386 r105687 1215 1215 /** @todo r=aeichner There must be another way to do this better, maybe create some callback interface 1216 1216 * the GIC can register. */ 1217 #ifdef RT_OS_LINUX 1218 # ifdef IN_RING3 1219 if (pGic->fKvmGic) 1220 return GICR3KvmSpiSet(pVM, uIntId, fAsserted); 1221 # else 1222 # error "Impossible to call the KVM in-kernel GIC from this context!" 1223 # endif 1217 #ifdef IN_RING3 1218 if (pGic->fNemGic) 1219 return GICR3NemSpiSet(pVM, uIntId, fAsserted); 1220 #else 1221 # error "Impossible to call the NEM in-kernel GIC from this context!" 1224 1222 #endif 1225 1223 … … 1259 1257 /** @todo r=aeichner There must be another way to do this better, maybe create some callback interface 1260 1258 * the GIC can register. */ 1261 #ifdef RT_OS_LINUX 1262 # ifdef IN_RING3 1259 #ifdef IN_RING3 1263 1260 PGIC pGic = VM_TO_GIC(pVCpu->pVMR3); 1264 if (pGic->fKvmGic) 1265 return GICR3KvmPpiSet(pVCpu, uIntId, fAsserted); 1266 # else 1267 # error "Impossible to call the KVM in-kernel GIC from this context!" 1268 # endif 1261 if (pGic->fNemGic) 1262 return GICR3NemPpiSet(pVCpu, uIntId, fAsserted); 1263 #else 1264 # error "Impossible to call the NEM in-kernel GIC from this context!" 1269 1265 #endif 1270 1266
Note:
See TracChangeset
for help on using the changeset viewer.