Tweak systm.h to work in a standalone env
Most of the heavy lifting is done by limiting most of this file to only the kernel, since that's the only thing that actually uses those bits.
Differential D26543
Adjustments to includes for openzfs imp on Sep 24 2020, 6:19 AM. Authored by Tags None Referenced Files
Subscribers
Details
Tweak systm.h to work in a standalone env Most of the heavy lifting is done by limiting most of this file to only the kernel, since that's the only thing that actually uses those bits.
Diff Detail
Event TimelineComment Actions This revision successfully builds and reboots, so I think it's right But since it's systm.h and we do some funky monkey business in there, I'd like more eyes on it to be sure. Comment Actions put nullability macro outside kernel ifdefs It's safer to put __NULLABILITY_PRAGMA_PUSH/POP ouside the kernel
Comment Actions Rejigger KASSERT, et al, now are a printf in the boot loader. We don't Respond to jhk's good feedback...
|