Changeset 99576 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 3, 2023 10:24:27 AM (20 months ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs-armv8.cpp
r99051 r99576 46 46 #include <VBox/vmm/hm.h> 47 47 #include <VBox/vmm/tm.h> 48 49 #include <iprt/armv8.h> 48 50 #include <iprt/assert.h> 49 51 #include <iprt/asm.h> … … 99 101 AssertReleaseFailed(); /** @todo Exception level. */ 100 102 return pVCpu->cpum.s.Guest.aSpReg[0].u64; 103 } 104 105 106 /** 107 * Returns whether IRQs are currently masked. 108 * 109 * @returns true if IRQs are masked as indicated by the PState value. 110 * @param pVCpu The cross context virtual CPU structure. 111 */ 112 VMMDECL(bool) CPUMGetGuestIrqMasked(PVMCPUCC pVCpu) 113 { 114 CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_PSTATE); 115 return RT_BOOL(pVCpu->cpum.s.Guest.fPState & ARMV8_SPSR_EL2_AARCH64_I); 116 } 117 118 119 /** 120 * Returns whether FIQs are currently masked. 121 * 122 * @returns true if FIQs are masked as indicated by the PState value. 123 * @param pVCpu The cross context virtual CPU structure. 124 */ 125 VMMDECL(bool) CPUMGetGuestFiqMasked(PVMCPUCC pVCpu) 126 { 127 CPUM_INT_ASSERT_NOT_EXTRN(pVCpu, CPUMCTX_EXTRN_PSTATE); 128 return RT_BOOL(pVCpu->cpum.s.Guest.fPState & ARMV8_SPSR_EL2_AARCH64_F); 101 129 } 102 130 -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r99051 r99576 46 46 47 47 48 48 #if !defined(VBOX_VMM_TARGET_ARMV8) 49 49 /** 50 50 * Gets the pending interrupt. … … 70 70 { 71 71 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INTERRUPT_APIC); 72 #if defined(VBOX_VMM_TARGET_ARMV8) 73 AssertReleaseFailed(); 74 #else 72 75 73 uint32_t uTagSrc; 76 74 rc = APICGetInterrupt(pVCpu, pu8Interrupt, &uTagSrc); … … 83 81 /* else if it's masked by TPR/PPR/whatever, go ahead checking the PIC. Such masked 84 82 interrupts shouldn't prevent ExtINT from being delivered. */ 85 #endif86 83 } 87 84 … … 121 118 return rc; 122 119 } 120 #endif 123 121 124 122
Note:
See TracChangeset
for help on using the changeset viewer.