aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests/x86_emulator/x86_emulate.c
blob: b157adef51dbfd8f91a133d30e5e7c9d836b3c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <xen/xen.h>

typedef bool bool_t;

#define BUG() abort()
#define ASSERT assert

#define cpu_has_amd_erratum(nr) 0
#define mark_regs_dirty(r) ((void)(r))

#include "x86_emulate/x86_emulate.h"
#include "x86_emulate/x86_emulate.c"