view xen/include/asm-x86/hvm/guest_access.h @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents ebbd0e8c3e72
line source
1 #ifndef __ASM_X86_HVM_GUEST_ACCESS_H__
2 #define __ASM_X86_HVM_GUEST_ACCESS_H__
4 #include <xen/percpu.h>
5 DECLARE_PER_CPU(bool_t, hvm_64bit_hcall);
7 unsigned long copy_to_user_hvm(void *to, const void *from, unsigned len);
8 unsigned long copy_from_user_hvm(void *to, const void *from, unsigned len);
10 #endif /* __ASM_X86_HVM_GUEST_ACCESS_H__ */