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
F108550631: D36687.id110900.diff
Sun, Jan 26, 6:04 AM
Unknown Object (File)
Sat, Jan 25, 2:22 AM
Unknown Object (File)
Fri, Jan 24, 7:27 PM
Unknown Object (File)
Thu, Jan 23, 2:53 AM
Unknown Object (File)
Sun, Jan 12, 3:08 PM
Unknown Object (File)
Sun, Jan 12, 1:43 PM
Unknown Object (File)
Sun, Jan 12, 12:09 PM
Unknown Object (File)
Thu, Jan 9, 4:57 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 Passed
Unit
No Test Coverage
Build Status
Buildable 47513
Build 44400: arc lint + arc unit

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.