ChangeSet 1.1621, 2005/05/31 22:40:12+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
mm debug cleanup.
Signed-off-by: Scott Parish <srparish@xxxxxxxxxx>
mm.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff -Nru a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c 2005-05-31 18:02:33 -04:00
+++ b/xen/arch/x86/mm.c 2005-05-31 18:02:33 -04:00
@@ -962,7 +962,8 @@
if ( unlikely(cmpxchg_user(pl1e, o, n) != 0) ||
unlikely(o != l1e_get_value(ol1e)) )
{
- MEM_LOG("Failed to update %" PRIpte " -> %" PRIpte ": saw %" PRIpte
"\n",
+ MEM_LOG("Failed to update %" PRIpte " -> %" PRIpte
+ ": saw %" PRIpte "\n",
l1e_get_value(ol1e),
l1e_get_value(nl1e),
o);
@@ -988,8 +989,8 @@
{
if ( unlikely(l1e_get_flags(nl1e) & L1_DISALLOW_MASK) )
{
- MEM_LOG("Bad L1 type settings %" PRIpte "\n",
- (l1e_get_value(nl1e) & L1_DISALLOW_MASK));
+ MEM_LOG("Bad L1 flags %x\n",
+ l1e_get_flags(nl1e) & L1_DISALLOW_MASK);
return 0;
}
@@ -1049,8 +1050,8 @@
{
if ( unlikely(l2e_get_flags(nl2e) & L2_DISALLOW_MASK) )
{
- MEM_LOG("Bad L2 type settings %" PRIpte "\n",
- (l2e_get_value(nl2e) & L2_DISALLOW_MASK));
+ MEM_LOG("Bad L2 flags %x\n",
+ l2e_get_flags(nl2e) & L2_DISALLOW_MASK);
return 0;
}
@@ -1104,8 +1105,8 @@
{
if ( unlikely(l3e_get_flags(nl3e) & L3_DISALLOW_MASK) )
{
- MEM_LOG("Bad L3 type settings %" PRIpte "",
- (u64)(l3e_get_value(nl3e) & L3_DISALLOW_MASK));
+ MEM_LOG("Bad L3 flags %x\n",
+ l3e_get_flags(nl3e) & L3_DISALLOW_MASK);
return 0;
}
@@ -1161,8 +1162,8 @@
{
if ( unlikely(l4e_get_flags(nl4e) & L4_DISALLOW_MASK) )
{
- MEM_LOG("Bad L4 type settings %lx",
- l4e_get_value(nl4e) & L4_DISALLOW_MASK);
+ MEM_LOG("Bad L4 flags %x\n",
+ l4e_get_flags(nl4e) & L4_DISALLOW_MASK);
return 0;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|