diff options
Diffstat (limited to 'sys/arch/mac68k/mac68k/pmap.c')
-rw-r--r-- | sys/arch/mac68k/mac68k/pmap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mac68k/mac68k/pmap.c b/sys/arch/mac68k/mac68k/pmap.c index 779445637f8..607de2e0566 100644 --- a/sys/arch/mac68k/mac68k/pmap.c +++ b/sys/arch/mac68k/mac68k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.11 1999/01/11 05:11:36 millert Exp $ */ +/* $OpenBSD: pmap.c,v 1.12 1999/04/24 06:39:41 downsj Exp $ */ /* $NetBSD: pmap.c,v 1.28 1996/10/21 05:42:27 scottr Exp $ */ /* @@ -331,7 +331,7 @@ pmap_bootstrap_alloc(size) avail_start + size, VM_PROT_READ|VM_PROT_WRITE); avail_start += size; - avail_remaining -= mac68k_btop (size); + avail_remaining -= m68k_btop (size); /* XXX hope this doesn't pop it into the next range: */ avail_next += size; @@ -361,7 +361,7 @@ pmap_init() */ addr = (vm_offset_t) IOBase; (void) vm_map_find(kernel_map, NULL, (vm_offset_t) 0, &addr, - mac68k_ptob(IIOMAPSIZE + ROMMAPSIZE + NBMAPSIZE), + m68k_ptob(IIOMAPSIZE + ROMMAPSIZE + NBMAPSIZE), FALSE); if (addr != (vm_offset_t)IOBase) panic("pmap_init: I/O space not mapped!"); @@ -1100,7 +1100,7 @@ pmap_enter(pmap, va, pa, prot, wired) if (!pmap_ste_v(pmap, va)) pmap_enter_ptpage(pmap, va); - pa = mac68k_trunc_page(pa); + pa = m68k_trunc_page(pa); pte = pmap_pte(pmap, va); opa = pmap_pte_pa(pte); #ifdef DEBUG @@ -1644,7 +1644,7 @@ vm_offset_t pmap_phys_address(ppn) int ppn; { - return(mac68k_ptob(ppn)); + return(m68k_ptob(ppn)); } /* @@ -2373,12 +2373,12 @@ pmap_page_index(pa) index = 0; for (i = 0; i < numranges; i++) { if (pa >= low[i] && pa < high[i]) { - index += mac68k_btop (pa - low[i]); + index += m68k_btop (pa - low[i]); /* printf ("pmap_page_index(0x%x): returning %d\n", */ /* (int)pa, index); */ return index; } - index += mac68k_btop (high[i] - low[i]); + index += m68k_btop (high[i] - low[i]); } return -1; |