Services API: Difference between revisions

service handle limitations and alleviations
Line 18: Line 18:


== Initialize ==
== Initialize ==
Takes a pid descriptor.
Takes a pid descriptor and an input u64.


== GetService ==
== GetService ==
Takes a zero-padded service name encoded as a u64 integer.
Takes a zero-padded service name encoded as an u64 integer. Returns a handle.


== RegisterService ==
== RegisterService ==
Takes a zero-padded service name encoded as an u64 integer, an u8 bool, and an u32 at the next word. Returns a handle.


== UnregisterService ==
== UnregisterService ==
Takes a zero-padded service name encoded as an u64 integer.


= sm:m =
= sm:m =