ia64/xen-unstable

view extras/mini-os/include/gnttab.h @ 16838:945820bfedb6

minios: POSIX fixes
Fixes some functions which are POSIX. Also make them ifndef HAVE_LIBC.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 22 14:20:22 2008 +0000 (2008-01-22)
parents 4a669bd50657
children 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);
15 #endif /* !__GNTTAB_H__ */