Loading...
Searching...
No Matches
inhibitor.h
Go to the documentation of this file.
/*
* (c) 2014 Steffen Liebergeld <steffen.liebergeld@kernkonzept.com>
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
#pragma once
#include <l4/sys/compiler.h>
#include <l4/sys/types.h>
L4_BEGIN_DECLS
L4_CV long L4_EXPORT
l4re_inhibitor_acquire(l4_cap_idx_t cap, l4_umword_t id,
char const *reason);
L4_CV long L4_EXPORT
l4re_inhibitor_release(l4_cap_idx_t cap, l4_umword_t id);
L4_CV long L4_EXPORT
l4re_inhibitor_next_lock_info(l4_cap_idx_t cap, char *name,
unsigned len, l4_mword_t current_id);
L4_END_DECLS
compiler.h
L4 compiler related defines.
l4_umword_t
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
l4_mword_t
signed long l4_mword_t
Signed machine word.
Definition l4int.h:37
l4_cap_idx_t
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:336
L4_CV
#define L4_CV
Define calling convention.
Definition linkage.h:33
L4_BEGIN_DECLS
#define L4_BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:165
L4_EXPORT
#define L4_EXPORT
Attribute to mark functions, variables, and data types as being exported from a library.
Definition compiler.h:214
L4_END_DECLS
#define L4_END_DECLS
End section with C types and functions.
Definition compiler.h:166
l4re_inhibitor_next_lock_info
long l4re_inhibitor_next_lock_info(l4_cap_idx_t cap, char *name, unsigned len, l4_mword_t current_id)
Get information for the next available inhibitor lock.
l4re_inhibitor_release
long l4re_inhibitor_release(l4_cap_idx_t cap, l4_umword_t id)
Release an inhibitor lock.
l4re_inhibitor_acquire
L4_BEGIN_DECLS long l4re_inhibitor_acquire(l4_cap_idx_t cap, l4_umword_t id, char const *reason)
Acquire an inhibitor lock.
types.h
Common L4 ABI Data Types.