Versions in this module Expand all Collapse all v3 v3.7.5 Jul 26, 2022 v3.7.4 Jul 21, 2022 Changes in this version + func MapAsPOD(base uint64, i interface{}) error + func ReadPageMap(virtAddr uintptr) (uint64, error) + func TestCopy(size, holeSize int, alloc func(size int) (Mem, error), ...) error + type Mem interface + AsPOD func(pp interface{}) error + Bytes func() []byte + PhysAddr func() uint64 + type MemAlloc struct + func Alloc(size int) (*MemAlloc, error) + func (m *MemAlloc) Close() error + type Slice []byte + func (s *Slice) AsPOD(pp interface{}) error + func (s *Slice) Bytes() []byte + func (s *Slice) Uint32() []uint32 + type View struct + func Map(base uint64, size int) (*View, error) + func MapGPIO() (*View, error) + func (v *View) Close() error + func (v *View) PhysAddr() uint64