Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102563809
D36687.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
886 B
Referenced Files
None
Subscribers
None
D36687.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/dmi.h b/sys/compat/linuxkpi/common/include/linux/dmi.h
--- a/sys/compat/linuxkpi/common/include/linux/dmi.h
+++ b/sys/compat/linuxkpi/common/include/linux/dmi.h
@@ -34,6 +34,12 @@
#include <sys/types.h>
#include <linux/mod_devicetable.h>
+struct dmi_header {
+ uint8_t type;
+ uint8_t length;
+ uint16_t handle;
+};
+
int linux_dmi_check_system(const struct dmi_system_id *);
bool linux_dmi_match(enum dmi_field, const char *);
const struct dmi_system_id *linux_dmi_first_match(const struct dmi_system_id *);
@@ -44,4 +50,11 @@
#define dmi_first_match(sysid) linux_dmi_first_match(sysid)
#define dmi_get_system_info(sysid) linux_dmi_get_system_info(sysid)
+static inline int
+dmi_walk(void (*callbackf)(const struct dmi_header *, void *), void *arg)
+{
+
+ return (-ENXIO);
+}
+
#endif /* __LINUXKPI_LINUX_DMI_H__ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 2:57 AM (11 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14637443
Default Alt Text
D36687.diff (886 B)
Attached To
Mode
D36687: LinuxKPI: add struct dmi_header and unsupported dmi_walk()
Attached
Detach File
Event Timeline
Log In to Comment