From 72c7a95f808a0ca3f9ae2ef3604ac6f9dd40fb30 Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Tue, 16 Jul 1996 07:46:19 +0000 Subject: Rename some 'pica' names to 'mips'. --- sys/arch/arc/include/cpu.h | 4 ++-- sys/arch/arc/include/param.h | 10 +++++----- sys/arch/arc/include/pmap.h | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'sys/arch/arc/include') diff --git a/sys/arch/arc/include/cpu.h b/sys/arch/arc/include/cpu.h index a15717c3374..f43cf199abf 100644 --- a/sys/arch/arc/include/cpu.h +++ b/sys/arch/arc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.1 1996/06/24 09:07:17 pefo Exp $ */ +/* $OpenBSD: cpu.h,v 1.2 1996/07/16 07:46:17 pefo Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -274,7 +274,7 @@ #endif /* _KERNEL */ /* - * Exported definitions unique to pica/mips cpu support. + * Exported definitions unique to mips cpu support. */ /* diff --git a/sys/arch/arc/include/param.h b/sys/arch/arc/include/param.h index a24f4b327c4..9c87d6683c7 100644 --- a/sys/arch/arc/include/param.h +++ b/sys/arch/arc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.1 1996/06/24 09:07:17 pefo Exp $ */ +/* $OpenBSD: param.h,v 1.2 1996/07/16 07:46:17 pefo Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -137,10 +137,10 @@ /* * Mach derived conversion macros */ -#define pica_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) -#define pica_trunc_page(x) ((unsigned)(x) & ~(NBPG-1)) -#define pica_btop(x) ((unsigned)(x) >> PGSHIFT) -#define pica_ptob(x) ((unsigned)(x) << PGSHIFT) +#define mips_round_page(x) ((((unsigned)(x)) + NBPG - 1) & ~(NBPG-1)) +#define mips_trunc_page(x) ((unsigned)(x) & ~(NBPG-1)) +#define mips_btop(x) ((unsigned)(x) >> PGSHIFT) +#define mips_ptob(x) ((unsigned)(x) << PGSHIFT) #ifdef _KERNEL #ifndef _LOCORE diff --git a/sys/arch/arc/include/pmap.h b/sys/arch/arc/include/pmap.h index 6582b7b13ba..216571f641b 100644 --- a/sys/arch/arc/include/pmap.h +++ b/sys/arch/arc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.1 1996/06/24 09:07:17 pefo Exp $ */ +/* $OpenBSD: pmap.h,v 1.2 1996/07/16 07:46:18 pefo Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -64,8 +64,8 @@ * dynamically allocated at boot time. */ -#define pica_trunc_seg(x) ((vm_offset_t)(x) & ~SEGOFSET) -#define pica_round_seg(x) (((vm_offset_t)(x) + SEGOFSET) & ~SEGOFSET) +#define mips_trunc_seg(x) ((vm_offset_t)(x) & ~SEGOFSET) +#define mips_round_seg(x) (((vm_offset_t)(x) + SEGOFSET) & ~SEGOFSET) #define pmap_segmap(m, v) ((m)->pm_segtab->seg_tab[((v) >> SEGSHIFT)]) #define PMAP_SEGTABSIZE 512 -- cgit v1.2.3