seL4/include/object/cap.h
Qian Ge 512a0200de replacing all ifndef with pargma once
All the kernel header files now use pargma once rather than the ifndef,
as the pre-processed C files do not change while header files
are protected with pargma once. This will also solve any naming issues
caused by ifndef.
2020-03-23 11:04:46 +11:00

22 lines
539 B
C

/*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
*
* SPDX-License-Identifier: GPL-2.0-only
*/
#pragma once
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;