/******************************************************************************
* hypervisor.h
- *
+ *
* Linux-specific hypervisor handling.
- *
+ *
* Copyright (c) 2002, K A Fraser
*
* $FreeBSD$
extern uint64_t get_system_time(int ticks);
-static inline int
+static inline int
HYPERVISOR_console_write(const char *str, int count)
{
- return HYPERVISOR_console_io(CONSOLEIO_write, count, str);
+ return HYPERVISOR_console_io(CONSOLEIO_write, count, str);
}
static inline void HYPERVISOR_crash(void) __dead2;
}
-static inline void
+static inline void
HYPERVISOR_shutdown(unsigned int reason)
{
struct sched_shutdown sched_shutdown = {
}
static inline void
-HYPERVISOR_crash(void)
+HYPERVISOR_crash(void)
{
- HYPERVISOR_shutdown(SHUTDOWN_crash);
+ HYPERVISOR_shutdown(SHUTDOWN_crash);
/* NEVER REACHED */
- for (;;) ; /* eliminate noreturn error */
+ for (;;) ; /* eliminate noreturn error */
}
/* Transfer control to hypervisor until an event is detected on one */
#if CONFIG_XEN_COMPAT <= 0x030002
if (rc == -ENOXENSYS)
rc = HYPERVISOR_sched_op_compat(SCHEDOP_yield, 0);
-#endif
+#endif
return (rc);
}