diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-01 11:54:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-01 11:54:26 +0000 |
commit | c0b929a7d733ebd19869cc7bce698dc1ded92d13 (patch) | |
tree | a2dae6bafe51fbb906792f57adf3a62438cf49ba /sys/arch/m68k/include | |
parent | a5cf009c5477467bd0e5f178fd37ac50ddeea367 (diff) |
Factorize cachectl() accross m68k platforms, and make the CC_ constants
public.
Diffstat (limited to 'sys/arch/m68k/include')
-rw-r--r-- | sys/arch/m68k/include/cpu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/m68k/include/cpu.h b/sys/arch/m68k/include/cpu.h index f9686dc0dda..232dd54eb5b 100644 --- a/sys/arch/m68k/include/cpu.h +++ b/sys/arch/m68k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.11 2003/09/26 21:43:30 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.12 2005/08/01 11:54:23 miod Exp $ */ /* $NetBSD: cpu.h,v 1.3 1997/02/02 06:56:57 thorpej Exp $ */ /* @@ -206,6 +206,12 @@ void userret(struct proc *, struct frame *, u_quad_t, u_int, int); struct trapframe; void regdump(struct trapframe *, int); +/* sys_machdep.c */ +int cachectl(struct proc *, int, vaddr_t, int); +#define CC_PURGE 0x00000001 +#define CC_FLUSH 0x00000002 +#define CC_IPURGE 0x00000004 +#define CC_EXTPURGE 0x80000000 #endif /* _KERNEL */ |