Annotation of Gnu-Mach/xen/grant.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  *  Copyright (C) 2006-2009 Free Software Foundation
                      3:  *
                      4:  * This program is free software ; you can redistribute it and/or modify
                      5:  * it under the terms of the GNU General Public License as published by
                      6:  * the Free Software Foundation ; either version 2 of the License, or
                      7:  * (at your option) any later version.
                      8:  *
                      9:  * This program is distributed in the hope that it will be useful,
                     10:  * but WITHOUT ANY WARRANTY ; without even the implied warranty of
                     11:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
                     12:  * GNU General Public License for more details.
                     13:  *
                     14:  * You should have received a copy of the GNU General Public License
                     15:  * along with the program ; if not, write to the Free Software
                     16:  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
                     17:  */
                     18: 
                     19: #ifndef XEN_GRANT_H
                     20: #define XEN_GRANT_H
                     21: #include <sys/types.h>
                     22: #include <machine/xen.h>
                     23: #include <xen/public/xen.h>
                     24: #include <xen/public/grant_table.h>
                     25: 
                     26: void hyp_grant_init(void);
                     27: grant_ref_t hyp_grant_give(domid_t domid, unsigned long frame_nr, int readonly);
                     28: void hyp_grant_takeback(grant_ref_t grant);
                     29: grant_ref_t hyp_grant_accept_transfer(domid_t domid, unsigned long frame_nr);
                     30: unsigned long hyp_grant_finish_transfer(grant_ref_t grant);
                     31: void *hyp_grant_address(grant_ref_t grant);
                     32: 
                     33: #endif /* XEN_GRANT_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.