diff options
Diffstat (limited to 'sys/arch/hppa/include/cpu.h')
-rw-r--r-- | sys/arch/hppa/include/cpu.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index 2230e8d5933..49b1ed2e77c 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.6 1998/12/14 01:19:18 mickey Exp $ */ +/* $OpenBSD: cpu.h,v 1.7 1999/04/20 19:26:42 mickey Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -50,10 +50,10 @@ #define HPPA_NMODSPBUS 64 #define clockframe trapframe -#define CLKF_BASEPRI(framep) ((framep)->eiem) -#define CLKF_PC(framep) ((framep)->iioq_head) +#define CLKF_BASEPRI(framep) ((framep)->tf_eiem) +#define CLKF_PC(framep) ((framep)->tf_iioq_head) #define CLKF_INTR(framep) (0) /* XXX */ -#define CLKF_USERMODE(framep) (USERMODE((framep)->iioq_head)) +#define CLKF_USERMODE(framep) (USERMODE((framep)->tf_iioq_head)) #define signotify(p) (void)(p) #define need_resched() {(void)1;} @@ -66,6 +66,20 @@ void hppa_init __P((void)); void trap __P((int, struct trapframe *)); int kvtop __P((const caddr_t)); int dma_cachectl __P((caddr_t, int)); +int spcopy __P((pa_space_t ssp, const void *src, + pa_space_t dsp, void *dst, size_t size)); +int spstrcpy __P((pa_space_t ssp, const void *src, + pa_space_t dsp, void *dst, size_t size, size_t *rsize)); +int copy_on_fault __P((void)); +void child_return __P((void)); +void switch_trampoline __P((void)); +void switch_exit __P((struct proc *)); +#define cpu_wait(p) /* so, nobody uses it nomore */ +#if 0 +#define cpu_swapin(p) /* nothing */ +#endif +int cpu_dumpsize __P((void)); +int cpu_dump __P((void)); #endif /* |