Cosmetics.

This commit is contained in:
tsubai 2001-03-07 08:18:45 +00:00
parent 973904ff17
commit 83eac66533
1 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.34 2001/02/04 17:38:11 briggs Exp $ */ /* $NetBSD: pmap.c,v 1.35 2001/03/07 08:18:45 tsubai Exp $ */
/* /*
* Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -128,8 +128,8 @@ static inline void tlbia __P((void));
static inline int ptesr __P((sr_t *, vaddr_t)); static inline int ptesr __P((sr_t *, vaddr_t));
static inline int pteidx __P((sr_t, vaddr_t)); static inline int pteidx __P((sr_t, vaddr_t));
static inline int ptematch __P((pte_t *, sr_t, vaddr_t, int)); static inline int ptematch __P((pte_t *, sr_t, vaddr_t, int));
static __inline struct pv_entry *pa_to_pv __P((paddr_t)); static inline struct pv_entry *pa_to_pv __P((paddr_t));
static __inline char *pa_to_attr __P((paddr_t)); static inline char *pa_to_attr __P((paddr_t));
static int pte_insert __P((int, pte_t *)); static int pte_insert __P((int, pte_t *));
int pte_spill __P((vaddr_t)); /* Called from trap_subr.S */ int pte_spill __P((vaddr_t)); /* Called from trap_subr.S */
static inline int pmap_enter_pv __P((int, vaddr_t, paddr_t)); static inline int pmap_enter_pv __P((int, vaddr_t, paddr_t));
@ -196,7 +196,7 @@ ptematch(ptp, sr, va, which)
| which); | which);
} }
static __inline struct pv_entry * static inline struct pv_entry *
pa_to_pv(pa) pa_to_pv(pa)
paddr_t pa; paddr_t pa;
{ {
@ -208,7 +208,7 @@ pa_to_pv(pa)
return &vm_physmem[bank].pmseg.pvent[pg]; return &vm_physmem[bank].pmseg.pvent[pg];
} }
static __inline char * static inline char *
pa_to_attr(pa) pa_to_attr(pa)
paddr_t pa; paddr_t pa;
{ {
@ -814,7 +814,7 @@ pmap_free_pv(pv)
/* /*
* We really hope that we don't need overflow entries * We really hope that we don't need overflow entries
* before the VM system is initialized! XXX * before the VM system is initialized! XXX
*/ */
static struct pte_ovfl * static struct pte_ovfl *
poalloc() poalloc()
@ -830,7 +830,7 @@ poalloc()
if (po_nfree == 0) { if (po_nfree == 0) {
/* /*
* Since we cannot use maps for potable allocation, * Since we cannot use maps for potable allocation,
* we have to steal some memory from the VM system. XXX * we have to steal some memory from the VM system. XXX
*/ */
mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE); mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
po_pcnt++; po_pcnt++;