summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/PC/BIOS/smidmi.inc
blob: 5ad67c67a9234b12f14f96fbc5ad6a931ee90887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
;
; Copyright (C) 2006-2019 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
; --------------------------------------------------------------------
;
; This code is based on:
;
;  ROM BIOS for use with Bochs/Plex86/QEMU emulation environment
;
;  Copyright (C) 2002  MandrakeSoft S.A.
;
;    MandrakeSoft S.A.
;    43, rue d'Aboukir
;    75002 Paris - France
;    http://www.linux-mandrake.com/
;    http://www.mandrakesoft.com/
;
;  This library is free software; you can redistribute it and/or
;  modify it under the terms of the GNU Lesser General Public
;  License as published by the Free Software Foundation; either
;  version 2 of the License, or (at your option) any later version.
;
;  This library is distributed in the hope that it will be useful,
;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;  Lesser General Public License for more details.
;
;  You should have received a copy of the GNU Lesser General Public
;  License along with this library; if not, write to the Free Software
;  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
;
;

; Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
; other than GPL or LGPL is available it will apply instead, Oracle elects to use only
; the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
; a choice of LGPL license versions is made available with the language indicating
; that LGPLv2 or any later version may be used, or where a choice of which version
; of the LGPL is applied is otherwise unspecified.

include vbdmismi.inc

; org 0xff30
align 16
		;; The SMBIOS header
		db	'_SM_'		; signature
		db	0		; checksum (set by biossums)
		db	01Fh		; EPS length, defined by standard
		db	VBOX_SMBIOS_MAJOR_VER	; SMBIOS major version
		db	VBOX_SMBIOS_MINOR_VER	; SMBIOS minor version
		dw	VBOX_SMBIOS_MAXSS	; Maximum structure size
		db	0		; Entry point revision
		db	0, 0, 0, 0, 0	; 16 bytes total

		;; The DMI header
		db	'_DMI_'		; signature
		db	0		; checksum (set by biossums)
		dw	0	        ; DMI tables length (set by DevPcBios)
		dd	VBOX_DMI_TABLE_BASE ; DMI tables base
		dw	0 ; DMI tables entries (set by DevPcBios)
		db	VBOX_DMI_TABLE_VER ; DMI version
		db	0		; Just for alignment (16 bytes total)