Module upcall

Source
Expand description

Functions for handling upcalls from the kernel.

Structs§

ExceptionInfo
Information about an exception.
MemoryContextViolationInfo
Information about a non-object-related memory access violation.
ObjectMemoryFaultInfo
Information about a memory access error to an object.
ResumeFlags
SecurityViolationInfo
Information about a non-object-related memory access violation.
UpcallData
A collection of data about this upcall, and the UpcallInfo for this particular upcall.
UpcallFlags
Flags controlling upcall handling.
UpcallFrame
Arch-specific frame info for upcall.
UpcallHandlerFlags
Flags passed to the upcall handler in UpcallData.
UpcallOptions
Options for a single upcall.
UpcallTarget
Information for handling an upcall, per-thread. By default, a thread starts with all these fields initialized to zero, and the mode set to UpcallMode::Abort.

Enums§

MemoryAccessKind
Kinds of memory access.
ObjectMemoryError
Kinds of object memory errors.
UpcallInfo
Possible upcall reasons and info.
UpcallMode
Possible modes for upcall handling.

Constants§

UPCALL_EXIT_CODE
The exit code the kernel will use when killing a thread that cannot handle an upcall (e.g. the kernel fails to push the upcall stack frame, or the mode is set to UpcallMode::Abort).