mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
smbios: SMBIOS 3.0 (64-bit) Entry Point structure
Add definition of the SMBIOS 3.0 (64-bit) Entry Point structure. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f19cf8d43a
commit
de4b91ca68
1 changed files with 26 additions and 0 deletions
|
@ -54,6 +54,32 @@ struct __packed smbios_entry {
|
||||||
u8 bcd_rev;
|
u8 bcd_rev;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct smbios3_entry - SMBIOS 3.0 (64-bit) Entry Point structure
|
||||||
|
*/
|
||||||
|
struct __packed smbios3_entry {
|
||||||
|
/** @anchor: anchor string */
|
||||||
|
u8 anchor[5];
|
||||||
|
/** @checksum: checksum of the entry point structure */
|
||||||
|
u8 checksum;
|
||||||
|
/** @length: length of the entry point structure */
|
||||||
|
u8 length;
|
||||||
|
/** @major_ver: major version of the SMBIOS specification */
|
||||||
|
u8 major_ver;
|
||||||
|
/** @minor_ver: minor version of the SMBIOS specification */
|
||||||
|
u8 minor_ver;
|
||||||
|
/** @docrev: revision of the SMBIOS specification */
|
||||||
|
u8 doc_rev;
|
||||||
|
/** @entry_point_rev: revision of the entry point structure */
|
||||||
|
u8 entry_point_rev;
|
||||||
|
/** @reserved: reserved */
|
||||||
|
u8 reserved;
|
||||||
|
/** maximum size of SMBIOS table */
|
||||||
|
u32 max_struct_size;
|
||||||
|
/** @struct_table_address: 64-bit physical starting address */
|
||||||
|
u64 struct_table_address;
|
||||||
|
};
|
||||||
|
|
||||||
/* BIOS characteristics */
|
/* BIOS characteristics */
|
||||||
#define BIOS_CHARACTERISTICS_PCI_SUPPORTED (1 << 7)
|
#define BIOS_CHARACTERISTICS_PCI_SUPPORTED (1 << 7)
|
||||||
#define BIOS_CHARACTERISTICS_UPGRADEABLE (1 << 11)
|
#define BIOS_CHARACTERISTICS_UPGRADEABLE (1 << 11)
|
||||||
|
|
Loading…
Reference in a new issue