1/* 2 * Copyright (c) 2023 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#define AON_C_OBJECT_FILE_IN_SECT(lsect, objfile) \ 8 KEEP(*_intel_hal.a:objfile.c.obj(.##lsect)) \ 9 KEEP(*_intel_hal.a:objfile.c.obj(.##lsect##.*)) 10 11#define AON_S_OBJECT_FILE_IN_SECT(lsect, objfile) \ 12 KEEP(*_intel_hal.a:objfile.S.obj(.##lsect)) \ 13 KEEP(*_intel_hal.a:objfile.S.obj(.##lsect##.*)) 14 15#define AON_IN_SECT(lsect) \ 16 AON_C_OBJECT_FILE_IN_SECT(lsect, aon_task) \ 17 AON_C_OBJECT_FILE_IN_SECT(lsect, ish_dma) \ 18 AON_S_OBJECT_FILE_IN_SECT(lsect, ipapg) 19 20GROUP_START(AON) 21 22 SECTION_PROLOGUE(aon,,) 23 { 24 aon_start = .; 25 KEEP(*(.data.aon_share)) 26 AON_IN_SECT(data) 27 AON_IN_SECT(text) 28 AON_IN_SECT(bss) 29 aon_end = .; 30 } GROUP_LINK_IN(AON) 31 32GROUP_END(AON) 33