summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-04-26 22:57:31 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-04-28 20:04:10 +0100
commit20fc9282213b2c50938bc75e8556c8cfa0d1aee7 (patch)
tree34357e0106df71ab14ef0d5217508b01779e66c8 /apps/plugins
parented8c977e2fb3c525868411a270a5d57fe0105611 (diff)
downloadrockbox-20fc9282213b2c50938bc75e8556c8cfa0d1aee7.tar.gz
rockbox-20fc9282213b2c50938bc75e8556c8cfa0d1aee7.zip
x1000: Centralize common definitions, memory layout
Change-Id: I8daad058ae55d4b750b1ae407153e4917de5d095
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/plugin.lds6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 5dfaa6c86b..cc0be3abd5 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -77,9 +77,9 @@ OUTPUT_FORMAT(elf32-littlemips)
77#include "cpu.h" 77#include "cpu.h"
78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) 78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
79#elif CONFIG_CPU==X1000 79#elif CONFIG_CPU==X1000
80#include "config.h" 80#include "cpu.h"
81#undef STUBOFFSET 81#undef STUBOFFSET
82#define STUBOFFSET 0x4000 82#define DRAMSIZE (X1000_DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE)
83#endif 83#endif
84 84
85 /* default to full RAM (minus codecs&plugins) unless specified otherwise */ 85 /* default to full RAM (minus codecs&plugins) unless specified otherwise */
@@ -179,7 +179,7 @@ OUTPUT_FORMAT(elf32-littlemips)
179/* The bit of IRAM that is available is used in the core */ 179/* The bit of IRAM that is available is used in the core */
180 180
181#elif CONFIG_CPU == X1000 181#elif CONFIG_CPU == X1000
182#define DRAMORIG (0x80000000 + STUBOFFSET) 182#define DRAMORIG X1000_DRAM_BASE
183#define IRAM DRAM 183#define IRAM DRAM
184#define IRAMSIZE 0 184#define IRAMSIZE 0
185 185