memmap

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: GPL-2.0, GPL-2.0-or-later Imports: 5 Imported by: 0

README

memmap

Parse linux /proc/iomem and /proc/ioports (and anything with similar orginazation) into tree-oriented data structures.

© 2015-2016 Platina Systems, Inc. All rights reserved. Use of this source code is governed by this BSD-style LICENSE.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

type Range struct {
	Start uintptr
	End   uintptr
}

func (Range) String

func (r Range) String() string

type Region

type Region struct {
	What   string
	Ranges []*Range
}

func (Region) String

func (r Region) String() string

type RegionMap

type RegionMap map[string]Region

func FileToMap

func FileToMap(s string) (regionMap RegionMap, err error)

func ReaderToMap

func ReaderToMap(r io.Reader) (regionMap RegionMap, err error)

Jump to

Keyboard shortcuts

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