]> rtime.felk.cvut.cz Git - frescor/fwp.git/blob - frsh/frsh_vres.h
My frsh: resmngr_calls change to resmngt_calls
[frescor/fwp.git] / frsh / frsh_vres.h
1 /**
2  * \file frsh_vres.h
3  *
4  * This file defines FRESCOR virtual resource.
5  *
6  * IMPORTANT: OS must support virtual resources within lightweight 
7  * virtualization. Like in Aquosa, call qres_create_server creates vres 
8  * in kernel and return its ID (better called descriptor).
9  * 
10  * Therefore VRES definition (structure, functionality) does NOT belong to frsh
11  * - it is contract(NOT vres) based framework. However, for resources that are 
12  * not light-virtualized in kernel we must define FRESCOR vres. That vres lies 
13  * in user space.
14  *
15  */
16
17 /* FRSH descriptor type */
18 typedef unsigned int frsh_vres_d_t;
19
20 /*typedef struct frsh_vres_ops{
21                 write;
22                 read;
23                 get_budget;     
24         
25 } frsh_vres_t; */
26