pub struct Endpoint {
pub entry_pc: u64,
pub arg_registers: u8,
pub arg_meta: u8,
pub initial_regs: BTreeMap<u8, u64>,
}Expand description
One exported entry point.
Fields§
§entry_pc: u64Byte offset into ProgramBlob::code. A runtime seeds
PC = abi::CODE_BASE + entry_pc.
arg_registers: u8Number of register args the caller supplies.
arg_meta: u8Opaque pass-through of the third descriptor metadata byte. nub does not interpret it; a personality may (JAVM reads it as the arg-cnode size).
initial_regs: BTreeMap<u8, u64>Register-file overrides applied before entry, keyed by PVM
register index. The linker always seeds
abi::SP_REG with
Regions::stack_top.
Trait Implementations§
impl Eq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more