diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-04-20 19:26:43 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-04-20 19:26:43 +0000 |
commit | a1eddd64b706d3634ad99f6b9abd94eaa7f364a6 (patch) | |
tree | 88c643f0a4150e354dea3a63c618c3bde9c8e156 /sys | |
parent | 91977f2f5f369f2cf342220876b0c401516db38a (diff) |
name changes; more cpu_* functions
Diffstat (limited to 'sys')
-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 /* |