VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMR3/cpus/ARM_Apple_M1.h@ 109008

Last change on this file since 109008 was 109008, checked in by vboxsync, 5 days ago

VMM,Main: Working on ARM CPU profile support, which is neede/useful for getting info about the host CPU as well. The CPUDBENTRY typedef is used externally by Main, so we can't have two definitions of it, so left the bits that are common to both x86 and ARM in CPUDBENTRY and created sub-structures for each of the two targets/platforms. Also started reworking the VBoxCpuReport tool so we can use it on arm as well (much left to do there, though). jiraref:VBP-1598

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/* $Id: ARM_Apple_M1.h 109008 2025-04-16 20:59:36Z vboxsync $ */
2/** @file
3 * CPU database entry "Apple M1".
4 * Handcrafted placeholder.
5 */
6
7/*
8 * Copyright (C) 2025 Oracle and/or its affiliates.
9 *
10 * This file is part of VirtualBox base platform packages, as
11 * available from https://www.virtualbox.org.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation, in version 3 of the
16 * License.
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, see <https://www.gnu.org/licenses>.
25 *
26 * SPDX-License-Identifier: GPL-3.0-only
27 */
28
29#ifndef VBOX_CPUDB_ARM_Apple_M1_h
30#define VBOX_CPUDB_ARM_Apple_M1_h
31#ifndef RT_WITHOUT_PRAGMA_ONCE
32# pragma once
33#endif
34
35/**
36 * Database entry for Apple M1
37 */
38static CPUMDBENTRYARM const g_Entry_ARM_Apple_M1 =
39{
40 {
41 /*.pszName = */ "Apple M1",
42 /*.pszFullName = */ "Apple M1",
43 /*.enmVendor = */ CPUMCPUVENDOR_APPLE,
44 /*.enmMicroarch = */ kCpumMicroarch_Apple_M1,
45 /*.fFlags = */ 0,
46 /*.enmEntryType = */ CPUMDBENTRYTYPE_ARM,
47 },
48 0 /** @todo */
49};
50
51#endif /* !VBOX_CPUDB_ARM_Apple_M1_h */
52
Note: See TracBrowser for help on using the repository browser.

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