Documentation ¶
Index ¶
- func GenDeviceLine(group int, device *pci.Device, pArg *params.Params) string
- func GenKernelInfo(group int, device *pci.Device) string
- func GetAllDevices(pArg *params.Params) []string
- func GetDevicesFromGroups(groups []int, related int, pArg *params.Params) []string
- func GetRomPath(device *pci.Device, pArg *params.Params) []string
- func MatchDEVs(regex string, pArg *params.Params) []string
- func MatchSubclass(searchval string, pArg *params.Params) []string
- func PrintOutput(out []string, pArg *params.Params)
- type Group
- type IOMMU
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenDeviceLine ¶
Generates a line with the Device info and formats it properly to be similar to the bash version of ls-iommu
func GenKernelInfo ¶
Generates the kernel driver info for a device
func GetAllDevices ¶
func GetDevicesFromGroups ¶
Function to print everything inside a specific IOMMU group
func GetRomPath ¶
Function to get the vbios path for a device
func PrintOutput ¶
Function to just print out a string array to STDOUT
Types ¶
Click to show internal directories.
Click to hide internal directories.