pub struct EntryPoints {
pub init: ProcId,
pub notified: ProcId,
pub protected: Option<ProcId>,
}Expand description
The kernel entry points a Microkit protection domain exposes.
init (boot, once) and notified (the event loop) are mandatory —
Microkit invokes both on every PD — so the type stores them
non-optionally: a resolved EntryPoints cannot exist without both (see
EntryPoints::resolve). protected answers a Sync channel’s
protected-procedure call. It is optional, libmicrokit’s own answering
otherwise, but a PD binds it only if a Sync channel ends at it
(EntryPoints::check_protected).
Fields§
§init: ProcId@bind(microkit.init) — the boot handler.
notified: ProcId@bind(microkit.notified) — the event loop.
protected: Option<ProcId>@bind(microkit.protected) — the protected-procedure handler.
Implementations§
Trait Implementations§
Source§impl Clone for EntryPoints
impl Clone for EntryPoints
Source§fn clone(&self) -> EntryPoints
fn clone(&self) -> EntryPoints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryPoints
impl Debug for EntryPoints
impl Copy for EntryPoints
Auto Trait Implementations§
impl Freeze for EntryPoints
impl RefUnwindSafe for EntryPoints
impl Send for EntryPoints
impl Sync for EntryPoints
impl Unpin for EntryPoints
impl UnsafeUnpin for EntryPoints
impl UnwindSafe for EntryPoints
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.