s/_trunc_page/m68k_trunc_page/
This commit is contained in:
parent
489e0898d3
commit
b1dc6a8603
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bus_subr.c,v 1.7 1997/05/30 07:02:14 jeremy Exp $ */
|
||||
/* $NetBSD: bus_subr.c,v 1.8 1997/06/10 19:36:53 veego Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -164,7 +164,7 @@ bus_peek(bustype, paddr, sz)
|
||||
return -1;
|
||||
|
||||
offset = paddr & ~(MMU_PAGE_MASK);
|
||||
paddr = _trunc_page(paddr);
|
||||
paddr = m68k_trunc_page(paddr);
|
||||
paddr |= bustype_to_patype[bustype];
|
||||
paddr |= PMAP_NC;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bus_subr.c,v 1.7 1997/05/30 07:02:14 jeremy Exp $ */
|
||||
/* $NetBSD: bus_subr.c,v 1.8 1997/06/10 19:36:53 veego Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -164,7 +164,7 @@ bus_peek(bustype, paddr, sz)
|
||||
return -1;
|
||||
|
||||
offset = paddr & ~(MMU_PAGE_MASK);
|
||||
paddr = _trunc_page(paddr);
|
||||
paddr = m68k_trunc_page(paddr);
|
||||
paddr |= bustype_to_patype[bustype];
|
||||
paddr |= PMAP_NC;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: db_memrw.c,v 1.3 1997/03/13 17:40:39 gwr Exp $ */
|
||||
/* $NetBSD: db_memrw.c,v 1.4 1997/06/10 19:36:55 veego Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -118,7 +118,7 @@ db_write_text(dst, size, data)
|
||||
if (size <= 0)
|
||||
return;
|
||||
|
||||
pgva = _trunc_page((long)dst);
|
||||
pgva = m68k_trunc_page((long)dst);
|
||||
|
||||
goto firstpage;
|
||||
do {
|
||||
@ -128,7 +128,7 @@ db_write_text(dst, size, data)
|
||||
* for the previous page, and make the new
|
||||
* page writable.
|
||||
*/
|
||||
pgva = _trunc_page((long)dst);
|
||||
pgva = m68k_trunc_page((long)dst);
|
||||
if (pgva != prevpg) {
|
||||
/* Restore old PTE and flush the cache. */
|
||||
set_pte(prevpg, oldpte);
|
||||
|
Loading…
Reference in New Issue
Block a user