memdev

package
v0.0.0-...-ba09d25 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0, MIT Imports: 14 Imported by: 0

Documentation

Overview

Package memdev implements "mem" character devices, as implemented in Linux by drivers/char/mem.c and drivers/char/random.c.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDevtmpfsFiles

func CreateDevtmpfsFiles(ctx context.Context, dev *devtmpfs.Accessor) error

CreateDevtmpfsFiles creates device special files in dev representing all devices implemented by this package.

func Register

func Register(vfsObj *vfs.VirtualFilesystem) error

Register registers all devices implemented by this package in vfsObj.

Types

This section is empty.

Jump to

Keyboard shortcuts

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