11 return c >=
'0' && c <=
'9';
19 printk(
"******************************\n");
26 printk(
"******************************\n");
37 for ( i = 0; i < 128; i++ )
55 unsigned int domid = 0;
62 domid = domid * 10 + (*
str -
'0');
static unsigned int str(void)
void vprintk(const char *fmt, va_list args)
void printk(const char *fmt,...)
Interfaces used by common code, needing to be implemented by arch/environment specific code.
void arch_crash_hard(void)
static long hypercall_sysctl(xen_sysctl_t *arg)
static long hypercall_shutdown(unsigned int reason)
int xtf_get_domid(void)
Obtain the current domid.
int xtf_probe_sysctl_interface_version(void)
Probe for the SYSCTL_INTERFACE_VERSION in use by the hypervisor.
void panic(const char *fmt,...)
static int isdigit(int c)
__builtin_va_list va_list
uint32_t interface_version
#define DOMID_FIRST_RESERVED
const char * xenstore_read(const char *path)
Issue a XS_READ operation for key, waiting synchronously for the reply.
int xenstore_init(void)
Initialise XTF ready for xenstore communication.