kexec

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: GPL-2.0, GPL-2.0-or-later Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileLoad

func FileLoad(k *os.File, i *os.File, cmdline string, flags uintptr) (err error)

func LoadSlices added in v1.13.9

func LoadSlices(kdat, idat []byte, cmdline string, flags uintptr) (err error)

func Prepare

func Prepare()

func SegmentLoad

func SegmentLoad(entry uint64, segments *[]KexecSegment, flags uintptr) (err error)

Types

type KexecSegment

type KexecSegment struct {
	Buf   *byte
	Bufsz uint
	Mem   uintptr
	Memsz uint
}

func SliceAddSegment

func SliceAddSegment(s []KexecSegment, b *[]byte, a uintptr) []KexecSegment

func (KexecSegment) String added in v1.13.9

func (s KexecSegment) String() string

Jump to

Keyboard shortcuts

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