Add missing bool to inmate_common.h and use inmate.h instead of pulling
the hypervisor types header.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
* the COPYING file in the top-level directory.
*/
-#include <jailhouse/types.h>
+#include <inmate.h>
#include <asm/debug.h>
#include <stdarg.h>
-#include <inmate.h>
static struct uart_chip chip;
typedef s64 __s64;
typedef u64 __u64;
+typedef enum { true = 1, false = 0 } bool;
+
#include <jailhouse/hypercall.h>
#define comm_region ((struct jailhouse_comm_region *)COMM_REGION_BASE)
typedef signed long long s64;
typedef unsigned long long u64;
-typedef enum { true=1, false=0 } bool;
-
static inline void cpu_relax(void)
{
asm volatile("rep; nop" : : : "memory");