direct-io.hg

view extras/mini-os/include/gnttab.h @ 10643:bbea54da02b5

[MINIOS] Mapping page frames on demand added to the memory management.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
author kfraser@localhost.localdomain
date Wed Jul 05 14:29:57 2006 +0100 (2006-07-05)
parents
children 4a669bd50657
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);
14 #endif /* !__GNTTAB_H__ */