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