package
4.0.0+incompatible
Repository: https://github.com/rctl/u-root.git
Documentation: pkg.go.dev

# Functions

AlignPhys fixes s to the kexec_load preconditions.
Dedup merges segments in segs as much as possible.
FileLoad loads the given kernel as the new kernel with the given ramfs and cmdline.
Load loads the given segments into memory to be executed on a kexec-reboot.
NewSegment creates new Segment.
Reboot executes a kernel previously loaded with FileInit.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

ErrKexec is the error type returned kexec.
Memory provides routines to work with physical memory ranges.
Range represents a contiguous uintptr interval [Start, Start+Size).
Segment defines kernel memory layout.
TypedAddressRange represents range of physical memory.

# Type aliases

RangeType defines type of a TypedAddressRange based on the Linux kernel string provided by firmware memory map.