1 | /* $Id: DevPcBios.h 26728 2010-02-24 10:22:51Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * DevPcBios - PC BIOS Device, header shared with the BIOS code.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
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 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | * additional information or have any questions.
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef DEV_PCBIOS_H
|
---|
23 | #define DEV_PCBIOS_H
|
---|
24 |
|
---|
25 | /** @def VBOX_DMI_TABLE_BASE */
|
---|
26 | #define VBOX_DMI_TABLE_BASE 0xe1000
|
---|
27 | #define VBOX_DMI_TABLE_VER 0x25
|
---|
28 | #define VBOX_DMI_TABLE_ENTR 5
|
---|
29 |
|
---|
30 | /** def VBOX_DMI_TABLE_SIZE
|
---|
31 | *
|
---|
32 | * Must not be bigger than the minimal size of the DMI tables + 255 because
|
---|
33 | * the length field of the the DMI end-of-table marker is 8 bits only. And
|
---|
34 | * the size should be at least 16-byte aligned for a proper alignment of
|
---|
35 | * the MPS table.
|
---|
36 | */
|
---|
37 | #define VBOX_DMI_TABLE_SIZE 352
|
---|
38 |
|
---|
39 | /** @def VBOX_VMI_BIOS_BASE
|
---|
40 | *
|
---|
41 | * Must be located between 0xC0000 and 0xDEFFF, otherwise it will not be
|
---|
42 | * recognized as regular BIOS.
|
---|
43 | */
|
---|
44 | #define VBOX_VMI_BIOS_BASE 0xdf000
|
---|
45 |
|
---|
46 |
|
---|
47 | /** @def VBOX_LANBOOT_SEG
|
---|
48 | *
|
---|
49 | * Should usually start right after the DMI BIOS page
|
---|
50 | */
|
---|
51 | #define VBOX_LANBOOT_SEG 0xe200
|
---|
52 |
|
---|
53 | #define VBOX_SMBIOS_MAJOR_VER 2
|
---|
54 | #define VBOX_SMBIOS_MINOR_VER 5
|
---|
55 | #define VBOX_SMBIOS_MAXSS 0xff /* Not very accurate */
|
---|
56 |
|
---|
57 | #endif
|
---|