13#ifndef ZEPHYR_INCLUDE_XEN_SCHED_H_
14#define ZEPHYR_INCLUDE_XEN_SCHED_H_
16#include <xen/public/sched.h>
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
int xen_sched_remote_shutdown(domid_t domid, unsigned int reason)
Request shutdown of another domain.
int xen_sched_shutdown(unsigned int reason)
Shut down the current domain with the supplied shutdown reason.
int xen_sched_poll(evtchn_port_t *ports, unsigned int nr_ports, uint64_t timeout)
Poll event-channel ports until one becomes pending or a timeout expires.
int xen_sched_pin_override(int32_t pcpu)
Override or restore the current VCPU physical CPU pinning.
int xen_sched_yield(void)
Yield the current VCPU.
int xen_sched_block(void)
Block the current VCPU until an event is available.
int xen_sched_shutdown_code(unsigned int reason)
Store a shutdown reason for later domain shutdown reporting.