Page MenuHomeFreeBSD

Add machine/iommu.h
ClosedPublic

Authored by br on Aug 5 2020, 1:19 PM.

Details

Summary

o Move headers inclusion to machine/iommu.h, to eliminate ifdefs (Suggested by: andrew)
o No need to include specialreg.h

Diff Detail

Repository
rS 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

br requested review of this revision.Aug 5 2020, 1:19 PM
br created this revision.

I suggest to preemptively add include protection even despite the fact that current x86 iommu.h does not need it ATM.

And you need i386/include/iommu.h.

o Header protection added
o i386/include/iommu.h added

This revision is now accepted and ready to land.Aug 5 2020, 6:47 PM