Documentation
¶
Overview ¶
Memory mapped register read/write
Index ¶
- Constants
- Variables
- func CheckRegAddr(name string, got, want uint)
- func LoadUint16(addr uintptr) (data uint16)
- func LoadUint32(addr uintptr) (data uint32)
- func LoadUint64(addr uintptr) (data uint64)
- func MemoryBarrier()
- func StoreUint16(addr uintptr, data uint16)
- func StoreUint32(addr uintptr, data uint32)
- func StoreUint64(addr uintptr, data uint64)
- type U8
- type U16
- type U32
Constants ¶
View Source
const Version = "v0.0.0"
Version format :: v<MAJOR>.<MINOR>.<PATCH>[-rc<CANDIDATE>]
Variables ¶
View Source
var ( BasePointer = basePointer() BaseAddress = uintptr(BasePointer) )
Must point to readable memory since compiler may perform read probes (nil checks) as part of memory addressing.
Functions ¶
func CheckRegAddr ¶
func LoadUint16 ¶
func LoadUint64 ¶
func MemoryBarrier ¶
func MemoryBarrier()
func StoreUint16 ¶
func StoreUint32 ¶
func StoreUint64 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.