Crate hermit_entry

Crate hermit_entry 

Source
Expand description

§Hermit’s loading and entry API.

This crate parses and loads Hermit applications (elf).

Additionally, this crate unifies Hermit’s entry API (Entry) for all loaders and the kernel.

Modules§

boot_info
Creating and reading RawBootInfo from Entry.
elfloader
Parsing and loading kernel objects from ELF files.
fc
Offsets and values used to interpret the boot params (“zeropage”) setup by firecracker For the full list of values see https://github.com/torvalds/linux/blob/b6839ef26e549de68c10359d45163b0cfb031183/arch/x86/include/uapi/asm/bootparam.h#L151-L198

Macros§

define_abi_tagkernel
Defines the current Hermit kernel version in the note section.
define_entry_versionkernel
Defines the hermit entry version in the note section.
define_uhyve_interface_versionkernel
Defines the Uhyve interface version in the note section.

Structs§

HermitVersion
A Hermit version.
ParseHermitVersionError
An error which can be returned when parsing a HermitVersion.
UhyveIfVersion
A Uhyve interface version.

Enums§

Formatloader
Possible input formats for a Hermit loader.

Functions§

detect_formatloader
Attempts to detect the format of an input file (using magic bytes), whether it is an ELF kernel or an image.

Type Aliases§

EntryNon-RISC-V RV64
Kernel entry point.