memdev

package
v0.0.0-...-957f62e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0, MIT Imports: 15 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