1 | /* ----------------------------------------------------------------------- * |
---|
2 | * |
---|
3 | * Pportions of this file taken from the dmidecode project |
---|
4 | * |
---|
5 | * Copyright (C) 2000-2002 Alan Cox <alan@redhat.com> |
---|
6 | * Copyright (C) 2002-2008 Jean Delvare <khali@linux-fr.org> |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or modify |
---|
9 | * it under the terms of the GNU General Public License as published by |
---|
10 | * the Free Software Foundation; either version 2 of the License, or |
---|
11 | * (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
21 | * |
---|
22 | * For the avoidance of doubt the "preferred form" of this code is one which |
---|
23 | * is in an open unpatent encumbered format. Where cryptographic key signing |
---|
24 | * forms part of the process of creating an executable the information |
---|
25 | * including keys needed to generate an equivalently functional executable |
---|
26 | * are deemed to be part of the source code. |
---|
27 | */ |
---|
28 | |
---|
29 | #include <dmi/dmi.h> |
---|
30 | #include <stdio.h> |
---|
31 | |
---|
32 | const char *bios_charac_strings[] = { |
---|
33 | "BIOS characteristics not supported", /* 3 */ |
---|
34 | "ISA is supported", |
---|
35 | "MCA is supported", |
---|
36 | "EISA is supported", |
---|
37 | "PCI is supported", |
---|
38 | "PC Card (PCMCIA) is supported", |
---|
39 | "PNP is supported", |
---|
40 | "APM is supported", |
---|
41 | "BIOS is upgradeable", |
---|
42 | "BIOS shadowing is allowed", |
---|
43 | "VLB is supported", |
---|
44 | "ESCD support is available", |
---|
45 | "Boot from CD is supported", |
---|
46 | "Selectable boot is supported", |
---|
47 | "BIOS ROM is socketed", |
---|
48 | "Boot from PC Card (PCMCIA) is supported", |
---|
49 | "EDD is supported", |
---|
50 | "Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)", |
---|
51 | "Japanese floppy for Toshiba 1.2 MB is supported (int 13h)", |
---|
52 | "5.25\"/360 KB floppy services are supported (int 13h)", |
---|
53 | "5.25\"/1.2 MB floppy services are supported (int 13h)", |
---|
54 | "3.5\"/720 KB floppy services are supported (int 13h)", |
---|
55 | "3.5\"/2.88 MB floppy services are supported (int 13h)", |
---|
56 | "Print screen service is supported (int 5h)", |
---|
57 | "8042 keyboard services are supported (int 9h)", |
---|
58 | "Serial services are supported (int 14h)", |
---|
59 | "Printer services are supported (int 17h)", |
---|
60 | "CGA/mono video services are supported (int 10h)", |
---|
61 | "NEC PC-98" /* 31 */ |
---|
62 | }; |
---|
63 | |
---|
64 | const char *bios_charac_x1_strings[] = { |
---|
65 | "ACPI is supported", /* 0 */ |
---|
66 | "USB legacy is supported", |
---|
67 | "AGP is supported", |
---|
68 | "I2O boot is supported", |
---|
69 | "LS-120 boot is supported", |
---|
70 | "ATAPI Zip drive boot is supported", |
---|
71 | "IEEE 1394 boot is supported", |
---|
72 | "Smart battery is supported" /* 7 */ |
---|
73 | }; |
---|
74 | |
---|
75 | const char *bios_charac_x2_strings[] = { |
---|
76 | "BIOS boot specification is supported", /* 0 */ |
---|
77 | "Function key-initiated network boot is supported", |
---|
78 | "Targeted content distribution is supported" /* 2 */ |
---|
79 | }; |
---|