VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMR3/cpus/Intel_80486.h

Last change on this file was 98103, checked in by vboxsync, 16 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
RevLine 
[60411]1/* $Id: Intel_80486.h 98103 2023-01-17 14:15:46Z vboxsync $ */
2/** @file
[70399]3 * CPU database entry "Intel 80486".
[60411]4 * Handcrafted.
5 */
6
7/*
[98103]8 * Copyright (C) 2013-2023 Oracle and/or its affiliates.
[60411]9 *
[96407]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
[60411]27 */
28
[76561]29#ifndef VBOX_CPUDB_Intel_80486_h
30#define VBOX_CPUDB_Intel_80486_h
[76543]31#ifndef RT_WITHOUT_PRAGMA_ONCE
32# pragma once
33#endif
[60411]34
35#ifndef CPUM_DB_STANDALONE
36/**
[70399]37 * Fake CPUID leaves for Intel(R) 80486(DX2).
[60411]38 *
[70399]39 * The extended leaves are fake to make CPUM happy.
[60411]40 */
[70399]41static CPUMCPUIDLEAF const g_aCpuIdLeaves_Intel_80486[] =
[60411]42{
43 { 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x756e6547, 0x6c65746e, 0x49656e69, 0 },
[70399]44 { 0x00000001, 0x00000000, 0x00000000, 0x00000430, 0x00000100, 0x00000000, 0x00000111, 0 },
[60411]45 { 0x80000000, 0x00000000, 0x00000000, 0x80000008, 0x00000000, 0x00000000, 0x00000000, 0 },
46 { 0x80000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
[70399]47 { 0x80000002, 0x00000000, 0x00000000, 0x65746e49, 0x2952286c, 0x34303820, 0x58443638, 0 },
48 { 0x80000003, 0x00000000, 0x00000000, 0x20202032, 0x20202020, 0x20202020, 0x20202020, 0 },
[60411]49 { 0x80000004, 0x00000000, 0x00000000, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0 },
50 { 0x80000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
51 { 0x80000006, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
52 { 0x80000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
[70399]53 { 0x80000008, 0x00000000, 0x00000000, 0x00002020, 0x00000000, 0x00000000, 0x00000000, 0 },
[60411]54};
55#endif /* !CPUM_DB_STANDALONE */
56
57/**
[70399]58 * Database entry for Intel(R) 80486.
[60411]59 */
[70399]60static CPUMDBENTRY const g_Entry_Intel_80486 =
[60411]61{
[70399]62 /*.pszName = */ "Intel 80486",
63 /*.pszFullName = */ "Intel(R) 80486DX2",
[60411]64 /*.enmVendor = */ CPUMCPUVENDOR_INTEL,
[70399]65 /*.uFamily = */ 4,
66 /*.uModel = */ 3,
[60411]67 /*.uStepping = */ 0,
[70399]68 /*.enmMicroarch = */ kCpumMicroarch_Intel_80486,
[60411]69 /*.uScalableBusFreq = */ CPUM_SBUSFREQ_UNKNOWN,
[70399]70 /*.fFlags = */ 0,
71 /*.cMaxPhysAddrWidth= */ 32,
[66403]72 /*.fMxCsrMask = */ 0,
[70399]73 /*.paCpuIdLeaves = */ NULL_ALONE(g_aCpuIdLeaves_Intel_80486),
74 /*.cCpuIdLeaves = */ ZERO_ALONE(RT_ELEMENTS(g_aCpuIdLeaves_Intel_80486)),
[60411]75 /*.enmUnknownCpuId = */ CPUMUNKNOWNCPUID_DEFAULTS,
76 /*.DefUnknownCpuId = */ { 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
77 /*.fMsrMask = */ 0,
78 /*.cMsrRanges = */ 0,
79 /*.paMsrRanges = */ NULL,
80};
81
[76585]82#endif /* !VBOX_CPUDB_Intel_80486_h */
[60411]83
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use