VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMAll/IEMAll-armv8.cpp@ 108186

Last change on this file since 108186 was 108186, checked in by vboxsync, 9 days ago

VMM/IEM: Removed memory write stats since nobody is using the anymore (consumer was PATM); mark APIs as internal where possible. jiraref:VBP-1431

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1/* $Id: IEMAll-armv8.cpp 108186 2025-02-12 15:35:15Z vboxsync $ */
2/** @file
3 * IEM - Interpreted Execution Manager, ARMv8 specific things.
4 */
5
6/*
7 * Copyright (C) 2023-2024 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * SPDX-License-Identifier: GPL-3.0-only
26 */
27
28
29/*********************************************************************************************************************************
30* Header Files *
31*********************************************************************************************************************************/
32#define LOG_GROUP LOG_GROUP_EM
33#include <VBox/vmm/iem.h>
34#include <VBox/vmm/cpum.h>
35#include <VBox/vmm/dbgf.h>
36#include <VBox/vmm/mm.h>
37#include "IEMInternal-armv8.h"
38#include <VBox/vmm/vm.h>
39#include <VBox/vmm/vmapi.h>
40
41#include <iprt/assert.h>
42#include <iprt/errcore.h>
43#include <iprt/getopt.h>
44#include <iprt/string.h>
45
46
47/*********************************************************************************************************************************
48* Internal Functions *
49*********************************************************************************************************************************/
50
51VMM_INT_DECL(VBOXSTRICTRC)
52IEMExecForExits(PVMCPUCC pVCpu, uint32_t fWillExit, uint32_t cMinInstructions, uint32_t cMaxInstructions,
53 uint32_t cMaxInstructionsWithoutExits, PIEMEXECFOREXITSTATS pStats)
54{
55 AssertReleaseFailed();
56 RT_NOREF(pVCpu, fWillExit, cMinInstructions, cMaxInstructions, cMaxInstructionsWithoutExits);
57 RT_ZERO(*pStats);
58 return VERR_NOT_IMPLEMENTED;
59}
60
61
62VMM_INT_DECL(VBOXSTRICTRC) IEMExecLots(PVMCPUCC pVCpu, uint32_t cMaxInstructions, uint32_t cPollRate, uint32_t *pcInstructions)
63{
64 AssertReleaseFailed();
65 RT_NOREF(pVCpu, cMaxInstructions, cPollRate, pcInstructions);
66 return VERR_NOT_IMPLEMENTED;
67}
68
69
70VMM_INT_DECL(VBOXSTRICTRC) IEMExecOne(PVMCPUCC pVCpu)
71{
72 AssertReleaseFailed();
73 RT_NOREF(pVCpu);
74 return VERR_NOT_IMPLEMENTED;
75}
76
77
78VMM_INT_DECL(VBOXSTRICTRC) IEMExecOneWithPrefetchedByPC(PVMCPUCC pVCpu, uint64_t OpcodeBytesPC,
79 const void *pvOpcodeBytes, size_t cbOpcodeBytes)
80{
81 AssertReleaseFailed();
82 RT_NOREF(pVCpu, OpcodeBytesPC, pvOpcodeBytes, cbOpcodeBytes);
83 return VERR_NOT_IMPLEMENTED;
84}
85
86
87VMM_INT_DECL(VBOXSTRICTRC) IEMExecOneBypass(PVMCPUCC pVCpu)
88{
89 AssertReleaseFailed();
90 RT_NOREF(pVCpu);
91 return VERR_NOT_IMPLEMENTED;
92}
93
94
95VMM_INT_DECL(VBOXSTRICTRC) IEMExecOneBypassWithPrefetchedByPC(PVMCPUCC pVCpu, uint64_t OpcodeBytesPC,
96 const void *pvOpcodeBytes, size_t cbOpcodeBytes)
97{
98 AssertReleaseFailed();
99 RT_NOREF(pVCpu, OpcodeBytesPC, pvOpcodeBytes, cbOpcodeBytes);
100 return VERR_NOT_IMPLEMENTED;
101}
102
103
104VMM_INT_DECL(VBOXSTRICTRC) IEMInjectTrpmEvent(PVMCPUCC pVCpu)
105{
106 AssertReleaseFailed();
107 RT_NOREF(pVCpu);
108 return VERR_NOT_IMPLEMENTED;
109}
110
111
112VMM_INT_DECL(void) IEMTlbInvalidateAll(PVMCPUCC pVCpu)
113{
114 RT_NOREF(pVCpu);
115}
116
117
118VMM_INT_DECL(void) IEMTlbInvalidateAllGlobal(PVMCPUCC pVCpu)
119{
120 RT_NOREF(pVCpu);
121}
122
123
124VMM_INT_DECL(void) IEMTlbInvalidateAllPhysicalAllCpus(PVMCC pVM, VMCPUID idCpuCaller, IEMTLBPHYSFLUSHREASON enmReason)
125{
126 RT_NOREF(pVM, idCpuCaller, enmReason);
127}
128
129
130VMMR3_INT_DECL(VBOXSTRICTRC) IEMR3ProcessForceFlag(PVM pVM, PVMCPUCC pVCpu, VBOXSTRICTRC rcStrict)
131{
132 AssertReleaseFailed();
133 RT_NOREF(pVM, pVCpu, rcStrict);
134 return VERR_NOT_IMPLEMENTED;
135}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette