Jerone Young
2005-May-17 16:59 UTC
[Xen-devel] [PATCH] add need definitions to libxc for x86-64
This patch adds need definitions to xc_private.h so that libxc can be x86-64 enabled. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> -- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
David Hopwood
2005-May-18 20:50 UTC
Re: [Xen-devel] [PATCH] add need definitions to libxc for x86-64
Jerone Young wrote:> This patch adds need definitions to xc_private.h so that libxc can be > x86-64 enabled.> +#if defined(__i386__) > #define ENTRIES_PER_L1_PAGETABLE 1024 > #define ENTRIES_PER_L2_PAGETABLE 1024 > +#elif defined(__x86_64__) > +#define L1_PAGETABLE_ENTRIES 512 > +#define L2_PAGETABLE_ENTRIES 512 > +#define L3_PAGETABLE_ENTRIES 512 > +#define L4_PAGETABLE_ENTRIES 512 > +#endifWhy aren''t these named consistently (all "ENTRIES_PER_Lx_PAGETABLE" or all "Lx_PAGETABLE_ENTRIES")? -- David Hopwood <david.nospam.hopwood@blueyonder.co.uk> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel