Page MenuHomeFreeBSD

LinuxKPI: add devcoredump.h
ClosedPublic

Authored by bz on May 24 2021, 6:19 PM.

Details

Summary

Add linux/devcoredump.h with stub implementation of dev_coredumpv()
and dev_coredumpsg() which only free the passed in SG table.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by:
Differential Revision:

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bz requested review of this revision.May 24 2021, 6:19 PM
hselasky added inline comments.
sys/compat/linuxkpi/common/include/linux/devcoredump.h
40

__inline -> inline

These functions are always inline ??

bz marked an inline comment as done.May 24 2021, 9:41 PM
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/devcoredump.h
40

I'll change the inline. Not sure I understand the question. I don't think putting them into a C file makes sense (at least not until someone actually implements the dump parts) [if that is what you meant].

bz marked an inline comment as done.

s/__inline/inline/g

This revision is now accepted and ready to land.May 25 2021, 7:40 AM
This revision was automatically updated to reflect the committed changes.