25#include <l4/sys/utcb.h>
197#include <l4/sys/ipc.h>
228 return l4_platform_ctl_system_suspend_u(pfc, extras,
l4_utcb());
235 return l4_platform_ctl_system_shutdown_u(pfc, reboot,
l4_utcb());
257 return l4_platform_ctl_cpu_allow_shutdown_u(pfc, phys_id, enable,
l4_utcb());
288 return l4_platform_ctl_cpu_enable_u(pfc, phys_id,
l4_utcb());
295 return l4_platform_ctl_cpu_disable_u(pfc, phys_id,
l4_utcb());
unsigned long l4_umword_t
Unsigned machine word.
unsigned long l4_cap_idx_t
Capability selector type.
l4_msgtag_t l4_ipc_call(l4_cap_idx_t object, l4_utcb_t *utcb, l4_msgtag_t tag, l4_timeout_t timeout) L4_NOTHROW
Object call (usual invocation).
L4_platform_ctl_proto
Predefined protocol type for messages to platform-control objects.
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
@ L4_PROTO_PLATFORM_CTL
Protocol messages to a platform control object.
L4_platform_ctl_ops
Operations on platform-control objects.
@ L4_PLATFORM_CTL_CPU_ENABLE_OP
enable an offline CPU
@ L4_PLATFORM_CTL_SYS_SHUTDOWN_OP
shutdown/reboot
@ L4_PLATFORM_CTL_SET_TASK_ASID_OP
Arm: set task ASID.
@ L4_PLATFORM_CTL_CPU_ALLOW_SHUTDOWN_OP
allow CPU shutdown
@ L4_PLATFORM_CTL_SYS_SUSPEND_OP
Suspend.
@ L4_PLATFORM_CTL_CPU_DISABLE_OP
disable an online CPU
#define L4_IPC_NEVER
never timeout
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.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
#define L4_INLINE
L4 Inline function attribute.
Common L4 ABI Data Types.
Message tag data structure.
Encapsulation of the message-register block in the UTCB.
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.