From 49867b6097e47b0324aec1a252e73c4a9eba2599 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 13 Oct 1997 11:21:09 +0000 Subject: [PATCH] Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From Ignatios). --- sys/arch/m68k/include/cacheops_20.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arch/m68k/include/cacheops_20.h b/sys/arch/m68k/include/cacheops_20.h index 7b807bdafa23..94d8f3226d2e 100644 --- a/sys/arch/m68k/include/cacheops_20.h +++ b/sys/arch/m68k/include/cacheops_20.h @@ -1,4 +1,4 @@ -/* $NetBSD: cacheops_20.h,v 1.1 1997/06/02 20:26:39 leo Exp $ */ +/* $NetBSD: cacheops_20.h,v 1.2 1997/10/13 11:21:09 leo Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -49,10 +49,10 @@ TBIA_20() /* * Invalidate any TLB entry for given VA (TB Invalidate Single) */ -void TBIS_20 __P((void *)); +void TBIS_20 __P((vm_offset_t)); extern inline void TBIS_20(va) - void *va; + vm_offset_t va; { __asm __volatile (" pflushs #0,#0,%0@" : : "a" (va) ); @@ -105,7 +105,9 @@ ICPA_20() #define DCIA_20() #define DCIS_20() #define DCIU_20() -#define DCIAS_20() +#define DCIAS_20(va) +#define DCFA_20() +#define DCPA_20() void PCIA_20 __P((void)); extern inline void