s/cpu_startup/sh3_startup/g in panic messages
This commit is contained in:
parent
2cf7638731
commit
d3e7333a60
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sh3_machdep.c,v 1.16 2001/08/12 08:35:33 jdolecek Exp $ */
|
||||
/* $NetBSD: sh3_machdep.c,v 1.17 2001/09/01 03:02:31 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -146,7 +146,7 @@ sh3_startup()
|
|||
NULL, UVM_UNKNOWN_OFFSET, 0,
|
||||
UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE,
|
||||
UVM_ADV_NORMAL, 0)) != 0)
|
||||
panic("cpu_startup: cannot allocate VM for buffers");
|
||||
panic("sh3_startup: cannot allocate VM for buffers");
|
||||
minaddr = (vaddr_t)buffers;
|
||||
if ((bufpages / nbuf) >= btoc(MAXBSIZE)) {
|
||||
/* don't want to alloc more physical mem than needed */
|
||||
|
@ -172,7 +172,7 @@ sh3_startup()
|
|||
while (curbufsize) {
|
||||
pg = uvm_pagealloc(NULL, 0, NULL, 0);
|
||||
if (pg == NULL)
|
||||
panic("cpu_startup: not enough memory for "
|
||||
panic("sh3_startup: not enough memory for "
|
||||
"buffer cache");
|
||||
pmap_kenter_pa(curbuf, VM_PAGE_TO_PHYS(pg),
|
||||
VM_PROT_READ|VM_PROT_WRITE);
|
||||
|
|
Loading…
Reference in New Issue