Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 Need the successful count (for AMI debugging)
details: https://anonhg.NetBSD.org/src/rev/e4c49e3260bd
branches: trunk
changeset: 759902:e4c49e3260bd
user: jym <jym%NetBSD.org@localhost>
date: Sun Dec 19 23:23:35 2010 +0000
description:
Need the successful count (for AMI debugging)
diffstat:
sys/arch/xen/x86/x86_xpmap.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r beeddd51d6ab -r e4c49e3260bd sys/arch/xen/x86/x86_xpmap.c
--- a/sys/arch/xen/x86/x86_xpmap.c Sun Dec 19 23:22:46 2010 +0000
+++ b/sys/arch/xen/x86/x86_xpmap.c Sun Dec 19 23:23:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_xpmap.c,v 1.21 2010/07/24 00:45:56 jym Exp $ */
+/* $NetBSD: x86_xpmap.c,v 1.22 2010/12/19 23:23:35 jym Exp $ */
/*
* Copyright (c) 2006 Mathieu Ropert <mro%adviseo.fr@localhost>
@@ -69,7 +69,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.21 2010/07/24 00:45:56 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.22 2010/12/19 23:23:35 jym Exp $");
#include "opt_xen.h"
#include "opt_ddb.h"
@@ -175,7 +175,8 @@
xpq_queue[i].ptr, xpq_queue[i].val));
if (xpq_idx != 0 &&
HYPERVISOR_mmu_update_self(xpq_queue, xpq_idx, &ok) < 0) {
- printf("xpq_flush_queue: %d entries \n", xpq_idx);
+ printf("xpq_flush_queue: %d entries (%d successful)\n",
+ xpq_idx, ok);
for (i = 0; i < xpq_idx; i++)
printf("0x%016" PRIx64 ": 0x%016" PRIx64 "\n",
xpq_queue[i].ptr, xpq_queue[i].val);
Home |
Main Index |
Thread Index |
Old Index