13#include <l4/sys/cxx/ipc_string>
41 public L4::Kobject_t<Inhibitor, L4::Kobject, L4RE_PROTO_INHIBITOR>
89 L4::Ipc::String<char> name_buf(len , name);
90 long r = next_lock_info_t::call(
c(), ¤t_id, name_buf, utcb);
98 L4::Ipc::String<char> &name));
L4::Cap related definitions.
Set of inhibitor locks, which inhibit specific actions when held.
@ Name_max
The maximum length of a lock's name.
long next_lock_info(char *name, unsigned len, l4_mword_t current_id=-1, l4_utcb_t *utcb=l4_utcb())
Get information for the next available inhibitor lock.
long acquire(l4_umword_t id, L4::Ipc::String<> reason)
Acquire a specific inhibitor lock.
long release(l4_umword_t id)
Release a specific inhibitor lock.
Helper class to create an L4Re interface class that is derived from a single base class.
L4::Cap< Class > c() const noexcept
Get the capability to ourselves.
unsigned long l4_umword_t
Unsigned machine word.
signed long l4_mword_t
Signed machine word.
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
l4_utcb_t * l4_utcb(void) L4_NOTHROW L4_PURE
Get the UTCB address.
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
#define L4_INLINE_RPC_NF(res, name, args...)
Define an inline RPC call type (the type only, no callable).
L4Re Protocol Constants (C version)
Mark an argument as in-out argument.
Standard list of RPCs of an interface.