seL4/include/object/cap.h
2017-02-21 16:38:51 +11:00

28 lines
631 B
C

/*
* Copyright 2016, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(DATA61_GPL)
*/
#ifndef __OBJECT_CAP_H
#define __OBJECT_CAP_H
struct deriveCap_ret {
exception_t status;
cap_t cap;
};
typedef struct deriveCap_ret deriveCap_ret_t;
struct finaliseCap_ret {
cap_t remainder;
irq_t irq;
};
typedef struct finaliseCap_ret finaliseCap_ret_t;
#endif