diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-07 21:08:12 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-07-07 21:10:36 +0200 |
commit | 340eeab9e5a99c5cdc5020395827e4756377ef6b (patch) | |
tree | e9b9768a1605c1aa458abd6ef93bdbcfa735b0b0 | |
parent | 6e092540d50dc2137d5d5e886c80e4895568fba4 (diff) | |
download | gnumach-340eeab9e5a99c5cdc5020395827e4756377ef6b.tar.gz gnumach-340eeab9e5a99c5cdc5020395827e4756377ef6b.tar.bz2 gnumach-340eeab9e5a99c5cdc5020395827e4756377ef6b.zip |
Fix xen build
with -Werror=incompatible-pointer-types and
-Werror=implicit-function-declaration.
-rw-r--r-- | i386/xen/xen.c | 2 | ||||
-rw-r--r-- | xen/time.c | 1 | ||||
-rw-r--r-- | xen/xen.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/i386/xen/xen.c b/i386/xen/xen.c index 5309675f..1cc3fcab 100644 --- a/i386/xen/xen.c +++ b/i386/xen/xen.c @@ -24,6 +24,8 @@ #include <machine/thread.h> #include <machine/ipl.h> #include <machine/model_dep.h> +#include <vm/vm_page.h> +#include <vm/pmap.h> #include <xen/xen.h> @@ -23,6 +23,7 @@ #include <machine/xen.h> #include <machine/spl.h> #include <machine/ipl.h> +#include <i386at/rtc.h> #include <mach/machine/eflags.h> #include <xen/evt.h> #include "xen.h" @@ -24,6 +24,7 @@ void hyp_dev_init(void); void hyp_idle(void); void hyp_p2m_init(void); +struct i386_interrupt_state; void hypclock_machine_intr(int old_ipl, void *ret_addr, struct i386_interrupt_state *regs, uint64_t delta); struct failsafe_callback_regs { |