1 | /* $Id: Intel_80286.h 93115 2022-01-01 11:31:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * CPU database entry "Intel 80286".
|
---|
4 | * Handcrafted.
|
---|
5 | */
|
---|
6 |
|
---|
7 | /*
|
---|
8 | * Copyright (C) 2013-2022 Oracle Corporation
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License (GPL) as published by the Free Software
|
---|
14 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | */
|
---|
18 |
|
---|
19 | #ifndef VBOX_CPUDB_Intel_80286_h
|
---|
20 | #define VBOX_CPUDB_Intel_80286_h
|
---|
21 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
22 | # pragma once
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | #ifndef CPUM_DB_STANDALONE
|
---|
26 | /**
|
---|
27 | * Fake CPUID leaves for Intel(R) 80286.
|
---|
28 | *
|
---|
29 | * We fake these to keep the CPUM ignorant of CPUs wihtout CPUID leaves
|
---|
30 | * and avoid having to seed CPUM::GuestFeatures filling with bits from the
|
---|
31 | * CPUMDBENTRY.
|
---|
32 | */
|
---|
33 | static CPUMCPUIDLEAF const g_aCpuIdLeaves_Intel_80286[] =
|
---|
34 | {
|
---|
35 | { 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x756e6547, 0x6c65746e, 0x49656e69, 0 },
|
---|
36 | { 0x00000001, 0x00000000, 0x00000000, 0x00000200, 0x00000100, 0x00000000, 0x00000000, 0 },
|
---|
37 | { 0x80000000, 0x00000000, 0x00000000, 0x80000008, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
38 | { 0x80000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
39 | { 0x80000002, 0x00000000, 0x00000000, 0x65746e49, 0x2952286c, 0x32303820, 0x20203638, 0 },
|
---|
40 | { 0x80000003, 0x00000000, 0x00000000, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0 },
|
---|
41 | { 0x80000004, 0x00000000, 0x00000000, 0x20202020, 0x20202020, 0x20202020, 0x20202020, 0 },
|
---|
42 | { 0x80000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
43 | { 0x80000006, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
44 | { 0x80000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
45 | { 0x80000008, 0x00000000, 0x00000000, 0x00001818, 0x00000000, 0x00000000, 0x00000000, 0 },
|
---|
46 | };
|
---|
47 | #endif /* !CPUM_DB_STANDALONE */
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * Database entry for Intel(R) 80286.
|
---|
51 | */
|
---|
52 | static CPUMDBENTRY const g_Entry_Intel_80286 =
|
---|
53 | {
|
---|
54 | /*.pszName = */ "Intel 80286",
|
---|
55 | /*.pszFullName = */ "Intel(R) 80286",
|
---|
56 | /*.enmVendor = */ CPUMCPUVENDOR_INTEL,
|
---|
57 | /*.uFamily = */ 2,
|
---|
58 | /*.uModel = */ 0,
|
---|
59 | /*.uStepping = */ 0,
|
---|
60 | /*.enmMicroarch = */ kCpumMicroarch_Intel_80286,
|
---|
61 | /*.uScalableBusFreq = */ CPUM_SBUSFREQ_UNKNOWN,
|
---|
62 | /*.fFlags = */ CPUMDB_F_EXECUTE_ALL_IN_IEM,
|
---|
63 | /*.cMaxPhysAddrWidth= */ 24,
|
---|
64 | /*.fMxCsrMask = */ 0,
|
---|
65 | /*.paCpuIdLeaves = */ NULL_ALONE(g_aCpuIdLeaves_Intel_80286),
|
---|
66 | /*.cCpuIdLeaves = */ ZERO_ALONE(RT_ELEMENTS(g_aCpuIdLeaves_Intel_80286)),
|
---|
67 | /*.enmUnknownCpuId = */ CPUMUNKNOWNCPUID_DEFAULTS,
|
---|
68 | /*.DefUnknownCpuId = */ { 0x00000000, 0x00000000, 0x00000000, 0x00000000 },
|
---|
69 | /*.fMsrMask = */ 0,
|
---|
70 | /*.cMsrRanges = */ 0,
|
---|
71 | /*.paMsrRanges = */ NULL,
|
---|
72 | };
|
---|
73 |
|
---|
74 | #endif /* !VBOX_CPUDB_Intel_80286_h */
|
---|
75 |
|
---|