Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/x68k Make it compile with EM_DEBUG (..here, EM...
details: https://anonhg.NetBSD.org/src/rev/568451de6e9f
branches: trunk
changeset: 773238:568451de6e9f
user: isaki <isaki%NetBSD.org@localhost>
date: Sun Jan 29 12:43:00 2012 +0000
description:
Make it compile with EM_DEBUG (..here, EM_ is EXTENDED_MEMORY).
diffstat:
sys/arch/x68k/x68k/machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 906675704c6a -r 568451de6e9f sys/arch/x68k/x68k/machdep.c
--- a/sys/arch/x68k/x68k/machdep.c Sun Jan 29 12:37:01 2012 +0000
+++ b/sys/arch/x68k/x68k/machdep.c Sun Jan 29 12:43:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.180 2012/01/21 20:19:55 tsutsui Exp $ */
+/* $NetBSD: machdep.c,v 1.181 2012/01/29 12:43:00 isaki Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.180 2012/01/21 20:19:55 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.181 2012/01/29 12:43:00 isaki Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -992,8 +992,8 @@
void *begin_check, *end_check;
label_t faultbuf;
- DPRINTF(("Enter mem_exists(%p, %x)\n", mem, basemax));
- DPRINTF((" pmap_enter(%p, %p) for target... ", mem_v, mem));
+ DPRINTF(("Enter mem_exists(%p, %lx)\n", mem, basemax));
+ DPRINTF((" pmap_enter(%" PRIxVADDR ", %p) for target... ", mem_v, mem));
pmap_enter(pmap_kernel(), mem_v, (paddr_t)mem,
VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|PMAP_WIRED);
pmap_update(pmap_kernel());
@@ -1001,7 +1001,7 @@
/* only 24bits are significant on normal X680x0 systems */
base = (void *)((u_long)mem & 0x00FFFFFF);
- DPRINTF((" pmap_enter(%p, %p) for shadow... ", base_v, base));
+ DPRINTF((" pmap_enter(%" PRIxVADDR ", %p) for shadow... ", base_v, base));
pmap_enter(pmap_kernel(), base_v, (paddr_t)base,
VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|PMAP_WIRED);
pmap_update(pmap_kernel());
Home |
Main Index |
Thread Index |
Old Index