summaryrefslogtreecommitdiff
path: root/sys/arch/atari/include
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2008-12-09 20:45:44 +0000
committerpooka <pooka@NetBSD.org>2008-12-09 20:45:44 +0000
commit29d439f8982fbf6bc2fbb7a7824942dd1dccd814 (patch)
treebafdd703fcbee1a2da9c7974594827bb0a82eaa5 /sys/arch/atari/include
parente24ba97e093d9df60e0adf0d31069175a48e580e (diff)
Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module. pmap_kernel() remains as the syntactic sugar. Bonus cosmetics round: move all the pmap_t pointer typedefs into uvm_pmap.h. Thanks to Greg Oster for providing cpu muscle for doing test builds.
Diffstat (limited to 'sys/arch/atari/include')
-rw-r--r--sys/arch/atari/include/pmap.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/atari/include/pmap.h b/sys/arch/atari/include/pmap.h
index 5b2c187c5a7..e689acb069d 100644
--- a/sys/arch/atari/include/pmap.h
+++ b/sys/arch/atari/include/pmap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.37 2008/11/15 21:30:50 abs Exp $ */
+/* $NetBSD: pmap.h,v 1.38 2008/12/09 20:45:44 pooka Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@@ -93,8 +93,6 @@ struct pmap {
struct pmap_statistics pm_stats; /* pmap statistics */
};
-typedef struct pmap *pmap_t;
-
/*
* On the 040 we keep track of which level 2 blocks are already in use
* with the pm_stfree mask. Bits are arranged from LSB (block 0) to MSB
@@ -182,9 +180,7 @@ struct memseg usable_segs[NMEM_SEGS];
pv_entry_t pv_table; /* array of entries, one per page */
u_int *Sysmap;
char *vmmap; /* map for mem, dumps, etc. */
-struct pmap kernel_pmap_store;
-#define pmap_kernel() (&kernel_pmap_store)
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)