[2781] | 1 | /* $Id: DevPcBios.h 40277 2012-02-28 14:10:07Z vboxsync $ */
|
---|
[1] | 2 | /** @file
|
---|
[11255] | 3 | * DevPcBios - PC BIOS Device, header shared with the BIOS code.
|
---|
[1] | 4 | */
|
---|
| 5 |
|
---|
| 6 | /*
|
---|
[34081] | 7 | * Copyright (C) 2006-2010 Oracle Corporation
|
---|
[1] | 8 | *
|
---|
[24707] | 9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
[1] | 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
|
---|
[5999] | 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.
|
---|
[1] | 16 | */
|
---|
| 17 |
|
---|
| 18 | #ifndef DEV_PCBIOS_H
|
---|
| 19 | #define DEV_PCBIOS_H
|
---|
| 20 |
|
---|
[9693] | 21 | /** @def VBOX_DMI_TABLE_BASE */
|
---|
[34081] | 22 | #define VBOX_DMI_TABLE_BASE 0xe1000
|
---|
| 23 | #define VBOX_DMI_TABLE_VER 0x25
|
---|
[1] | 24 |
|
---|
[40019] | 25 | /** define VBOX_DMI_TABLE_ENTR
|
---|
| 26 | *
|
---|
| 27 | * This is the number of DMI structures.
|
---|
| 28 | */
|
---|
| 29 | #define VBOX_DMI_TABLE_ENTR 9
|
---|
[40277] | 30 | #define VBOX_DMI_TABLE_OFFSET 0xff40
|
---|
[40019] | 31 |
|
---|
[26728] | 32 | /** def VBOX_DMI_TABLE_SIZE
|
---|
| 33 | *
|
---|
[40277] | 34 | * The size should be at least 16-byte aligned for a proper alignment of
|
---|
[26728] | 35 | * the MPS table.
|
---|
| 36 | */
|
---|
[40277] | 37 | #define VBOX_DMI_TABLE_SIZE 768
|
---|
[26728] | 38 |
|
---|
[9693] | 39 |
|
---|
| 40 | /** @def VBOX_LANBOOT_SEG
|
---|
[26728] | 41 | *
|
---|
| 42 | * Should usually start right after the DMI BIOS page
|
---|
[9693] | 43 | */
|
---|
[34081] | 44 | #define VBOX_LANBOOT_SEG 0xe200
|
---|
[31] | 45 |
|
---|
[34081] | 46 | #define VBOX_SMBIOS_MAJOR_VER 2
|
---|
| 47 | #define VBOX_SMBIOS_MINOR_VER 5
|
---|
| 48 | #define VBOX_SMBIOS_MAXSS 0xff /* Not very accurate */
|
---|
[24706] | 49 |
|
---|
[1] | 50 | #endif
|
---|