-
Notifications
You must be signed in to change notification settings - Fork 349
Pretend unused slots presence in dictionaries from extended manifest #3691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6297906
e703310
7e9fd5d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -85,10 +85,14 @@ const struct ext_man_dbg_abi ext_man_dbg_info | |||||
| }, | ||||||
| }; | ||||||
|
|
||||||
| /* increment this value after adding any element to ext_man_config dictionary */ | ||||||
| #define CONFIG_ELEM_CNT (EXT_MAN_CONFIG_LAST_ELEM - 1) | ||||||
|
|
||||||
| const struct ext_man_config_data ext_man_config | ||||||
| __aligned(EXT_MAN_ALIGN) __section(".fw_metadata") = { | ||||||
| .hdr.type = EXT_MAN_ELEM_CONFIG_DATA, | ||||||
| .hdr.elem_size = ALIGN_UP(sizeof(struct ext_man_config_data), | ||||||
| .hdr.elem_size = ALIGN_UP(sizeof(struct ext_man_config_data) + | ||||||
| sizeof(struct config_elem) * CONFIG_ELEM_CNT, | ||||||
|
||||||
| sizeof(struct config_elem) * CONFIG_ELEM_CNT, | |
| sizeof(struct config_elem) * (EXT_MAN_CONFIG_LAST_ELEM - 1), |
You do not need to update the EXT_MAN_CONFIG_LAST_ELEM or CONFIG_ELEM_CNT if we add a new type
Uh oh!
There was an error while loading. Please reload this page.