diff options
author | danh-arm <dan.handley@arm.com> | 2016-01-13 11:41:46 +0000 |
---|---|---|
committer | danh-arm <dan.handley@arm.com> | 2016-01-13 11:41:46 +0000 |
commit | e123b2a37aa8c0be445bd1f0284b3907b91e5b29 (patch) | |
tree | b6311d8049b242ac6ec2786e60de61f7574c7ae3 /include/common/bl_common.h | |
parent | 0812d49cbd2ce1215f383eecae7870022818abdf (diff) | |
parent | b313d755a7fe92ab5e576376a10051db1ba1c92f (diff) |
Merge pull request #483 from soby-mathew/sm/rm_struct_padding
Rearrange fields in TF data structures to reduce padding
Diffstat (limited to 'include/common/bl_common.h')
-rw-r--r-- | include/common/bl_common.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 0ec7a8d8..e5e6717b 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -202,8 +202,9 @@ typedef struct param_header { * switching exception levels. The only two mechanisms to do so are * ERET & SMC. Security state is indicated using bit zero of header * attribute - * NOTE: BL1 expects entrypoint followed by spsr while processing - * SMC to jump to BL31 from the start of entry_point_info + * NOTE: BL1 expects entrypoint followed by spsr at an offset from the start + * of this structure defined by the macro `ENTRY_POINT_INFO_PC_OFFSET` while + * processing SMC to jump to BL31. *****************************************************************************/ typedef struct entry_point_info { param_header_t h; @@ -232,13 +233,13 @@ typedef struct image_info { typedef struct image_desc { /* Contains unique image id for the image. */ unsigned int image_id; - image_info_t image_info; - entry_point_info_t ep_info; /* * This member contains Image state information. * Refer IMAGE_STATE_XXX defined above. */ unsigned int state; + image_info_t image_info; + entry_point_info_t ep_info; } image_desc_t; /******************************************************************************* |