Bluetooth: L2CAP: Make use of Z_STRUCT_SECTION_ITERABLE
This makes use of Z_STRUCT_SECTION_ITERABLE to define fixed channel sections. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
8b9920fd77
commit
4e8ddfd640
4 changed files with 20 additions and 24 deletions
|
@ -78,17 +78,17 @@
|
|||
|
||||
SECTION_DATA_PROLOGUE(_bt_channels_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_channels_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_channels.static.*")))
|
||||
_bt_channels_end = .;
|
||||
_bt_l2cap_fixed_chan_list_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_l2cap_fixed_chan.static.*")))
|
||||
_bt_l2cap_fixed_chan_list_end = .;
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
|
||||
#if defined(CONFIG_BT_BREDR)
|
||||
SECTION_DATA_PROLOGUE(_bt_br_channels_area,,SUBALIGN(4))
|
||||
{
|
||||
_bt_br_channels_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_br_channels.static.*")))
|
||||
_bt_br_channels_end = .;
|
||||
_bt_l2cap_br_fixed_chan_list_start = .;
|
||||
KEEP(*(SORT_BY_NAME("._bt_l2cap_br_fixed_chan.static.*")))
|
||||
_bt_l2cap_br_fixed_chan_list_end = .;
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue