Skip to main content

Crate hyperlight_guest_bin

Crate hyperlight_guest_bin 

Source

Re-exports§

pub use crate::guest_function::definition::GuestFunc;

Modules§

exception
guest_function
guest_logger
host_comm
memory
paging

Statics§

GUEST_HANDLE
OS_PAGE_SIZE
The size of one page in the host OS, which may have some impacts on how buffers for host consumption should be aligned. Code only working with the guest page tables should use [hyperlight_common::vm::PAGE_SIZE] instead.

Attribute Macros§

guest_function
Attribute macro to mark a function as a guest function. This will register the function so that it can be called by the host.
host_function
Attribute macro to mark a function as a host function. This will generate a function that calls the host function with the same name.