|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
Helper macros used by compartment-macros.h. More...
#include <__cheri_sealed.h>#include <cdefs.h>#include <stdbool.h>Go to the source code of this file.
Macros | |
| #define | IMPORT_CAPABILITY_WITH_PERMISSIONS_HELPER(type, name, prefix, mangledName, permitLoad, permitStore, permitLoadStoreCapabilities, permitLoadMutable, permitLoadGlobal) |
| #define | CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_true(flag) |
| #define | CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_1(flag) |
| #define | CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_false(flag) |
| #define | CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_0(flag) |
| #define | CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG(cond, flag) |
| #define | CHERIOT_COMPARTMENT_MACROS_JOIN_FLAGS(pL, pS, pC, pM, pG) |
| #define | CHERIOT_COMPARTMENT_MACROS_TOKEN_PASTE_INNER(x, y) |
| #define | CHERIOT_COMPARTMENT_MACROS_TOKEN_PASTE(x, y) |
| #define | MMIO_CAPABILITY_WITH_PERMISSIONS_HELPER( type, name, mangledName, permitLoad, permitStore, permitLoadStoreCapabilities, permitLoadMutable, permitLoadGlobal) |
| #define | CHERIOT_EMIT_STATIC_SEALING_TYPE(name) |
| #define | COMPARTMENT_NAME_STRING __XSTRING(__CHERI_COMPARTMENT__) |
Helper macros used by compartment-macros.h.
Do not use any of the macros in this file directly.
These are separated to make the documentation of compartment-macros.h cleaner.
Definition in file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_JOIN_FLAGS | ( | pL, | |
| pS, | |||
| pC, | |||
| pM, | |||
| pG ) |
Definition at line 71 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG | ( | cond, | |
| flag ) |
Definition at line 67 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_0 | ( | flag | ) |
Definition at line 65 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_1 | ( | flag | ) |
Definition at line 63 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_false | ( | flag | ) |
Definition at line 64 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_PERMIT_FLAG_true | ( | flag | ) |
Definition at line 62 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_TOKEN_PASTE | ( | x, | |
| y ) |
Definition at line 79 of file __compartment-macros.h.
| #define CHERIOT_COMPARTMENT_MACROS_TOKEN_PASTE_INNER | ( | x, | |
| y ) |
Definition at line 78 of file __compartment-macros.h.
| #define CHERIOT_EMIT_STATIC_SEALING_TYPE | ( | name | ) |
Definition at line 190 of file __compartment-macros.h.
| #define COMPARTMENT_NAME_STRING __XSTRING(__CHERI_COMPARTMENT__) |
Definition at line 231 of file __compartment-macros.h.
| #define IMPORT_CAPABILITY_WITH_PERMISSIONS_HELPER | ( | type, | |
| name, | |||
| prefix, | |||
| mangledName, | |||
| permitLoad, | |||
| permitStore, | |||
| permitLoadStoreCapabilities, | |||
| permitLoadMutable, | |||
| permitLoadGlobal ) |
Definition at line 26 of file __compartment-macros.h.
| #define MMIO_CAPABILITY_WITH_PERMISSIONS_HELPER | ( | type, | |
| name, | |||
| mangledName, | |||
| permitLoad, | |||
| permitStore, | |||
| permitLoadStoreCapabilities, | |||
| permitLoadMutable, | |||
| permitLoadGlobal ) |
Definition at line 124 of file __compartment-macros.h.