aprintify

This commit is contained in:
jmcneill 2007-12-01 16:59:13 +00:00
parent 3e9b14ec02
commit ad3709398d
2 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bios32.c,v 1.9 2007/11/22 16:16:40 bouyer Exp $ */
/* $NetBSD: bios32.c,v 1.10 2007/12/01 16:59:13 jmcneill Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.9 2007/11/22 16:16:40 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.10 2007/12/01 16:59:13 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -122,12 +122,12 @@ bios32_init()
entry = *(u_int32_t *)(p + 4);
printf("BIOS32 rev. %d found at 0x%lx\n",
aprint_verbose("BIOS32 rev. %d found at 0x%lx\n",
*(p + 8), entry);
if (entry < BIOS32_START ||
entry >= BIOS32_END) {
printf("BIOS32 entry point outside "
aprint_error("BIOS32 entry point outside "
"allowable range\n");
entry = 0;
}
@ -188,7 +188,7 @@ bios32_init()
#endif
pmap_update(pmap_kernel());
printf("SMBIOS rev. %d.%d @ 0x%lx (%d entries)\n",
aprint_normal("SMBIOS rev. %d.%d @ 0x%lx (%d entries)\n",
sh->majrev, sh->minrev, (u_long)sh->addr,
sh->count);
@ -223,7 +223,8 @@ bios32_service(service, e, ei)
entry = ebx + edx;
if (entry < BIOS32_START || entry >= BIOS32_END) {
printf("bios32: entry point for service %c%c%c%c is outside "
aprint_error(
"bios32: entry point for service %c%c%c%c is outside "
"allowable range\n",
service & 0xff,
(service >> 8) & 0xff,

View File

@ -1,4 +1,4 @@
/* $NetBSD: bios32.c,v 1.15 2007/10/17 19:54:44 garbled Exp $ */
/* $NetBSD: bios32.c,v 1.16 2007/12/01 16:59:13 jmcneill Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.15 2007/10/17 19:54:44 garbled Exp $");
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.16 2007/12/01 16:59:13 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -203,7 +203,7 @@ bios32_init()
for (; pa < end; pa+= NBPG, eva+= NBPG)
pmap_kenter_pa(eva, pa, VM_PROT_READ);
printf("SMBIOS rev. %d.%d @ 0x%lx (%d entries)\n",
aprint_normal("SMBIOS rev. %d.%d @ 0x%lx (%d entries)\n",
sh->majrev, sh->minrev, (u_long)sh->addr,
sh->count);