/* * Copyright 2017, 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; /* potential cap holding information for cleanup that needs to be happen *after* a * cap has been deleted. Where deleted here means been removed from the slot in emptySlot */ cap_t cleanupInfo; }; typedef struct finaliseCap_ret finaliseCap_ret_t; #endif