VirtualBox

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

Last change on this file since 103835 was 103290, checked in by vboxsync, 10 months ago

VMM/IEMAll-armv8.cpp: Always init pStats because the caller might access members unconditionally (harmless as this is never called right now), bugref:3409

  • 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 103290 2024-02-09 12:57:17Z vboxsync $ */
2/** @file
3 * IEM - Interpreted Execution Manager, ARMv8 specific things.
4 */
5
6/*
7 * Copyright (C) 2023 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
51VMMDECL(VBOXSTRICTRC) IEMExecForExits(PVMCPUCC pVCpu, uint32_t fWillExit, uint32_t cMinInstructions, uint32_t cMaxInstructions,
52 uint32_t cMaxInstructionsWithoutExits, PIEMEXECFOREXITSTATS pStats)
53{
54 AssertReleaseFailed();
55 RT_NOREF(pVCpu, fWillExit, cMinInstructions, cMaxInstructions, cMaxInstructionsWithoutExits);
56 RT_ZERO(*pStats);
57 return VERR_NOT_IMPLEMENTED;
58}
59
60
61VMMDECL(VBOXSTRICTRC) IEMExecLots(PVMCPUCC pVCpu, uint32_t cMaxInstructions, uint32_t cPollRate, uint32_t *pcInstructions)
62{
63 AssertReleaseFailed();
64 RT_NOREF(pVCpu, cMaxInstructions, cPollRate, pcInstructions);
65 return VERR_NOT_IMPLEMENTED;
66}
67
68
69VMMDECL(VBOXSTRICTRC) IEMExecOne(PVMCPUCC pVCpu)
70{
71 AssertReleaseFailed();
72 RT_NOREF(pVCpu);
73 return VERR_NOT_IMPLEMENTED;
74}
75
76
77VMMDECL(VBOXSTRICTRC) IEMExecOneWithPrefetchedByPC(PVMCPUCC pVCpu, uint64_t OpcodeBytesPC,
78 const void *pvOpcodeBytes, size_t cbOpcodeBytes)
79{
80 AssertReleaseFailed();
81 RT_NOREF(pVCpu, OpcodeBytesPC, pvOpcodeBytes, cbOpcodeBytes);
82 return VERR_NOT_IMPLEMENTED;
83}
84
85
86VMMDECL(VBOXSTRICTRC) IEMExecOneBypassEx(PVMCPUCC pVCpu, uint32_t *pcbWritten)
87{
88 AssertReleaseFailed();
89 RT_NOREF(pVCpu, pcbWritten);
90 return VERR_NOT_IMPLEMENTED;
91}
92
93
94VMMDECL(VBOXSTRICTRC) IEMExecOneBypassWithPrefetchedByPC(PVMCPUCC pVCpu, uint64_t OpcodeBytesPC,
95 const void *pvOpcodeBytes, size_t cbOpcodeBytes)
96{
97 AssertReleaseFailed();
98 RT_NOREF(pVCpu, OpcodeBytesPC, pvOpcodeBytes, cbOpcodeBytes);
99 return VERR_NOT_IMPLEMENTED;
100}
101
102
103VMMDECL(VBOXSTRICTRC) IEMInjectTrpmEvent(PVMCPUCC pVCpu)
104{
105 AssertReleaseFailed();
106 RT_NOREF(pVCpu);
107 return VERR_NOT_IMPLEMENTED;
108}
109
110
111VMM_INT_DECL(void) IEMTlbInvalidateAll(PVMCPUCC pVCpu)
112{
113 RT_NOREF(pVCpu);
114}
115
116
117VMM_INT_DECL(void) IEMTlbInvalidateAllPhysicalAllCpus(PVMCC pVM, VMCPUID idCpuCaller, IEMTLBPHYSFLUSHREASON enmReason)
118{
119 RT_NOREF(pVM, idCpuCaller, enmReason);
120}
121
122
123VMMR3_INT_DECL(VBOXSTRICTRC) IEMR3ProcessForceFlag(PVM pVM, PVMCPUCC pVCpu, VBOXSTRICTRC rcStrict)
124{
125 AssertReleaseFailed();
126 RT_NOREF(pVM, pVCpu, rcStrict);
127 return VERR_NOT_IMPLEMENTED;
128}
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