Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
97c9a42d
Commit
97c9a42d
authored
Jun 17, 2019
by
John Tsichritzis
Committed by
TrustedFirmware Code Review
Jun 17, 2019
Browse files
Merge "Fix type of cot_desc_ptr" into integration
parents
45c28e95
2efb7ddc
Changes
2
Show whitespace changes
Inline
Side-by-side
drivers/auth/auth_mod.c
View file @
97c9a42d
...
...
@@ -31,7 +31,7 @@
#pragma weak plat_set_nv_ctr2
/* Pointer to CoT */
extern
const
auth_img_desc_t
**
const
cot_desc_ptr
;
extern
const
auth_img_desc_t
*
const
*
const
cot_desc_ptr
;
extern
unsigned
int
auth_img_flags
[
MAX_NUMBER_IDS
];
static
int
cmp_auth_param_type_desc
(
const
auth_param_type_desc_t
*
a
,
...
...
include/drivers/auth/auth_mod.h
View file @
97c9a42d
...
...
@@ -40,11 +40,10 @@ int auth_mod_verify_img(unsigned int img_id,
/* Macro to register a CoT defined as an array of auth_img_desc_t pointers */
#define REGISTER_COT(_cot) \
const auth_img_desc_t **const cot_desc_ptr = \
(const auth_img_desc_t **const)_cot; \
const auth_img_desc_t *const *const cot_desc_ptr = (_cot); \
unsigned int auth_img_flags[MAX_NUMBER_IDS]
extern
const
auth_img_desc_t
**
const
cot_desc_ptr
;
extern
const
auth_img_desc_t
*
const
*
const
cot_desc_ptr
;
extern
unsigned
int
auth_img_flags
[
MAX_NUMBER_IDS
];
#endif
/* TRUSTED_BOARD_BOOT */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment