Documentation
¶
Overview ¶
Package custommmio provides experimental custom MMIO device helpers.
It is intended to wrap private custom MMIO device configuration types, including region layout, IRQ wiring, provider hookup, and save or restore support flags for plugin-backed devices.
This package should stay small and explicit about ownership of raw MMIO details such as regions and interrupts.
Index ¶
- func NewConfig(cfg Config) (pvz.VZCustomMMIODeviceConfiguration, error)
- func NewDelegateProvider(queue, delegate objectivec.IObject) (pvz.VZCustomMMIODeviceDelegateProvider, error)
- func NewPluginProvider(name, personality string) (pvz.VZCustomMMIODevicePluginProvider, error)
- func NewProvider() (pvz.VZCustomMMIODeviceProvider, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶
func NewConfig(cfg Config) (pvz.VZCustomMMIODeviceConfiguration, error)
NewConfig creates a custom MMIO device configuration and applies cfg.
func NewDelegateProvider ¶
func NewDelegateProvider(queue, delegate objectivec.IObject) (pvz.VZCustomMMIODeviceDelegateProvider, error)
NewDelegateProvider creates a delegate-backed MMIO provider.
func NewPluginProvider ¶
func NewPluginProvider(name, personality string) (pvz.VZCustomMMIODevicePluginProvider, error)
NewPluginProvider creates a plugin-backed MMIO provider.
func NewProvider ¶
func NewProvider() (pvz.VZCustomMMIODeviceProvider, error)
NewProvider creates the base MMIO provider object.
Types ¶
type Config ¶
type Config struct {
MMIORegions foundation.INSArray
AdditionalProperties foundation.INSDictionary
AdditionalXPCProperties objectivec.IObject
IRQs foundation.INSArray
Provider objectivec.IObject
SupportsSaveRestore bool
}
Config describes a custom MMIO device configuration.