Changeset 100117 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 8, 2023 12:39:40 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin-armv8.cpp
r100108 r100117 1005 1005 #endif 1006 1006 1007 RT_NOREF(pVM);1008 1007 VBOXSTRICTRC rcStrict = VINF_SUCCESS; 1009 1008 if (u16Imm == 0) … … 1023 1022 break; 1024 1023 case ARM_PSCI_FUNC_ID_SYSTEM_OFF: 1025 rcStrict = V INF_EM_OFF;1024 rcStrict = VMR3PowerOff(pVM->pUVM); 1026 1025 break; 1027 1026 case ARM_PSCI_FUNC_ID_SYSTEM_RESET: 1028 rcStrict = VINF_EM_RESET; 1027 case ARM_PSCI_FUNC_ID_SYSTEM_RESET2: 1028 { 1029 bool fHaltOnReset; 1030 int rc = CFGMR3QueryBool(CFGMR3GetChild(CFGMR3GetRoot(pVM), "PDM"), "HaltOnReset", &fHaltOnReset); 1031 if (RT_SUCCESS(rc) && fHaltOnReset) 1032 { 1033 Log(("nemR3DarwinHandleExitExceptionTrappedHvcInsn: Halt On Reset!\n")); 1034 rc = VINF_EM_HALT; 1035 } 1036 else 1037 { 1038 /** @todo pVM->pdm.s.fResetFlags = fFlags; */ 1039 VM_FF_SET(pVM, VM_FF_RESET); 1040 rc = VINF_EM_RESET; 1041 } 1029 1042 break; 1043 } 1030 1044 case ARM_PSCI_FUNC_ID_CPU_ON: 1031 1045 {
Note:
See TracChangeset
for help on using the changeset viewer.