This commit also converts our own copyright headers to directly use SPDX, but leaves all other copyright header intact, only adding the SPDX ident. As far as possible this commit also merges multiple Data61 copyright statements/headers into one for consistency.
24 lines
579 B
C
24 lines
579 B
C
/*
|
|
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-only
|
|
*/
|
|
|
|
#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
|