Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 Changes in this version + func MapStruct(base uint64, v reflect.Value) error + func ReadPageMap(virtAddr uintptr) (uint64, error) + func TestCopy(size, holeSize int, alloc func(size int) (Mem, error), ...) error + type Mem interface + Bytes func() []byte + PhysAddr func() uint64 + Struct func(pp reflect.Value) error + type MemAlloc struct + func Alloc(size int) (*MemAlloc, error) + func (m *MemAlloc) Close() error + type Slice []byte + func (s *Slice) Bytes() []byte + func (s *Slice) Struct(pp reflect.Value) error + 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 Incompatible versions in this module v3.6.4+incompatible Jun 12, 2020