[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Make MAX_VIRT_CPUS arch-dep
ChangeSet 1.1709.1.14, 2005/06/16 13:10:49-06:00, djm@xxxxxxxxxxxxxxx Make MAX_VIRT_CPUS arch-dep arch-ia64.h | 4 ++++ arch-x86_32.h | 3 +++ arch-x86_64.h | 3 +++ xen.h | 3 --- 4 files changed, 10 insertions(+), 3 deletions(-) diff -Nru a/xen/include/public/arch-ia64.h b/xen/include/public/arch-ia64.h --- a/xen/include/public/arch-ia64.h 2005-06-19 14:05:24 -04:00 +++ b/xen/include/public/arch-ia64.h 2005-06-19 14:05:24 -04:00 @@ -14,6 +14,10 @@ #define _MEMORY_PADDING(_X) #define MEMORY_PADDING +/* Maximum number of virtual CPUs in multi-processor guests. */ +/* WARNING: before changing this, check that shared_info fits on a page */ +#define MAX_VIRT_CPUS 1 + #ifndef __ASSEMBLY__ /* NB. Both the following are 64 bits each. */ diff -Nru a/xen/include/public/arch-x86_32.h b/xen/include/public/arch-x86_32.h --- a/xen/include/public/arch-x86_32.h 2005-06-19 14:05:24 -04:00 +++ b/xen/include/public/arch-x86_32.h 2005-06-19 14:05:24 -04:00 @@ -73,6 +73,9 @@ #define machine_to_phys_mapping ((u32 *)HYPERVISOR_VIRT_START) #endif +/* Maximum number of virtual CPUs in multi-processor guests. */ +#define MAX_VIRT_CPUS 32 + #ifndef __ASSEMBLY__ /* NB. Both the following are 32 bits each. */ diff -Nru a/xen/include/public/arch-x86_64.h b/xen/include/public/arch-x86_64.h --- a/xen/include/public/arch-x86_64.h 2005-06-19 14:05:24 -04:00 +++ b/xen/include/public/arch-x86_64.h 2005-06-19 14:05:24 -04:00 @@ -73,6 +73,9 @@ #define HYPERVISOR_VIRT_END (0xFFFF880000000000UL) #endif +/* Maximum number of virtual CPUs in multi-processor guests. */ +#define MAX_VIRT_CPUS 32 + #ifndef __ASSEMBLY__ /* The machine->physical mapping table starts at this address, read-only. */ diff -Nru a/xen/include/public/xen.h b/xen/include/public/xen.h --- a/xen/include/public/xen.h 2005-06-19 14:05:24 -04:00 +++ b/xen/include/public/xen.h 2005-06-19 14:05:24 -04:00 @@ -287,9 +287,6 @@ /* Event channel endpoints per domain. */ #define NR_EVENT_CHANNELS 1024 -/* Support for multi-processor guests. */ -#define MAX_VIRT_CPUS 32 - /* * Per-VCPU information goes here. This will be cleaned up more when Xen * actually supports multi-VCPU guests. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |