* [patch] l?e_get_value() & L?_DISALLOW_MASK is (now) meaningless
@ 2005-05-31 19:29 Scott Parish
0 siblings, 0 replies; only message in thread
From: Scott Parish @ 2005-05-31 19:29 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
Use l?e_get_flags() instead.
sRp
--
Scott Parish
Signed-off-by: srparish@us.ibm.com
[-- Attachment #2: flags.diff --]
[-- Type: text/plain, Size: 1895 bytes --]
diff -rN -u -p old-xen-64-4/xen/arch/x86/mm.c new-xen-64-4/xen/arch/x86/mm.c
--- old-xen-64-4/xen/arch/x86/mm.c 2005-05-31 16:15:06.000000000 +0000
+++ new-xen-64-4/xen/arch/x86/mm.c 2005-05-31 19:06:58.000000000 +0000
@@ -988,8 +988,8 @@ static int mod_l1_entry(l1_pgentry_t *pl
{
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 type settings %08x\n",
+ (l1e_get_flags(nl1e) & L1_DISALLOW_MASK));
return 0;
}
@@ -1049,8 +1049,8 @@ static int mod_l2_entry(l2_pgentry_t *pl
{
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 type settings %08x\n",
+ (l2e_get_flags(nl2e) & L2_DISALLOW_MASK));
return 0;
}
@@ -1104,8 +1104,8 @@ static int mod_l3_entry(l3_pgentry_t *pl
{
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 type settings %08x\n",
+ (l3e_get_flags(nl3e) & L3_DISALLOW_MASK));
return 0;
}
@@ -1161,8 +1161,8 @@ static int mod_l4_entry(l4_pgentry_t *pl
{
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 type settings %08x",
+ l4e_get_flags(nl4e) & L4_DISALLOW_MASK);
return 0;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-31 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-31 19:29 [patch] l?e_get_value() & L?_DISALLOW_MASK is (now) meaningless Scott Parish
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.