VPD: Fixing base_address
[syslinux.git] / com32 / gplinclude / vpd / vpd.h
blobbff77bd4f71d0254763c59bbf8112404f0c38390
1 /* ----------------------------------------------------------------------- *
3 * Copyright 2006 Erwan Velu - All Rights Reserved
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 * Boston MA 02111-1307, USA; either version 2 of the License, or
9 * (at your option) any later version; incorporated herein by reference.
11 * ----------------------------------------------------------------------- */
13 #ifndef VPD_H
14 #define VPD_H
15 #include <inttypes.h>
16 #include <stdbool.h>
18 enum { VPD_TABLE_PRESENT = 100, ENOVPDTABLE };
20 typedef struct {
21 char bios_build_id[10];
22 char box_serial_number[8];
23 char motherboard_serial_number[12];
24 char machine_type_model[8];
25 char bios_release_date[9];
26 char default_flash_filename[13];
27 char bios_version[255];
28 char base_address[16];
29 bool filled;
30 } s_vpd;
32 int vpd_decode(s_vpd * vpd);
33 #endif