diff --git a/scripts/llext_link_helper.py b/scripts/llext_link_helper.py index 325d65a4e3de..037a7307f835 100755 --- a/scripts/llext_link_helper.py +++ b/scripts/llext_link_helper.py @@ -76,6 +76,7 @@ def main(): executable = [] writable = [] readonly = [] + readonly_dram = [] text_found = False @@ -101,10 +102,7 @@ def main(): if (s_flags & (SH_FLAGS.SHF_ALLOC | SH_FLAGS.SHF_EXECINSTR) == SH_FLAGS.SHF_ALLOC | SH_FLAGS.SHF_EXECINSTR and s_type == 'SHT_PROGBITS'): - # An executable section, currently only a single .text is supported. - # In general additional executable sections are possible, e.g. - # .init. In the future support for arbitrary such sections can be - # added, similar to writable and read-only data below. + # An executable section. if s_name == '.text': text_found = True text_addr = max_alignment(text_addr, 0x1000, s_alignment) @@ -123,7 +121,10 @@ def main(): if s_type == 'SHT_PROGBITS' and s_flags & SH_FLAGS.SHF_ALLOC: # .rodata or other read-only sections - readonly.append(section) + if '.dram' in s_name: + readonly_dram.append(section) + else: + readonly.append(section) if not text_found: raise RuntimeError('No .text section found in the object file') @@ -136,24 +137,37 @@ def main(): # run at arbitrary memory locations. One of the use-cases is running # parts of the module directly in DRAM - sacrificing performance but # saving scarce SRAM. We achieve this by placing non-performance - # critical functions in a .text.dram ELF section. When compiling and - # linking such functions, an additional .literal.dram section is - # automatically created. Note, that for some reason the compiler also - # marks that section as executable. + # critical functions in a .text.dram ELF section, read-only data in a + # .rodata.dram ELF section, etc. When compiling and + # linking such functions, additional sections like .literal.dram are + # automatically created. Note, that for some reason for .text.dram the + # compiler also marks that section as executable. # This script links those sections at address 0. We could hard-code # section names, but so far we choose to only link .text the "original" - # way and all other executable sections we link at 0. - exe_addr = 0 + # way and all other executable sections we link at 0. For data sections + # we accept any *.dram names. + + dram_addr = 0 for section in executable: s_alignment = section.header['sh_addralign'] s_name = section.name - exe_addr = align_up(exe_addr, s_alignment) + dram_addr = align_up(dram_addr, s_alignment) + + command.append(f'-Wl,--section-start={s_name}=0x{dram_addr:x}') + + dram_addr += section.header['sh_size'] + + for section in readonly_dram: + s_alignment = section.header['sh_addralign'] + s_name = section.name + + dram_addr = align_up(dram_addr, s_alignment) - command.append(f'-Wl,--section-start={s_name}=0x{exe_addr:x}') + command.append(f'-Wl,--section-start={s_name}=0x{dram_addr:x}') - exe_addr += section.header['sh_size'] + dram_addr += section.header['sh_size'] start_addr = align_up(text_addr + text_size, 0x1000) diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h index ce545706e446..f146032e46e6 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_10_21_2500_5000_fir[480] = { +__cold_data static const int32_t src_int32_10_21_2500_5000_fir[480] = { 176197, 283398, -489527, diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h index 97d276a98791..5c730f64b842 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_10_21_3455_5000_fir[640] = { +__cold_data static const int32_t src_int32_10_21_3455_5000_fir[640] = { 110400, 517669, 162088, diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h index 4380004274a1..e2a5d1b9b41b 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_10_21_4535_5000_fir[2320] = { +__cold_data static const int32_t src_int32_10_21_4535_5000_fir[2320] = { 26554, 22041, -35569, diff --git a/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h index 944eb78028a2..5cd9c083e107 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_10_9_4535_5000_fir[1080] = { +__cold_data static const int32_t src_int32_10_9_4535_5000_fir[1080] = { -35695, 60551, -91611, diff --git a/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h b/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h index 6c277f298c79..9e82800f13e0 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_16_21_4319_5000_fir[1472] = { +__cold_data static const int32_t src_int32_16_21_4319_5000_fir[1472] = { 69743, -28255, -123867, diff --git a/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h index 6c9764cbadf3..7bbbf34bc1e6 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_16_21_4535_5000_fir[2048] = { +__cold_data static const int32_t src_int32_16_21_4535_5000_fir[2048] = { 66387, -68365, -7975, diff --git a/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h b/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h index d3c468bc50f1..a8dac4c4e8be 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_16_7_4082_5000_fir[896] = { +__cold_data static const int32_t src_int32_16_7_4082_5000_fir[896] = { -71000, 181977, -339747, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h index ff326eeda32f..d8f5d27a4123 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -static const int32_t src_int32_1_2_2268_5000_fir[36] = { +__cold_data static const int32_t src_int32_1_2_2268_5000_fir[36] = { 1065827, -37924, -4976218, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h index 4c7a24273cd7..7a9ba0cb7c1f 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_2_2500_5000_fir[40] = { +__cold_data static const int32_t src_int32_1_2_2500_5000_fir[40] = { -879692, 460291, 4237437, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h index 0ee1fe85270d..e4f9145704d7 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_2_2721_5000_fir[44] = { +__cold_data static const int32_t src_int32_1_2_2721_5000_fir[44] = { 776925, -535235, -3522824, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h index ba97ad2fb9f7..261afa46bbb8 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_2_3401_5000_fir[60] = { +__cold_data static const int32_t src_int32_1_2_3401_5000_fir[60] = { 483288, -83413, -1522435, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h index b1ca37835159..e98a45e304d7 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_2_3887_5000_fir[84] = { +__cold_data static const int32_t src_int32_1_2_3887_5000_fir[84] = { 488732, -7737, -1049640, diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h index 5d2f5750ef3a..35c4a0826b04 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_2_4535_5000_fir[192] = { +__cold_data static const int32_t src_int32_1_2_4535_5000_fir[192] = { -215107, -43725, 301513, diff --git a/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h index 400311d50d4f..2edc285d4ed5 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_3_2268_5000_fir[52] = { +__cold_data static const int32_t src_int32_1_3_2268_5000_fir[52] = { 856478, -618891, -4156030, diff --git a/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h index b668f710a423..e8415fc8ff5b 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_3_4535_5000_fir[260] = { +__cold_data static const int32_t src_int32_1_3_4535_5000_fir[260] = { -76785, 87265, 208768, diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h index f39d4d866277..01b1f0a71a8a 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_4_1512_5000_fir[52] = { +__cold_data static const int32_t src_int32_1_4_1512_5000_fir[52] = { 740488, -111252, -2633435, diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h index 7de054371d04..04826b88e90a 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_4_2268_5000_fir[60] = { +__cold_data static const int32_t src_int32_1_4_2268_5000_fir[60] = { -1265010, -1300023, 42822, diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h index 59f3c464e2e3..7ebbfe195e41 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_4_4535_5000_fir[332] = { +__cold_data static const int32_t src_int32_1_4_4535_5000_fir[332] = { -246503, -173077, 24381, diff --git a/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h index 77293237d64a..8e7668185195 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_1_6_1134_5000_fir[68] = { +__cold_data static const int32_t src_int32_1_6_1134_5000_fir[68] = { -2393808, -3445469, -3907601, diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h index cb9898d01873..3b4d56f840bd 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_21_1250_5000_fir[320] = { +__cold_data static const int32_t src_int32_20_21_1250_5000_fir[320] = { 134710, 1035873, -9174506, diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h index bbecd688b192..d7315f1dc3d9 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_21_2500_5000_fir[560] = { +__cold_data static const int32_t src_int32_20_21_2500_5000_fir[560] = { -5217, -381011, 1487277, diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h index 8727d574fd7c..d8f1ed08a7f5 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_21_3125_5000_fir[640] = { +__cold_data static const int32_t src_int32_20_21_3125_5000_fir[640] = { 81905, -392860, 605436, diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h index c1cb209a0235..0509ed544624 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_21_4167_5000_fir[1200] = { +__cold_data static const int32_t src_int32_20_21_4167_5000_fir[1200] = { 54594, -184742, 399571, diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h index 4ed3c222a10d..19490edd4cac 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_21_4535_5000_fir[2080] = { +__cold_data static const int32_t src_int32_20_21_4535_5000_fir[2080] = { -39854, 85177, -146854, diff --git a/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h index 4e543c4fdca4..4baea371e75c 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_20_7_2976_5000_fir[560] = { +__cold_data static const int32_t src_int32_20_7_2976_5000_fir[560] = { -33375, 393038, -1331352, diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h index 624fca1bf2ad..e054fec44185 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_10_2500_5000_fir[504] = { +__cold_data static const int32_t src_int32_21_10_2500_5000_fir[504] = { 7704, 568453, -2657822, diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h index eb39b94a3648..070515757e07 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_10_3455_5000_fir[756] = { +__cold_data static const int32_t src_int32_21_10_3455_5000_fir[756] = { -37222, 240677, -698458, diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h index 7766a5163142..031b6afcb831 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_10_4535_5000_fir[2520] = { +__cold_data static const int32_t src_int32_21_10_4535_5000_fir[2520] = { -9118, 18975, -33943, diff --git a/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h b/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h index bb7c44e00392..1208a2ecd6df 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_16_4319_5000_fir[1596] = { +__cold_data static const int32_t src_int32_21_16_4319_5000_fir[1596] = { -50136, 105527, -181643, diff --git a/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h index 0c2def816397..7a0b98e81b95 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_16_4535_5000_fir[2436] = { +__cold_data static const int32_t src_int32_21_16_4535_5000_fir[2436] = { -15208, 29050, -48628, diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h index db43622d1c84..be6394c7570f 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_20_1250_5000_fir[420] = { +__cold_data static const int32_t src_int32_21_20_1250_5000_fir[420] = { 94664, -1133291, 202774, diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h index ce4da411ce8f..8545f166c4f1 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_20_2500_5000_fir[504] = { +__cold_data static const int32_t src_int32_21_20_2500_5000_fir[504] = { 8116, 587965, -2725209, diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h index 66edd652830e..8b1d20a98121 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_20_3125_5000_fir[672] = { +__cold_data static const int32_t src_int32_21_20_3125_5000_fir[672] = { 4928, 190845, -929522, diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h index 737cf8968eb0..35f3ab9b7bc8 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_20_4167_5000_fir[1260] = { +__cold_data static const int32_t src_int32_21_20_4167_5000_fir[1260] = { -79259, 176349, -298364, diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h index f49e48439c7d..b18646ee23a0 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_20_4535_5000_fir[2268] = { +__cold_data static const int32_t src_int32_21_20_4535_5000_fir[2268] = { -37260, 62223, -92794, diff --git a/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h index 111cf33bdf6c..63c1c23e85d3 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_2_3239_5000_fir[672] = { +__cold_data static const int32_t src_int32_21_2_3239_5000_fir[672] = { -35882, 307961, -974587, diff --git a/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h index 0d7cf6c46d53..79eedbafc355 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_32_4535_5000_fir[3612] = { +__cold_data static const int32_t src_int32_21_32_4535_5000_fir[3612] = { -8897, -11309, 29648, diff --git a/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h b/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h index 3c9e9af6c834..2b389b449bcb 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_40_2381_5000_fir[924] = { +__cold_data static const int32_t src_int32_21_40_2381_5000_fir[924] = { 139084, 174433, -727541, diff --git a/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h index c5e7d514e40b..61d30a57991e 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_40_3968_5000_fir[1680] = { +__cold_data static const int32_t src_int32_21_40_3968_5000_fir[1680] = { 150373, 421455, -262792, diff --git a/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h b/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h index a4011678f867..a40b0786d572 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_4_1080_5000_fir[336] = { +__cold_data static const int32_t src_int32_21_4_1080_5000_fir[336] = { 139978, 2034094, -10158575, diff --git a/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h index d73ebbd2afed..95cf7d62aec3 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_4_3239_5000_fir[672] = { +__cold_data static const int32_t src_int32_21_4_3239_5000_fir[672] = { -35812, 307539, -973534, diff --git a/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h b/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h index 4a7e1c132eee..e228930ca0cd 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_5_1728_5000_fir[420] = { +__cold_data static const int32_t src_int32_21_5_1728_5000_fir[420] = { 99153, 137369, -3779111, diff --git a/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h index 84d603013e34..416248ec3f86 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_5_4535_5000_fir[2184] = { +__cold_data static const int32_t src_int32_21_5_4535_5000_fir[2184] = { -46288, 73523, -104226, diff --git a/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h index b98729cef63c..c3be4275665a 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_80_3968_5000_fir[3360] = { +__cold_data static const int32_t src_int32_21_80_3968_5000_fir[3360] = { 146819, 357423, 426811, diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h index 214eefcfe2d8..01b414373647 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_8_2160_5000_fir[420] = { +__cold_data static const int32_t src_int32_21_8_2160_5000_fir[420] = { -42589, 944576, -2937872, diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h index 95f58c308284..171ead433267 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_8_3239_5000_fir[672] = { +__cold_data static const int32_t src_int32_21_8_3239_5000_fir[672] = { -35144, 303498, -963439, diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h index d699e2e11073..bf690e7db1ea 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_21_8_4535_5000_fir[2436] = { +__cold_data static const int32_t src_int32_21_8_4535_5000_fir[2436] = { -16754, 31637, -52542, diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h index 51e672306fb2..783fe11af6ec 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_1_2268_5000_fir[48] = { +__cold_data static const int32_t src_int32_2_1_2268_5000_fir[48] = { 179901, -585106, -849108, diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h index cbdac272866a..dd70b9fdda2f 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_1_2500_5000_fir[40] = { +__cold_data static const int32_t src_int32_2_1_2500_5000_fir[40] = { -879692, 4237437, -6093558, diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h index 43bf0c26a0e6..c952942e153f 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_1_2721_5000_fir[48] = { +__cold_data static const int32_t src_int32_2_1_2721_5000_fir[48] = { -197638, 2396223, -6798383, diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h index a992e4c2ec1d..bc2da1a2c86a 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_1_3401_5000_fir[72] = { +__cold_data static const int32_t src_int32_2_1_3401_5000_fir[72] = { 32352, 96988, -688904, diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h index 73d53d77fd9f..e26b17eabf4b 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_1_4535_5000_fir[240] = { +__cold_data static const int32_t src_int32_2_1_4535_5000_fir[240] = { 2667, 2962, -15029, diff --git a/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h index 6110ceffd8e6..7c624ccdbeac 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_2_3_4535_5000_fir[264] = { +__cold_data static const int32_t src_int32_2_3_4535_5000_fir[264] = { -93938, -98991, 260253, diff --git a/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h index 33c00bc23a5c..e00eb9ca02fe 100644 --- a/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_32_21_4535_5000_fir[3840] = { +__cold_data static const int32_t src_int32_32_21_4535_5000_fir[3840] = { -9755, 20037, -35510, diff --git a/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h index 87ba29c6518a..abcd83d5309c 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_3_1_2268_5000_fir[72] = { +__cold_data static const int32_t src_int32_3_1_2268_5000_fir[72] = { 148487, -366788, -1294441, diff --git a/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h index 4074dfcfe90d..a4b367af8a9f 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_3_1_4535_5000_fir[336] = { +__cold_data static const int32_t src_int32_3_1_4535_5000_fir[336] = { -19074, 36914, -62611, diff --git a/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h index 3338fc161956..e6131fd37699 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_3_2_4535_5000_fir[324] = { +__cold_data static const int32_t src_int32_3_2_4535_5000_fir[324] = { -40556, 70616, -110283, diff --git a/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h index 31f656c1f7a8..bb6848ae9e08 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_3_4_4535_5000_fir[360] = { +__cold_data static const int32_t src_int32_3_4_4535_5000_fir[360] = { 77760, 40171, -209346, diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h index a864814eff3d..97657120321b 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_40_21_2381_5000_fir[960] = { +__cold_data static const int32_t src_int32_40_21_2381_5000_fir[960] = { 50137, 248031, -2186295, diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h index 97bf13152ebc..4f4131896421 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_40_21_2976_5000_fir[1120] = { +__cold_data static const int32_t src_int32_40_21_2976_5000_fir[1120] = { -34235, 389198, -1297100, diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h index 1b184cd4c2ca..a2f60b2c61cd 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -static const int32_t src_int32_40_21_3968_5000_fir[2080] = { +__cold_data static const int32_t src_int32_40_21_3968_5000_fir[2080] = { -48704, 156750, -338114, diff --git a/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h index 3fb772e824d2..f8d1c60f6d17 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_40_7_2976_5000_fir[1120] = { +__cold_data static const int32_t src_int32_40_7_2976_5000_fir[1120] = { -39160, 426217, -1390884, diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h index 56e0b902bff8..9589dbf943c8 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_1_1134_5000_fir[64] = { +__cold_data static const int32_t src_int32_4_1_1134_5000_fir[64] = { 165628, 1977250, -11171259, diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h index 62a7e9b84f60..3cfc1de85c1b 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_1_1512_5000_fir[64] = { +__cold_data static const int32_t src_int32_4_1_1512_5000_fir[64] = { -77852, 2381370, -5140518, diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h index 395b0ca93b9d..ba533580a6e0 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_1_2268_5000_fir[80] = { +__cold_data static const int32_t src_int32_4_1_2268_5000_fir[80] = { -87628, 1342863, -3662077, diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h index 3d53542f1d4b..bd4882c6685f 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_1_4535_5000_fir[416] = { +__cold_data static const int32_t src_int32_4_1_4535_5000_fir[416] = { -49159, 81297, -120482, diff --git a/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h b/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h index 91eb1bdd173e..ba6b8e96777c 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_21_1080_5000_fir[224] = { +__cold_data static const int32_t src_int32_4_21_1080_5000_fir[224] = { -1944411, -1843091, 94714, diff --git a/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h index c97905046e66..fd8cfb71ba68 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_21_3239_5000_fir[512] = { +__cold_data static const int32_t src_int32_4_21_3239_5000_fir[512] = { 27727, -202088, -526392, diff --git a/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h index cffc6982be38..53bfdc6468ef 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_4_3_4535_5000_fir[432] = { +__cold_data static const int32_t src_int32_4_3_4535_5000_fir[432] = { -38206, 66050, -102182, diff --git a/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h b/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h index c0ec2a704e62..5f58a44bb2ec 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_5_21_1728_5000_fir[320] = { +__cold_data static const int32_t src_int32_5_21_1728_5000_fir[320] = { -201787, 180377, 1173676, diff --git a/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h index dd4c46f9643f..c1dc28e6506e 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_5_21_4535_5000_fir[1740] = { +__cold_data static const int32_t src_int32_5_21_4535_5000_fir[1740] = { -236856, -188323, -23805, diff --git a/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h index 9fe2321b17c8..39c18f997247 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_5_7_4535_5000_fir[680] = { +__cold_data static const int32_t src_int32_5_7_4535_5000_fir[680] = { 42053, -83399, 41109, diff --git a/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h index ea5f80c10b6d..db896348870c 100644 --- a/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_6_1_1134_5000_fir[96] = { +__cold_data static const int32_t src_int32_6_1_1134_5000_fir[96] = { 141841, 2137064, -10649573, diff --git a/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h index ec23514f712f..2e6378db3730 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_3_4535_5000_fir[728] = { +__cold_data static const int32_t src_int32_7_3_4535_5000_fir[728] = { -46837, 76113, -110550, diff --git a/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h index b7a428c009e0..c59f5df4cf34 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_5_4535_5000_fir[812] = { +__cold_data static const int32_t src_int32_7_5_4535_5000_fir[812] = { -13317, 26352, -45392, diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h index abf0b81aee66..1439228321e3 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_8_1361_5000_fir[140] = { +__cold_data static const int32_t src_int32_7_8_1361_5000_fir[140] = { -165190, 129875, 4540182, diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h index 481a61c818ff..1f189c405639 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_8_2468_5000_fir[196] = { +__cold_data static const int32_t src_int32_7_8_2468_5000_fir[196] = { -49360, 723320, -1199972, diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h index 38608a77d797..7467114c980b 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_8_2721_5000_fir[224] = { +__cold_data static const int32_t src_int32_7_8_2721_5000_fir[224] = { 65478, 113869, -1097521, diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h index a5c3fa7a75de..3794b77865c4 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_7_8_4535_5000_fir[840] = { +__cold_data static const int32_t src_int32_7_8_4535_5000_fir[840] = { -9, -30815, 77572, diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h index 15c2e7623a99..c6bfabd9a321 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_21_2160_5000_fir[384] = { +__cold_data static const int32_t src_int32_8_21_2160_5000_fir[384] = { 401690, 667023, -90063, diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h index 6eefe17a67f1..f7ec7cf03579 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_21_3239_5000_fir[544] = { +__cold_data static const int32_t src_int32_8_21_3239_5000_fir[544] = { 214310, 401153, 58758, diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h index 478d4f6ef50c..d18a3ced16cb 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_21_4535_5000_fir[1984] = { +__cold_data static const int32_t src_int32_8_21_4535_5000_fir[1984] = { -4705, 81658, 87540, diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h index a1bb0e857e1a..81456fe06359 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_7_1361_5000_fir[160] = { +__cold_data static const int32_t src_int32_8_7_1361_5000_fir[160] = { 128091, -1061856, -689775, diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h index 4ca99d9d85f8..c4477c71658f 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_7_2468_5000_fir[192] = { +__cold_data static const int32_t src_int32_8_7_2468_5000_fir[192] = { 38025, 446289, -2663076, diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h index e064904224ee..8b4e7677525c 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_7_2721_5000_fir[192] = { +__cold_data static const int32_t src_int32_8_7_2721_5000_fir[192] = { -68651, 727228, -2055563, diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h index 2092a7395e88..93f1ef4ce564 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_7_4082_5000_fir[480] = { +__cold_data static const int32_t src_int32_8_7_4082_5000_fir[480] = { -48290, 148731, -325260, diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h index 855dacb2ad9c..7af3ad09d5ae 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h @@ -8,7 +8,7 @@ #include -static const int32_t src_int32_8_7_4535_5000_fir[896] = { +__cold_data static const int32_t src_int32_8_7_4535_5000_fir[896] = { -24053, 43532, -69787, diff --git a/src/audio/src/coef/src_lite_int32_10_21_3455_5000.h b/src/audio/src/coef/src_lite_int32_10_21_3455_5000.h index fbbd636a9cf7..819b495b89a0 100755 --- a/src/audio/src/coef/src_lite_int32_10_21_3455_5000.h +++ b/src/audio/src/coef/src_lite_int32_10_21_3455_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_10_21_3455_5000_fir[560] = { +__cold_data static const int32_t src_int32_10_21_3455_5000_fir[560] = { -656, 634708, 716335, diff --git a/src/audio/src/coef/src_lite_int32_16_21_4535_5000.h b/src/audio/src/coef/src_lite_int32_16_21_4535_5000.h index cfac60bf4581..8f4bd996d6de 100755 --- a/src/audio/src/coef/src_lite_int32_16_21_4535_5000.h +++ b/src/audio/src/coef/src_lite_int32_16_21_4535_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_16_21_4535_5000_fir[1728] = { +__cold_data static const int32_t src_int32_16_21_4535_5000_fir[1728] = { 799, 132548, -237458, diff --git a/src/audio/src/coef/src_lite_int32_1_2_4535_5000.h b/src/audio/src/coef/src_lite_int32_1_2_4535_5000.h index ca1de1ca9818..293290b5a215 100755 --- a/src/audio/src/coef/src_lite_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_lite_int32_1_2_4535_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_1_2_4535_5000_fir[184] = { +__cold_data static const int32_t src_int32_1_2_4535_5000_fir[184] = { -224121, -49304, 317798, diff --git a/src/audio/src/coef/src_lite_int32_1_3_4535_5000.h b/src/audio/src/coef/src_lite_int32_1_3_4535_5000.h index 52e0af45edbd..8f7e24fd2399 100755 --- a/src/audio/src/coef/src_lite_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_lite_int32_1_3_4535_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_1_3_4535_5000_fir[236] = { +__cold_data static const int32_t src_int32_1_3_4535_5000_fir[236] = { -114015, 51823, 219093, diff --git a/src/audio/src/coef/src_lite_int32_20_21_4167_5000.h b/src/audio/src/coef/src_lite_int32_20_21_4167_5000.h index 2622d4bd4275..ce227f2a753e 100755 --- a/src/audio/src/coef/src_lite_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_lite_int32_20_21_4167_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_20_21_4167_5000_fir[1200] = { +__cold_data static const int32_t src_int32_20_21_4167_5000_fir[1200] = { 5356, -86589, 268036, diff --git a/src/audio/src/coef/src_lite_int32_3_2_4535_5000.h b/src/audio/src/coef/src_lite_int32_3_2_4535_5000.h index 2431175f626d..3d8bd09dfc7d 100755 --- a/src/audio/src/coef/src_lite_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_lite_int32_3_2_4535_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_3_2_4535_5000_fir[276] = { +__cold_data static const int32_t src_int32_3_2_4535_5000_fir[276] = { -98079, 150065, -205969, diff --git a/src/audio/src/coef/src_lite_int32_8_7_4535_5000.h b/src/audio/src/coef/src_lite_int32_8_7_4535_5000.h index f6596591bea9..6d168e4ac716 100755 --- a/src/audio/src/coef/src_lite_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_lite_int32_8_7_4535_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_8_7_4535_5000_fir[768] = { +__cold_data static const int32_t src_int32_8_7_4535_5000_fir[768] = { -58861, 107730, -172832, diff --git a/src/audio/src/coef/src_small_int32_1_2_2268_5000.h b/src/audio/src/coef/src_small_int32_1_2_2268_5000.h index cb4096c449b1..d70785c4bc8b 100644 --- a/src/audio/src/coef/src_small_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_1_2_2268_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_1_2_2268_5000_fir[40] = { +__cold_data static const int32_t src_int32_1_2_2268_5000_fir[40] = { -102613, 1042618, 2316615, diff --git a/src/audio/src/coef/src_small_int32_1_2_4535_5000.h b/src/audio/src/coef/src_small_int32_1_2_4535_5000.h index c6f089dc2788..189e199c2aa7 100644 --- a/src/audio/src/coef/src_small_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_1_2_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_1_2_4535_5000_fir[200] = { +__cold_data static const int32_t src_int32_1_2_4535_5000_fir[200] = { -79638, 47425, 131437, diff --git a/src/audio/src/coef/src_small_int32_1_3_2268_5000.h b/src/audio/src/coef/src_small_int32_1_3_2268_5000.h index 8e877cdefb91..f2802bf5ad64 100644 --- a/src/audio/src/coef/src_small_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_1_3_2268_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_1_3_2268_5000_fir[56] = { +__cold_data static const int32_t src_int32_1_3_2268_5000_fir[56] = { 636662, 1367445, 1168433, diff --git a/src/audio/src/coef/src_small_int32_1_3_4535_5000.h b/src/audio/src/coef/src_small_int32_1_3_4535_5000.h index 7f4d3d1cec38..188594407b10 100644 --- a/src/audio/src/coef/src_small_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_1_3_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_1_3_4535_5000_fir[268] = { +__cold_data static const int32_t src_int32_1_3_4535_5000_fir[268] = { 53316, -3193, -78263, diff --git a/src/audio/src/coef/src_small_int32_20_21_4167_5000.h b/src/audio/src/coef/src_small_int32_20_21_4167_5000.h index 6dd79a502a30..858b0b3ab4bf 100644 --- a/src/audio/src/coef/src_small_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_small_int32_20_21_4167_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_20_21_4167_5000_fir[1120] = { +__cold_data static const int32_t src_int32_20_21_4167_5000_fir[1120] = { 125886, -321269, 574508, diff --git a/src/audio/src/coef/src_small_int32_21_20_4167_5000.h b/src/audio/src/coef/src_small_int32_21_20_4167_5000.h index 5258d2df097e..f6f75a7923ed 100644 --- a/src/audio/src/coef/src_small_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_small_int32_21_20_4167_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_21_20_4167_5000_fir[1092] = { +__cold_data static const int32_t src_int32_21_20_4167_5000_fir[1092] = { -148365, 253251, -300044, diff --git a/src/audio/src/coef/src_small_int32_2_1_2268_5000.h b/src/audio/src/coef/src_small_int32_2_1_2268_5000.h index 3be189ef34f1..4378b2ec0f1f 100644 --- a/src/audio/src/coef/src_small_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_2_1_2268_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_2_1_2268_5000_fir[40] = { +__cold_data static const int32_t src_int32_2_1_2268_5000_fir[40] = { -96873, 2187025, -6715592, diff --git a/src/audio/src/coef/src_small_int32_2_1_4535_5000.h b/src/audio/src/coef/src_small_int32_2_1_4535_5000.h index cda9b6305c50..f66587f65c40 100644 --- a/src/audio/src/coef/src_small_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_2_1_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_2_1_4535_5000_fir[200] = { +__cold_data static const int32_t src_int32_2_1_4535_5000_fir[200] = { -79638, 131437, -197166, diff --git a/src/audio/src/coef/src_small_int32_2_3_4535_5000.h b/src/audio/src/coef/src_small_int32_2_3_4535_5000.h index 5047c6230b35..e239528c0194 100644 --- a/src/audio/src/coef/src_small_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_2_3_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_2_3_4535_5000_fir[272] = { +__cold_data static const int32_t src_int32_2_3_4535_5000_fir[272] = { 12509, 72682, -101869, diff --git a/src/audio/src/coef/src_small_int32_3_1_2268_5000.h b/src/audio/src/coef/src_small_int32_3_1_2268_5000.h index c570c7347d77..4e06e56d1916 100644 --- a/src/audio/src/coef/src_small_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_3_1_2268_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_3_1_2268_5000_fir[60] = { +__cold_data static const int32_t src_int32_3_1_2268_5000_fir[60] = { -166536, 2306339, -6050784, diff --git a/src/audio/src/coef/src_small_int32_3_1_4535_5000.h b/src/audio/src/coef/src_small_int32_3_1_4535_5000.h index 40849153f431..7c52e64b7c8f 100644 --- a/src/audio/src/coef/src_small_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_1_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_3_1_4535_5000_fir[276] = { +__cold_data static const int32_t src_int32_3_1_4535_5000_fir[276] = { -92545, 140559, -191923, diff --git a/src/audio/src/coef/src_small_int32_3_2_4535_5000.h b/src/audio/src/coef/src_small_int32_3_2_4535_5000.h index 0c593352a8dc..f58b04c6c865 100644 --- a/src/audio/src/coef/src_small_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_2_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_3_2_4535_5000_fir[276] = { +__cold_data static const int32_t src_int32_3_2_4535_5000_fir[276] = { -92545, 140559, -191923, diff --git a/src/audio/src/coef/src_small_int32_3_4_4535_5000.h b/src/audio/src/coef/src_small_int32_3_4_4535_5000.h index 43ca5ba54e7d..5c313218450d 100644 --- a/src/audio/src/coef/src_small_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_4_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_3_4_4535_5000_fir[348] = { +__cold_data static const int32_t src_int32_3_4_4535_5000_fir[348] = { -44332, 116220, -109098, diff --git a/src/audio/src/coef/src_small_int32_4_3_4535_5000.h b/src/audio/src/coef/src_small_int32_4_3_4535_5000.h index ebd010e2b8f4..43574be97721 100644 --- a/src/audio/src/coef/src_small_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_4_3_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_4_3_4535_5000_fir[352] = { +__cold_data static const int32_t src_int32_4_3_4535_5000_fir[352] = { -92406, 134596, -172955, diff --git a/src/audio/src/coef/src_small_int32_4_5_4535_5000.h b/src/audio/src/coef/src_small_int32_4_5_4535_5000.h index cc2457a81bec..3f91c60455f3 100644 --- a/src/audio/src/coef/src_small_int32_4_5_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_4_5_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_4_5_4535_5000_fir[448] = { +__cold_data static const int32_t src_int32_4_5_4535_5000_fir[448] = { 71197, -96779, 49471, diff --git a/src/audio/src/coef/src_small_int32_5_4_4535_5000.h b/src/audio/src/coef/src_small_int32_5_4_4535_5000.h index 74987ab7c557..c4b257554789 100644 --- a/src/audio/src/coef/src_small_int32_5_4_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_5_4_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_5_4_4535_5000_fir[440] = { +__cold_data static const int32_t src_int32_5_4_4535_5000_fir[440] = { -83573, 123255, -160503, diff --git a/src/audio/src/coef/src_small_int32_5_6_4354_5000.h b/src/audio/src/coef/src_small_int32_5_6_4354_5000.h index 4a712463e601..0bbeb06bad2e 100644 --- a/src/audio/src/coef/src_small_int32_5_6_4354_5000.h +++ b/src/audio/src/coef/src_small_int32_5_6_4354_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_5_6_4354_5000_fir[380] = { +__cold_data static const int32_t src_int32_5_6_4354_5000_fir[380] = { -110765, 202615, -181213, diff --git a/src/audio/src/coef/src_small_int32_6_5_4354_5000.h b/src/audio/src/coef/src_small_int32_6_5_4354_5000.h index 8a2f6054f76c..1d308a26019b 100644 --- a/src/audio/src/coef/src_small_int32_6_5_4354_5000.h +++ b/src/audio/src/coef/src_small_int32_6_5_4354_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_6_5_4354_5000_fir[384] = { +__cold_data static const int32_t src_int32_6_5_4354_5000_fir[384] = { -122729, 196634, -249782, diff --git a/src/audio/src/coef/src_small_int32_7_8_4535_5000.h b/src/audio/src/coef/src_small_int32_7_8_4535_5000.h index 58a71bc48718..04e7a92a287a 100644 --- a/src/audio/src/coef/src_small_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_7_8_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_7_8_4535_5000_fir[644] = { +__cold_data static const int32_t src_int32_7_8_4535_5000_fir[644] = { -1007, -96094, 242640, diff --git a/src/audio/src/coef/src_small_int32_8_7_4535_5000.h b/src/audio/src/coef/src_small_int32_8_7_4535_5000.h index 4d33f547c081..ae19247fd2b4 100644 --- a/src/audio/src/coef/src_small_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_8_7_4535_5000.h @@ -6,7 +6,7 @@ #include -static const int32_t src_int32_8_7_4535_5000_fir[640] = { +__cold_data static const int32_t src_int32_8_7_4535_5000_fir[640] = { -93442, 125750, -138530, diff --git a/src/audio/src/coef/src_std_int32_10_21_4535_5000.h b/src/audio/src/coef/src_std_int32_10_21_4535_5000.h index 44a207ef5ecd..10175a29b166 100644 --- a/src/audio/src/coef/src_std_int32_10_21_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_10_21_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_10_21_4535_5000_fir[1720] = { +__cold_data static const int32_t src_int32_10_21_4535_5000_fir[1720] = { 64820, 140936, -51986, diff --git a/src/audio/src/coef/src_std_int32_1_2_2268_5000.h b/src/audio/src/coef/src_std_int32_1_2_2268_5000.h index c27402466cff..abaf9c11aee4 100644 --- a/src/audio/src/coef/src_std_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_1_2_2268_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_1_2_2268_5000_fir[40] = { +__cold_data static const int32_t src_int32_1_2_2268_5000_fir[40] = { -102613, 1042618, 2316615, diff --git a/src/audio/src/coef/src_std_int32_1_2_4535_5000.h b/src/audio/src/coef/src_std_int32_1_2_4535_5000.h index 64d3f1641c7e..5f14dfe7e7e4 100644 --- a/src/audio/src/coef/src_std_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_1_2_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_1_2_4535_5000_fir[200] = { +__cold_data static const int32_t src_int32_1_2_4535_5000_fir[200] = { -84357, 50235, 139225, diff --git a/src/audio/src/coef/src_std_int32_1_3_2268_5000.h b/src/audio/src/coef/src_std_int32_1_3_2268_5000.h index 41f416116967..55f2d364ff16 100644 --- a/src/audio/src/coef/src_std_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_1_3_2268_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_1_3_2268_5000_fir[56] = { +__cold_data static const int32_t src_int32_1_3_2268_5000_fir[56] = { 636662, 1367445, 1168433, diff --git a/src/audio/src/coef/src_std_int32_1_3_4535_5000.h b/src/audio/src/coef/src_std_int32_1_3_4535_5000.h index 580ddebacddd..c35eb74ecce4 100644 --- a/src/audio/src/coef/src_std_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_1_3_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_1_3_4535_5000_fir[268] = { +__cold_data static const int32_t src_int32_1_3_4535_5000_fir[268] = { 53316, -3193, -78263, diff --git a/src/audio/src/coef/src_std_int32_20_21_4167_5000.h b/src/audio/src/coef/src_std_int32_20_21_4167_5000.h index a26101ddd7bc..8644e4f37636 100644 --- a/src/audio/src/coef/src_std_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_std_int32_20_21_4167_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_20_21_4167_5000_fir[1120] = { +__cold_data static const int32_t src_int32_20_21_4167_5000_fir[1120] = { 125886, -321269, 574508, diff --git a/src/audio/src/coef/src_std_int32_20_7_2976_5000.h b/src/audio/src/coef/src_std_int32_20_7_2976_5000.h index 9bb8d4879e69..95202e1c5e43 100644 --- a/src/audio/src/coef/src_std_int32_20_7_2976_5000.h +++ b/src/audio/src/coef/src_std_int32_20_7_2976_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_20_7_2976_5000_fir[480] = { +__cold_data static const int32_t src_int32_20_7_2976_5000_fir[480] = { -256723, 1344746, -2486660, diff --git a/src/audio/src/coef/src_std_int32_21_20_4167_5000.h b/src/audio/src/coef/src_std_int32_21_20_4167_5000.h index 18aca9ba361d..61799ebeafbc 100644 --- a/src/audio/src/coef/src_std_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_std_int32_21_20_4167_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_21_20_4167_5000_fir[1092] = { +__cold_data static const int32_t src_int32_21_20_4167_5000_fir[1092] = { -148365, 253251, -300044, diff --git a/src/audio/src/coef/src_std_int32_21_40_3968_5000.h b/src/audio/src/coef/src_std_int32_21_40_3968_5000.h index 388d4216ce90..486b911ca449 100644 --- a/src/audio/src/coef/src_std_int32_21_40_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_21_40_3968_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_21_40_3968_5000_fir[1596] = { +__cold_data static const int32_t src_int32_21_40_3968_5000_fir[1596] = { -210430, -287852, 472564, diff --git a/src/audio/src/coef/src_std_int32_21_80_3968_5000.h b/src/audio/src/coef/src_std_int32_21_80_3968_5000.h index fea250e377c6..709bc1000424 100644 --- a/src/audio/src/coef/src_std_int32_21_80_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_21_80_3968_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_21_80_3968_5000_fir[3108] = { +__cold_data static const int32_t src_int32_21_80_3968_5000_fir[3108] = { -174020, 2072, 309190, diff --git a/src/audio/src/coef/src_std_int32_2_1_2268_5000.h b/src/audio/src/coef/src_std_int32_2_1_2268_5000.h index 953e65c155ae..56204cdfcff9 100644 --- a/src/audio/src/coef/src_std_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_2_1_2268_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_2_1_2268_5000_fir[40] = { +__cold_data static const int32_t src_int32_2_1_2268_5000_fir[40] = { -96873, 2187025, -6715592, diff --git a/src/audio/src/coef/src_std_int32_2_1_4535_5000.h b/src/audio/src/coef/src_std_int32_2_1_4535_5000.h index 333d603e97bb..deb49d1a7fa9 100644 --- a/src/audio/src/coef/src_std_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_2_1_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_2_1_4535_5000_fir[200] = { +__cold_data static const int32_t src_int32_2_1_4535_5000_fir[200] = { -79638, 131437, -197166, diff --git a/src/audio/src/coef/src_std_int32_2_3_4535_5000.h b/src/audio/src/coef/src_std_int32_2_3_4535_5000.h index 7863ebe826cf..8227a060f52c 100644 --- a/src/audio/src/coef/src_std_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_2_3_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_2_3_4535_5000_fir[272] = { +__cold_data static const int32_t src_int32_2_3_4535_5000_fir[272] = { 12509, 72682, -101869, diff --git a/src/audio/src/coef/src_std_int32_32_21_4535_5000.h b/src/audio/src/coef/src_std_int32_32_21_4535_5000.h index b20976b16dea..071e30255f7a 100644 --- a/src/audio/src/coef/src_std_int32_32_21_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_32_21_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_32_21_4535_5000_fir[2816] = { +__cold_data static const int32_t src_int32_32_21_4535_5000_fir[2816] = { -70924, 93303, -103450, diff --git a/src/audio/src/coef/src_std_int32_3_1_2268_5000.h b/src/audio/src/coef/src_std_int32_3_1_2268_5000.h index bb4ef7d82f07..e620859659fc 100644 --- a/src/audio/src/coef/src_std_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_3_1_2268_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_3_1_2268_5000_fir[60] = { +__cold_data static const int32_t src_int32_3_1_2268_5000_fir[60] = { -166536, 2306339, -6050784, diff --git a/src/audio/src/coef/src_std_int32_3_1_4535_5000.h b/src/audio/src/coef/src_std_int32_3_1_4535_5000.h index db312c9c80ae..f0d28eab61ea 100644 --- a/src/audio/src/coef/src_std_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_1_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_3_1_4535_5000_fir[276] = { +__cold_data static const int32_t src_int32_3_1_4535_5000_fir[276] = { -92545, 140559, -191923, diff --git a/src/audio/src/coef/src_std_int32_3_2_4535_5000.h b/src/audio/src/coef/src_std_int32_3_2_4535_5000.h index 8d30cb8efb77..b63742d3ef85 100644 --- a/src/audio/src/coef/src_std_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_2_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_3_2_4535_5000_fir[276] = { +__cold_data static const int32_t src_int32_3_2_4535_5000_fir[276] = { -92545, 140559, -191923, diff --git a/src/audio/src/coef/src_std_int32_3_4_4535_5000.h b/src/audio/src/coef/src_std_int32_3_4_4535_5000.h index c679a1f2fe5b..017267fc7464 100644 --- a/src/audio/src/coef/src_std_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_4_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_3_4_4535_5000_fir[348] = { +__cold_data static const int32_t src_int32_3_4_4535_5000_fir[348] = { -44332, 116220, -109098, diff --git a/src/audio/src/coef/src_std_int32_40_21_3968_5000.h b/src/audio/src/coef/src_std_int32_40_21_3968_5000.h index 6a2da0181623..3886c999ad83 100644 --- a/src/audio/src/coef/src_std_int32_40_21_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_40_21_3968_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_40_21_3968_5000_fir[1600] = { +__cold_data static const int32_t src_int32_40_21_3968_5000_fir[1600] = { -168855, 272170, -146895, diff --git a/src/audio/src/coef/src_std_int32_4_3_4535_5000.h b/src/audio/src/coef/src_std_int32_4_3_4535_5000.h index ccef7fc03ad8..4d4f540451f1 100644 --- a/src/audio/src/coef/src_std_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_4_3_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_4_3_4535_5000_fir[352] = { +__cold_data static const int32_t src_int32_4_3_4535_5000_fir[352] = { -92406, 134596, -172955, diff --git a/src/audio/src/coef/src_std_int32_4_5_4535_5000.h b/src/audio/src/coef/src_std_int32_4_5_4535_5000.h index 4bafe75c987f..ed7db7dea82b 100644 --- a/src/audio/src/coef/src_std_int32_4_5_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_4_5_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_4_5_4535_5000_fir[448] = { +__cold_data static const int32_t src_int32_4_5_4535_5000_fir[448] = { 71197, -96779, 49471, diff --git a/src/audio/src/coef/src_std_int32_5_4_4535_5000.h b/src/audio/src/coef/src_std_int32_5_4_4535_5000.h index 4e381a8d69c9..fa41ac6bc88d 100644 --- a/src/audio/src/coef/src_std_int32_5_4_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_5_4_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_5_4_4535_5000_fir[440] = { +__cold_data static const int32_t src_int32_5_4_4535_5000_fir[440] = { -83573, 123255, -160503, diff --git a/src/audio/src/coef/src_std_int32_5_6_4354_5000.h b/src/audio/src/coef/src_std_int32_5_6_4354_5000.h index 2b103cae3e0c..130fb9a40171 100644 --- a/src/audio/src/coef/src_std_int32_5_6_4354_5000.h +++ b/src/audio/src/coef/src_std_int32_5_6_4354_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_5_6_4354_5000_fir[380] = { +__cold_data static const int32_t src_int32_5_6_4354_5000_fir[380] = { -110765, 202615, -181213, diff --git a/src/audio/src/coef/src_std_int32_5_7_4535_5000.h b/src/audio/src/coef/src_std_int32_5_7_4535_5000.h index 23c470dc595f..93518645e5c7 100644 --- a/src/audio/src/coef/src_std_int32_5_7_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_5_7_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_5_7_4535_5000_fir[580] = { +__cold_data static const int32_t src_int32_5_7_4535_5000_fir[580] = { -38462, 102037, -72148, diff --git a/src/audio/src/coef/src_std_int32_6_5_4354_5000.h b/src/audio/src/coef/src_std_int32_6_5_4354_5000.h index 6ebcb24f63fa..6f6dd624944b 100644 --- a/src/audio/src/coef/src_std_int32_6_5_4354_5000.h +++ b/src/audio/src/coef/src_std_int32_6_5_4354_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_6_5_4354_5000_fir[384] = { +__cold_data static const int32_t src_int32_6_5_4354_5000_fir[384] = { -122729, 196634, -249782, diff --git a/src/audio/src/coef/src_std_int32_7_8_4535_5000.h b/src/audio/src/coef/src_std_int32_7_8_4535_5000.h index 174e6125864e..d27b78d47a15 100644 --- a/src/audio/src/coef/src_std_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_7_8_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_7_8_4535_5000_fir[644] = { +__cold_data static const int32_t src_int32_7_8_4535_5000_fir[644] = { -1007, -96094, 242640, diff --git a/src/audio/src/coef/src_std_int32_8_21_3239_5000.h b/src/audio/src/coef/src_std_int32_8_21_3239_5000.h index aaa085d2ae54..df2c3d702d71 100644 --- a/src/audio/src/coef/src_std_int32_8_21_3239_5000.h +++ b/src/audio/src/coef/src_std_int32_8_21_3239_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_8_21_3239_5000_fir[480] = { +__cold_data static const int32_t src_int32_8_21_3239_5000_fir[480] = { -149226, 295321, 1071448, diff --git a/src/audio/src/coef/src_std_int32_8_7_2468_5000.h b/src/audio/src/coef/src_std_int32_8_7_2468_5000.h index f8d5dc57c3eb..81a69ccaeea5 100644 --- a/src/audio/src/coef/src_std_int32_8_7_2468_5000.h +++ b/src/audio/src/coef/src_std_int32_8_7_2468_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_8_7_2468_5000_fir[160] = { +__cold_data static const int32_t src_int32_8_7_2468_5000_fir[160] = { -422312, 2368615, -2932237, diff --git a/src/audio/src/coef/src_std_int32_8_7_4535_5000.h b/src/audio/src/coef/src_std_int32_8_7_4535_5000.h index 8bb33c1bccd8..288551767b3c 100644 --- a/src/audio/src/coef/src_std_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_8_7_4535_5000.h @@ -7,7 +7,7 @@ #include -static const int32_t src_int32_8_7_4535_5000_fir[640] = { +__cold_data static const int32_t src_int32_8_7_4535_5000_fir[640] = { -93442, 125750, -138530, diff --git a/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h index b9b2402ab243..05d38140a075 100644 --- a/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h @@ -6,7 +6,7 @@ #include -static const int16_t src_int16_1_2_1814_5000_fir[32] = { +__cold_data static const int16_t src_int16_1_2_1814_5000_fir[32] = { -7, 7, 63, diff --git a/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h index 76634b12c1d6..999289ed9597 100644 --- a/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_1_3_1814_5000_fir[48] = { +__cold_data static const int16_t src_int16_1_3_1814_5000_fir[48] = { -9, -7, 22, diff --git a/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h index 96dbf415df45..af8618a4d8ee 100644 --- a/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_1_6_1814_5000_fir[92] = { +__cold_data static const int16_t src_int16_1_6_1814_5000_fir[92] = { -4, 0, 10, diff --git a/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h b/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h index 473fd0736638..5b7fc4025441 100644 --- a/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h +++ b/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_20_21_1667_5000_fir[320] = { +__cold_data static const int16_t src_int16_20_21_1667_5000_fir[320] = { 3, 49, -174, diff --git a/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h b/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h index dc0a32fc4388..4994a6a7c161 100644 --- a/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h +++ b/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_21_20_1667_5000_fir[336] = { +__cold_data static const int16_t src_int16_21_20_1667_5000_fir[336] = { -4, 61, -87, diff --git a/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h b/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h index ec618ce32b0d..435d78fc94ef 100644 --- a/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_24_25_1814_5000_fir[480] = { +__cold_data static const int16_t src_int16_24_25_1814_5000_fir[480] = { 5, -32, -12, diff --git a/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h b/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h index 3d2774f423f7..451e85c33717 100644 --- a/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_25_24_1814_5000_fir[400] = { +__cold_data static const int16_t src_int16_25_24_1814_5000_fir[400] = { -6, 60, -44, diff --git a/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h index 73aca616e212..c3bca1c1dc1e 100644 --- a/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h @@ -6,7 +6,7 @@ #include -static const int16_t src_int16_2_1_1814_5000_fir[32] = { +__cold_data static const int16_t src_int16_2_1_1814_5000_fir[32] = { -7, 63, -62, diff --git a/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h b/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h index eaf5c779b880..acc736d56a74 100644 --- a/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_2_3_1814_5000_fir[48] = { +__cold_data static const int16_t src_int16_2_3_1814_5000_fir[48] = { -9, 21, 126, diff --git a/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h index 2dac6f53cff0..0614bf12ba3b 100644 --- a/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_3_1_1814_5000_fir[48] = { +__cold_data static const int16_t src_int16_3_1_1814_5000_fir[48] = { -7, 58, -28, diff --git a/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h b/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h index e46edb8d7f31..6a12565edb94 100644 --- a/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_3_2_1814_5000_fir[48] = { +__cold_data static const int16_t src_int16_3_2_1814_5000_fir[48] = { -6, 58, -28, diff --git a/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h index b19982f98dca..a1a11c6c0d81 100644 --- a/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_6_1_1814_5000_fir[96] = { +__cold_data static const int16_t src_int16_6_1_1814_5000_fir[96] = { -7, 53, -2, diff --git a/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h b/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h index b1ed9c100f9b..7cf3588ab8b8 100644 --- a/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_7_8_1814_5000_fir[140] = { +__cold_data static const int16_t src_int16_7_8_1814_5000_fir[140] = { -3, -28, 94, diff --git a/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h b/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h index 4c6dba28deda..c4fc10b3445b 100644 --- a/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h @@ -7,7 +7,7 @@ #include -static const int16_t src_int16_8_7_1814_5000_fir[128] = { +__cold_data static const int16_t src_int16_8_7_1814_5000_fir[128] = { -7, 55, -1, diff --git a/src/audio/src/src.c b/src/audio/src/src.c index d75b1eb53822..ce3d00ba2399 100644 --- a/src/audio/src/src.c +++ b/src/audio/src/src.c @@ -10,6 +10,7 @@ */ #include +#include #include "src_common.h" #include "src_config.h" diff --git a/src/audio/src/src_common.c b/src/audio/src/src_common.c index 3a8fa8541bfa..3a8135592ce6 100644 --- a/src/audio/src/src_common.c +++ b/src/audio/src/src_common.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -644,7 +645,7 @@ int src_reset(struct processing_module *mod) return 0; } -int src_free(struct processing_module *mod) +__cold int src_free(struct processing_module *mod) { struct comp_data *cd = module_get_private_data(mod); diff --git a/src/audio/src/src_ipc4.c b/src/audio/src/src_ipc4.c index c1244801d1c1..4289ba836de4 100644 --- a/src/audio/src/src_ipc4.c +++ b/src/audio/src/src_ipc4.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -179,7 +180,7 @@ int src_prepare_general(struct processing_module *mod, return ret; } -int src_init(struct processing_module *mod) +__cold int src_init(struct processing_module *mod) { struct module_data *md = &mod->priv; struct module_config *cfg = &md->cfg; diff --git a/src/audio/src/src_lite.c b/src/audio/src/src_lite.c index 35423dad9225..1602ce68ea6c 100644 --- a/src/audio/src/src_lite.c +++ b/src/audio/src/src_lite.c @@ -5,6 +5,7 @@ // Author: Fabiola Jasinska #include +#include #include "src_common.h" #include "src_config.h" diff --git a/src/include/module/module/llext.h b/src/include/module/module/llext.h index f8477fe7d9b3..1325700ed3a6 100644 --- a/src/include/module/module/llext.h +++ b/src/include/module/module/llext.h @@ -36,8 +36,10 @@ static const struct sof_module_api_build_info buildinfo __section(".mod_buildinf #if CONFIG_LLEXT_TYPE_ELF_RELOCATABLE && defined(LL_EXTENSION_BUILD) #define __cold __section(".text.dram") +#define __cold_data __section(".rodata.dram") #else #define __cold +#define __cold_data #endif #endif