driver

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AddrsSize = 1024

AddrsSize specifies the initial size used to allocate the driver base addresses

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Filename string
}

Driver contains device driver metadata for each driver found in the system.

func EnumDevices

func EnumDevices() []Driver

EnumDevices returns metadata about device drivers encountered in the system. If device driver enumeration fails, an empty slice with device information is returned.

func (Driver) String

func (d Driver) String() string

String returns the driver string representation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL