Crate enarx_shim_kvm

Source
Expand description

The SEV shim

This crate contains the system/kernel that handles the syscalls (and cpuid instructions) from the enclave code and might proxy them to the host.

Modules§

addr
Some basic address operations
allocator
The global Allocator
debug
Debug functions
exec
Functions dealing with the exec
gdt
Global Descriptor Table init
hostcall
Host <-> Shim Communication
interrupts
Interrupt handling
pagetables
Page Tables
paging
Paging
print
Functions and macros to output text on the host
random
Random functions
shim_stack
Helper functions for the shim stack
snp
SNP specific modules and functions
spin
wrapper around spinning types to permit trait implementations.
sse
SSE related functions
syscall
syscall interface layer between assembler and rust
usermode
switch to Ring 3 aka usermode

Macros§

dbg
Prints and returns the value of a given expression for quick and dirty debugging.
eprint
Prints to the standard error.
eprintln
Prints to the standard error of the host, with a newline.
print
Prints to the standard output of the host.
println
Prints to the standard output of the host, with a newline.

Statics§

_ENARX_CPUID
Extern
_ENARX_EXEC_END
Extern
_ENARX_EXEC_START
Extern
_ENARX_MEM_START
Extern
_ENARX_SHIM_START
Extern