diff options
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r-- | sys/arch/m88k/include/mmu.h | 6 | ||||
-rw-r--r-- | sys/arch/m88k/include/pmap.h | 4 | ||||
-rw-r--r-- | sys/arch/m88k/include/vmparam.h | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/sys/arch/m88k/include/mmu.h b/sys/arch/m88k/include/mmu.h index e44180047da..6984c374327 100644 --- a/sys/arch/m88k/include/mmu.h +++ b/sys/arch/m88k/include/mmu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mmu.h,v 1.4 2005/09/15 21:07:04 miod Exp $ */ +/* $OpenBSD: mmu.h,v 1.5 2005/12/01 22:24:49 miod Exp $ */ /* * This file bears almost no resemblance to the original m68k file, @@ -102,8 +102,6 @@ typedef u_int32_t sdt_entry_t; -#define SDT_ENTRY_NULL ((sdt_entry_t *) 0) - #define SG_V 0x00000001 #define SG_NV 0x00000000 #define SG_PROT 0x00000004 @@ -121,8 +119,6 @@ typedef u_int32_t sdt_entry_t; typedef u_int32_t pt_entry_t; -#define PT_ENTRY_NULL ((pt_entry_t *) 0) - #define PG_V 0x00000001 #define PG_NV 0x00000000 #define PG_PROT 0x00000004 diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h index c4a950d5752..6c26c4095c6 100644 --- a/sys/arch/m88k/include/pmap.h +++ b/sys/arch/m88k/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.5 2005/03/28 12:42:44 miod Exp $ */ +/* $OpenBSD: pmap.h,v 1.6 2005/12/01 22:24:49 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1991 Carnegie Mellon University @@ -31,8 +31,6 @@ struct pmap { struct pmap_statistics pm_stats; /* pmap statistics */ }; -#define PMAP_NULL ((pmap_t) 0) - /* The PV (Physical to virtual) List. * * For each vm_page_t, pmap keeps a list of all currently valid virtual diff --git a/sys/arch/m88k/include/vmparam.h b/sys/arch/m88k/include/vmparam.h index 9f1a26d19e0..8f19a0667c1 100644 --- a/sys/arch/m88k/include/vmparam.h +++ b/sys/arch/m88k/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.3 2005/04/11 15:13:01 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.4 2005/12/01 22:24:49 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1992 Carnegie Mellon University @@ -114,7 +114,7 @@ struct vm_page_md { #define VM_MDPAGE_INIT(pg) do { \ (pg)->mdpage.pvent.pv_next = NULL; \ - (pg)->mdpage.pvent.pv_pmap = PMAP_NULL; \ + (pg)->mdpage.pvent.pv_pmap = NULL; \ (pg)->mdpage.pvent.pv_va = 0; \ (pg)->mdpage.pvent.pv_flags = 0; \ } while (0) |