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
F102563809: D36687.diff
Thu, Nov 14, 2:57 AM
Unknown Object (File)
Tue, Nov 12, 2:19 PM
Unknown Object (File)
Wed, Oct 30, 2:47 AM
Unknown Object (File)
Thu, Oct 24, 11:36 PM
Unknown Object (File)
Thu, Oct 24, 11:36 PM
Unknown Object (File)
Thu, Oct 24, 11:36 PM
Unknown Object (File)
Thu, Oct 24, 11:15 PM
Unknown Object (File)
Oct 7 2024, 11:45 AM

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.