Page MenuHomeFreeBSD

Move GAS prototypes and flags
ClosedPublic

Authored by br on Jul 25 2020, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 22 2024, 1:41 AM
Unknown Object (File)
Oct 6 2024, 6:46 AM
Unknown Object (File)
Sep 8 2024, 8:12 PM
Unknown Object (File)
Sep 5 2024, 8:15 AM
Unknown Object (File)
Sep 4 2024, 5:53 PM
Unknown Object (File)
Aug 31 2024, 4:31 AM
Unknown Object (File)
Aug 17 2024, 7:13 PM
Unknown Object (File)
Aug 17 2024, 4:24 AM
Subscribers

Details

Summary

Move GAS prototypes, and domain flags to iommu.h

I will rename DMAR_ to IOMMU_ for these flags on next diff

Test Plan

Boot on amd64

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Jul 25 2020, 3:39 PM
br created this revision.
br edited the summary of this revision. (Show Details)
br retitled this revision from move GAS headers and flags to Move GAS prototypes and flags.Jul 25 2020, 3:49 PM
br edited the summary of this revision. (Show Details)
br edited the test plan for this revision. (Show Details)
sys/dev/iommu/iommu_gas.c
738

Does this var need to be extern after the move ?

Remove TUNABLE_INT_FETCH and make check_free static

sys/dev/iommu/iommu_gas.c
738

I think TUNABLE_INT_FETCH is not needed since we use SYSCTL_INT ?
So I removed it and made check_free static

kib added inline comments.
sys/dev/iommu/iommu_gas.c
736

Ok but make node non-static, and add hw.iommu node declaration into the header. Then convert all hw.dmar into hw.iommu.dmar. All this in the next commit.

This revision is now accepted and ready to land.Jul 25 2020, 6:36 PM
This revision was automatically updated to reflect the committed changes.