net: Add generic network interface header
This will be used by the new network stack to relate a device to actual network context, and used in the different layers (mac, ip ...). Change-Id: I30c08fa975314544c36b71636fd9653d562891b3 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
9e47250e1f
commit
2fa38c18f0
5 changed files with 169 additions and 3 deletions
|
@ -164,3 +164,11 @@
|
|||
KEEP(*(SORT_BY_NAME("._k_memory_pool*")))
|
||||
_k_mem_pool_end = .;
|
||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
||||
SECTION_DATA_PROLOGUE(net_if, (OPTIONAL),)
|
||||
{
|
||||
__net_if_start = .;
|
||||
*(".net_if.*")
|
||||
KEEP(*(SORT_BY_NAME(".net_if*")))
|
||||
__net_if_end = .;
|
||||
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue