libsel4: Reorder bootinfo struct

This reorders the bootinfo struct to place the untyped array as the
last element. Having the array at the end makes the layout of the
information in this struct easier to represent in other languages.
This commit is contained in:
Adrian Danis 2016-11-14 08:58:18 +11:00
parent 93f59d4932
commit 05bf1ca44d

View file

@ -61,9 +61,11 @@ typedef struct {
seL4_SlotRegion ioSpaceCaps; /* IOSpace caps for ARM SMMU */
seL4_Uint8 initThreadCNodeSizeBits; /* initial thread's root CNode size (2^n slots) */
seL4_Domain initThreadDomain; /* Initial thread's domain ID */
seL4_Word archInfo; /* tsc freq on x86, unused on arm */
seL4_SlotRegion untyped; /* untyped-object caps (untyped caps) */
seL4_UntypedDesc untypedList[CONFIG_MAX_NUM_BOOTINFO_UNTYPED_CAPS]; /* information about each untyped */
seL4_Word archInfo; /* tsc freq on x86, unused on arm */
/* the untypedList should be the last entry in this struct, in order
* to make this struct easier to represent in other languages */
} seL4_BootInfo;