1 | /* $Id: DevPcBios.h 98103 2023-01-17 14:15:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * DevPcBios - PC BIOS Device, header shared with the BIOS code.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-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 | #ifndef VBOX_INCLUDED_SRC_PC_DevPcBios_h
|
---|
29 | #define VBOX_INCLUDED_SRC_PC_DevPcBios_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | /** @def VBOX_DMI_TABLE_BASE */
|
---|
35 | #define VBOX_DMI_TABLE_BASE 0xe1000
|
---|
36 | #define VBOX_DMI_TABLE_VER 0x25
|
---|
37 |
|
---|
38 | /** def VBOX_DMI_TABLE_SIZE
|
---|
39 | *
|
---|
40 | * The size should be at least 16-byte aligned for a proper alignment of
|
---|
41 | * the MPS table.
|
---|
42 | */
|
---|
43 | #define VBOX_DMI_TABLE_SIZE 768
|
---|
44 |
|
---|
45 | /** def VBOX_DMI_TABLE_SIZE
|
---|
46 | *
|
---|
47 | * The size should be at least 16-byte aligned for a proper alignment of
|
---|
48 | * the MPS table.
|
---|
49 | */
|
---|
50 | #define VBOX_DMI_HDR_SIZE 32
|
---|
51 |
|
---|
52 | /** @def VBOX_LANBOOT_SEG
|
---|
53 | *
|
---|
54 | * Should usually start right after the DMI BIOS page
|
---|
55 | */
|
---|
56 | #define VBOX_LANBOOT_SEG 0xe200
|
---|
57 |
|
---|
58 | #define VBOX_SMBIOS_MAJOR_VER 2
|
---|
59 | #define VBOX_SMBIOS_MINOR_VER 5
|
---|
60 | #define VBOX_SMBIOS_MAXSS 0xff /* Not very accurate */
|
---|
61 |
|
---|
62 | #endif /* !VBOX_INCLUDED_SRC_PC_DevPcBios_h */
|
---|