view extras/mini-os/include/gnttab.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 2197a263a300
line source
1 #ifndef __GNTTAB_H__
2 #define __GNTTAB_H__
4 #include <xen/grant_table.h>
6 void init_gnttab(void);
7 grant_ref_t gnttab_alloc_and_grant(void **map);
8 grant_ref_t gnttab_grant_access(domid_t domid, unsigned long frame,
9 int readonly);
10 grant_ref_t gnttab_grant_transfer(domid_t domid, unsigned long pfn);
11 unsigned long gnttab_end_transfer(grant_ref_t gref);
12 int gnttab_end_access(grant_ref_t ref);
13 const char *gnttabop_error(int16_t status);
14 void fini_gnttab(void);
16 #endif /* !__GNTTAB_H__ */