Changeset 100000 in vbox for trunk/include/VBox/vmm
- Timestamp:
- May 30, 2023 6:09:42 AM (21 months ago)
- svn:sync-xref-src-repo-rev:
- 157667
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/tm.h
r98103 r100000 171 171 VMMDECL(uint64_t) TMCpuTicksPerSecond(PVMCC pVM); 172 172 VMM_INT_DECL(bool) TMCpuTickIsTicking(PVMCPUCC pVCpu); 173 174 #if defined(VBOX_VMM_TARGET_ARMV8) 175 VMM_INT_DECL(void) TMCpuSetVTimerNextActivation(PVMCPUCC pVCpu, uint64_t cNanoSecs); 176 VMM_INT_DECL(uint64_t) TMCpuGetVTimerActivationNano(PVMCPUCC pVCpu); 177 #endif 173 178 /** @} */ 174 179 -
trunk/include/VBox/vmm/vm.h
r99576 r100000 130 130 VMCPUSTATE volatile enmState; 131 131 132 #if defined(VBOX_VMM_TARGET_ARMV8) 133 uint32_t u32Alignment0; 134 /** The number of nano seconds when the vTimer of the associated vCPU is supposed to activate 135 * required to get out of a halt (due to wfi/wfe). 136 * 137 * @note This actually should go into TMCPU but this drags in a whole lot of padding changes 138 * and I'm not sure yet whether this will remain in this form anyway. 139 */ 140 uint64_t cNsVTimerActivate; 141 /** Padding up to 64 bytes. */ 142 uint8_t abAlignment0[64 - 12 - 8 - 4]; 143 #else 132 144 /** Padding up to 64 bytes. */ 133 145 uint8_t abAlignment0[64 - 12]; 146 #endif 134 147 /** @} */ 135 148 … … 517 530 #define VMCPU_FF_HM_UPDATE_CR3 RT_BIT_64(VMCPU_FF_HM_UPDATE_CR3_BIT) 518 531 #define VMCPU_FF_HM_UPDATE_CR3_BIT 12 532 #if defined(VBOX_VMM_TARGET_ARMV8) 533 # define VMCPU_FF_VTIMER_ACTIVATED RT_BIT_64(VMCPU_FF_VTIMER_ACTIVATED_BIT) 534 # define VMCPU_FF_VTIMER_ACTIVATED_BIT 13 535 #else 519 536 /* Bit 13 used to be VMCPU_FF_HM_UPDATE_PAE_PDPES. */ 537 #endif 520 538 /** This action forces the VM to resync the page tables before going 521 539 * back to execute guest code. (GLOBAL FLUSH) */ … … 593 611 # define VMCPU_FF_EXTERNAL_HALTED_MASK ( VMCPU_FF_INTERRUPT_IRQ | VMCPU_FF_INTERRUPT_FIQ \ 594 612 | VMCPU_FF_REQUEST | VMCPU_FF_INTERRUPT_NMI | VMCPU_FF_INTERRUPT_SMI \ 595 | VMCPU_FF_UNHALT | VMCPU_FF_TIMER | VMCPU_FF_DBGF ) 613 | VMCPU_FF_UNHALT | VMCPU_FF_TIMER | VMCPU_FF_DBGF \ 614 | VMCPU_FF_VTIMER_ACTIVATED) 596 615 #else 597 616 # define VMCPU_FF_EXTERNAL_HALTED_MASK ( VMCPU_FF_UPDATE_APIC | VMCPU_FF_INTERRUPT_APIC | VMCPU_FF_INTERRUPT_PIC \
Note:
See TracChangeset
for help on using the changeset viewer.