Expand description
Host-side kernel-personality abstraction.
A personality is the pluggable kernel semantics layer that runs on
top of the nub substrate: it defines what published state objects
mean (decoding, validation, content hashing), how invocations
resolve a root object, and what the guest-side kernel does on
ecalls. JAVM’s capability system is one personality; nub itself
stays personality-agnostic and moves opaque bytes + 32-byte
ObjHash keys.
This module holds the host-side half of the abstraction — what
the Nub handle needs from a personality. The
guest-side half (GuestPersonality — ecall dispatch, state store,
gas sourcing) lives in nub-arch-x86, where the execution-lane and
frame-runtime types it references are defined.
Traits§
- Local
Kernel - In-process kernel: the personality’s object store + interpreter
wiring, driven directly by the
NubLocal backend. - Personality
- A kernel personality, from the host’s point of view.