[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [PATCH] Fix ASSERT failure caused by NX support code onx86_64
Hi Keir, I have a mistake in the previous patch, here is the fix, pls apply. Thanks -Xin diff -r c445d4a0dd76 xen/include/asm-x86/mm.h --- a/xen/include/asm-x86/mm.h Tue Mar 14 19:33:45 2006 +0100 +++ b/xen/include/asm-x86/mm.h Wed Mar 15 13:59:15 2006 +0800 @@ -100,7 +100,7 @@ struct page_info #ifdef __x86_64__ #define PGT_high_mfn_shift 52 -#define PGT_high_mfn_mask (0x7ffUL << PGT_high_mfn_shift) +#define PGT_high_mfn_mask (0xfffUL << PGT_high_mfn_shift) #define PGT_mfn_mask (((1U<<23)-1) | PGT_high_mfn_mask) #define PGT_high_mfn_nx (0x800UL << PGT_high_mfn_shift) #else >-----Original Message----- >From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx >[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Li, Xin B >Sent: 2006年3月14日 22:57 >To: Xen Devel >Subject: [Xen-devel] [PATCH] Fix ASSERT failure caused by NX >support code onx86_64 > >Fix ASSERT failure caused by NX support code on x86_64 >When turning on debug for x86_64, ASSERT(gpfn == (gpfn & PGT_mfn_mask)) >in __shadow_status will fail, this patch makes the NX support code >comply with this ASSERT. >NB: NX on PAE xen is not supported yet. > >Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx> >Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx> > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |