mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 15:23:42 +03:00
[linux] Provide access to SMBIOS via /dev/mem
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -162,6 +162,8 @@ struct smbios {
|
||||
#define SMBIOS_VERSION( major, minor ) ( ( (major) << 8 ) | (minor) )
|
||||
|
||||
extern int find_smbios ( struct smbios *smbios );
|
||||
extern int find_smbios_entry ( userptr_t start, size_t len,
|
||||
struct smbios_entry *entry );
|
||||
extern int find_smbios_structure ( unsigned int type, unsigned int instance,
|
||||
struct smbios_structure *structure );
|
||||
extern int read_smbios_structure ( struct smbios_structure *structure,
|
||||
|
||||
Reference in New Issue
Block a user