diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-16 07:46:19 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-16 07:46:19 +0000 |
commit | 72c7a95f808a0ca3f9ae2ef3604ac6f9dd40fb30 (patch) | |
tree | f855a52b345a9e168ac23a5767e5995141125842 /sys/arch/arc/include | |
parent | 5f70aefc7d9a41ec2635c1d255b802a6977b4d41 (diff) |
Rename some 'pica' names to 'mips'.
Diffstat (limited to 'sys/arch/arc/include')
-rw-r--r-- | sys/arch/arc/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/arc/include/param.h | 10 | ||||
-rw-r--r-- | sys/arch/arc/include/pmap.h | 6 |
3 files changed, 10 insertions, 10 deletions
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 |