mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
libsel4: Eliminate unnamed enums
Signed-off-by: Nick Spinale <nick@nickspinale.com>
This commit is contained in:
committed by
Gerwin Klein
parent
7d3353332a
commit
9bac64c6ce
@@ -11,7 +11,7 @@
|
||||
#include <sel4/sel4_arch/constants.h>
|
||||
|
||||
/* caps with fixed slot positions in the root CNode */
|
||||
enum {
|
||||
enum seL4_RootCNodeCapSlots {
|
||||
seL4_CapNull = 0, /* null cap */
|
||||
seL4_CapInitThreadTCB = 1, /* initial thread's TCB cap */
|
||||
seL4_CapInitThreadCNode = 2, /* initial thread's root CNode cap */
|
||||
|
||||
@@ -51,12 +51,10 @@ enum priorityConstants {
|
||||
|
||||
enum seL4_MsgLimits {
|
||||
seL4_MsgLengthBits = 7,
|
||||
seL4_MsgExtraCapBits = 2
|
||||
seL4_MsgExtraCapBits = 2,
|
||||
seL4_MsgMaxLength = 120
|
||||
};
|
||||
|
||||
enum {
|
||||
seL4_MsgMaxLength = 120,
|
||||
};
|
||||
#define seL4_MsgMaxExtraCaps (LIBSEL4_BIT(seL4_MsgExtraCapBits)-1)
|
||||
|
||||
/* seL4_CapRights_t defined in shared_types_*.bf */
|
||||
|
||||
Reference in New Issue
Block a user