Page MenuHomeFreeBSD

LinuxKPI: add struct dmi_header and unsupported dmi_walk()
ClosedPublic

Authored by bz on Sep 23 2022, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 20 2024, 12:49 AM
Unknown Object (File)
May 14 2024, 2:45 AM
Unknown Object (File)
May 8 2024, 11:10 AM
Unknown Object (File)
May 8 2024, 10:48 AM
Unknown Object (File)
May 8 2024, 10:47 AM
Unknown Object (File)
May 8 2024, 10:47 AM
Unknown Object (File)
May 8 2024, 9:05 AM
Unknown Object (File)
Dec 24 2023, 6:09 PM

Details

Summary

Add a structure definition as well as a dummy dmi_walk for now
which returns an error as not supported. Our current dmi implementation
is special but doe not give access to all details but rather only
information from kenv which does not suffice all use cases.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Sep 23 2022, 10:25 PM
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/dmi.h
57

return (-ENXIO);

()'s

This revision is now accepted and ready to land.Sep 23 2022, 10:42 PM
This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.