summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/pmap.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/sparc64/include/pmap.h
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc64/include/pmap.h')
-rw-r--r--sys/arch/sparc64/include/pmap.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/sparc64/include/pmap.h b/sys/arch/sparc64/include/pmap.h
index 81e368c8e8c..250d5ffe4ea 100644
--- a/sys/arch/sparc64/include/pmap.h
+++ b/sys/arch/sparc64/include/pmap.h
@@ -156,31 +156,31 @@ typedef struct pmap *pmap_t;
extern struct pmap kernel_pmap_;
#define pmap_kernel() (&kernel_pmap_)
-int pmap_count_res __P((pmap_t pmap));
-/* int pmap_change_wiring __P((pmap_t pm, vaddr_t va, boolean_t wired)); */
+int pmap_count_res(pmap_t pmap);
+/* int pmap_change_wiring(pmap_t pm, vaddr_t va, boolean_t wired); */
#define pmap_resident_count(pm) pmap_count_res((pm))
#define pmap_from_phys_address(x,f) ((x)&~PGOFSET)
#define pmap_phys_address(x) (x)
#define pmap_update(pm) /* nothing (yet) */
-void pmap_bootstrap __P((u_long kernelstart, u_long kernelend, u_int numctx));
+void pmap_bootstrap(u_long kernelstart, u_long kernelend, u_int numctx);
/* make sure all page mappings are modulo 16K to prevent d$ aliasing */
#define PMAP_PREFER(pa, va) (*(va)+=(((*(va))^(pa))&(1<<(PGSHIFT+1))))
#define PMAP_GROWKERNEL /* turn on pmap_growkernel interface */
/* SPARC specific? */
-void pmap_redzone __P((void));
-int pmap_dumpsize __P((void));
-int pmap_dumpmmu __P((int (*)__P((dev_t, daddr_t, caddr_t, size_t)),
+void pmap_redzone(void);
+int pmap_dumpsize(void);
+int pmap_dumpmmu __P((int (*)(dev_t, daddr_t, caddr_t, size_t),
daddr_t));
-int pmap_pa_exists __P((paddr_t));
+int pmap_pa_exists(paddr_t);
struct proc;
-void switchexit __P((struct proc *));
+void switchexit(struct proc *);
/* SPARC64 specific */
-int ctx_alloc __P((struct pmap*));
-void ctx_free __P((struct pmap*));
+int ctx_alloc(struct pmap*);
+void ctx_free(struct pmap*);
#endif /* _KERNEL */