custommmio

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: MIT Imports: 4 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

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.

Jump to

Keyboard shortcuts

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