diff --git a/sys/arm/include/machdep.h b/sys/arm/include/machdep.h index f50cde887c4a..c48b0a3a5573 100644 --- a/sys/arm/include/machdep.h +++ b/sys/arm/include/machdep.h @@ -5,6 +5,7 @@ #define _MACHDEP_BOOT_MACHDEP_H_ /* Structs that need to be initialised by initarm */ +struct pv_addr; extern struct pv_addr irqstack; extern struct pv_addr undstack; extern struct pv_addr abtstack; @@ -15,13 +16,14 @@ extern struct pv_addr abtstack; #define UND_STACK_SIZE 1 /* misc prototypes used by the many arm machdeps */ +struct trapframe; void arm_lock_cache_line(vm_offset_t); void init_proc0(vm_offset_t kstack); void halt(void); -void data_abort_handler(trapframe_t *); -void prefetch_abort_handler(trapframe_t *); +void data_abort_handler(struct trapframe *); +void prefetch_abort_handler(struct trapframe *); void set_stackptrs(int cpu); -void undefinedinstruction_bounce(trapframe_t *); +void undefinedinstruction_bounce(struct trapframe *); /* Early boot related helper functions */ struct arm_boot_params;