[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] x86_64/page.h L1_DISALLOW_MASK, etc



In xen/include/asm-x86/x86_64/page.h, it appears the #defines for
L1_DISALLOW_MASK, L2_DISALLOW_MASK, etc. have the assignment backwards
in the conditional test.  The current code appears to be setting the NX
bit if the cpu does not have the NX feature, as opposed to if it does.

I have attached a patch of how I would change it to see if others agree.

Also, what exactly is being set when setting the 3 bits for the
L2_DISALLOW_MASK, L3_DISALLOW_MASK, and L4_DISALLOW_MASK definitions?

Karen

Attachment: page.disallow.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.