Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

plugins: always include cpu.h in linker script

Change-Id: I5a5dad0c6094735fa3af676667232571bf0efdf3

+2 -11
+2 -11
apps/plugins/plugin.lds
··· 1 + #define __ASSEMBLER__ 1 2 #include "config.h" 3 + #include "cpu.h" 2 4 3 5 /* These output formats should be in the config-files */ 4 6 ··· 23 25 #endif /* CPU_PP */ 24 26 25 27 #if CONFIG_CPU==IMX31L 26 - /* No fudges! */ 27 - #include "imx31l.h" 28 28 #define DRAMSIZE ((MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE \ 29 29 - CODEC_SIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE) 30 30 ··· 53 53 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA 54 54 55 55 #elif CONFIG_CPU==S3C2440 56 - #include "cpu.h" 57 56 /* must be 16Kb (0x4000) aligned */ 58 57 #define TTB_SIZE (0x4000) 59 58 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE 60 59 61 60 #elif CONFIG_CPU==TCC7801 62 - #include "cpu.h" 63 61 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE 64 62 65 63 #elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2 66 - #include "cpu.h" 67 64 #define DRAMORIG DRAM_ORIG 68 65 #if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2) 69 66 #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - TTB_SIZE) ··· 71 68 #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE) 72 69 #endif 73 70 #elif CONFIG_CPU==S5L8702 || CONFIG_CPU==S5L8720 74 - #define ASM 75 - #include "cpu.h" 76 71 #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE) 77 72 #elif CONFIG_CPU==IMX233 78 - #include "cpu.h" 79 73 #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) 80 74 #elif CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B 81 75 /* fake 'iram' region occupies first 16k */ 82 76 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - CODEC_SIZE - 0x4000 83 77 #elif CONFIG_CPU==X1000 84 - #include "cpu.h" 85 78 #define DRAMSIZE (X1000_DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE) 86 79 #endif 87 80 ··· 188 181 #define IRAMSIZE 0 189 182 190 183 #elif CONFIG_CPU == IMX233 191 - #include "cpu.h" 192 184 /* The IRAM is too small and already partly used by the core */ 193 185 #define DRAMORIG CACHED_DRAM_ADDR 194 186 #define IRAM DRAM 195 187 #define IRAMSIZE 0 196 188 197 189 #elif CONFIG_CPU == STM32H743 198 - #include "cpu.h" 199 190 #define DRAMORIG STM32_SDRAM1_BASE 200 191 #define IRAM DRAM 201 192 #define IRAMSIZE 0