haiku/headers/private/drivers/smbios.h
Jérôme Duval 97f2b91169 smbios: add module to match SMBios vendor and product
Change-Id: Ib7848da1c22c42a1a9030891159f4e852c6c1ecd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2503
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2020-04-27 07:38:40 +00:00

24 lines
438 B
C

/*
* Copyright 2020, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _SMBIOS_MODULE_H_
#define _SMBIOS_MODULE_H_
#include <OS.h>
#include <module.h>
typedef struct smbios_module_info {
module_info info;
bool (*match_vendor_product)(const char* vendor, const char* product);
} smbios_module_info;
#define SMBIOS_MODULE_NAME "generic/smbios/driver_v1"
#endif // _SMBIOS_MODULE_H_