1 | /* $Id: DevPcBios.h 93115 2022-01-01 11:31:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * DevPcBios - PC BIOS Device, header shared with the BIOS code.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2022 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef VBOX_INCLUDED_SRC_PC_DevPcBios_h
|
---|
19 | #define VBOX_INCLUDED_SRC_PC_DevPcBios_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | /** @def VBOX_DMI_TABLE_BASE */
|
---|
25 | #define VBOX_DMI_TABLE_BASE 0xe1000
|
---|
26 | #define VBOX_DMI_TABLE_VER 0x25
|
---|
27 |
|
---|
28 | /** def VBOX_DMI_TABLE_SIZE
|
---|
29 | *
|
---|
30 | * The size should be at least 16-byte aligned for a proper alignment of
|
---|
31 | * the MPS table.
|
---|
32 | */
|
---|
33 | #define VBOX_DMI_TABLE_SIZE 768
|
---|
34 |
|
---|
35 | /** def VBOX_DMI_TABLE_SIZE
|
---|
36 | *
|
---|
37 | * The size should be at least 16-byte aligned for a proper alignment of
|
---|
38 | * the MPS table.
|
---|
39 | */
|
---|
40 | #define VBOX_DMI_HDR_SIZE 32
|
---|
41 |
|
---|
42 | /** @def VBOX_LANBOOT_SEG
|
---|
43 | *
|
---|
44 | * Should usually start right after the DMI BIOS page
|
---|
45 | */
|
---|
46 | #define VBOX_LANBOOT_SEG 0xe200
|
---|
47 |
|
---|
48 | #define VBOX_SMBIOS_MAJOR_VER 2
|
---|
49 | #define VBOX_SMBIOS_MINOR_VER 5
|
---|
50 | #define VBOX_SMBIOS_MAXSS 0xff /* Not very accurate */
|
---|
51 |
|
---|
52 | #endif /* !VBOX_INCLUDED_SRC_PC_DevPcBios_h */
|
---|