summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index bc24901..c8354fa 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -1,8 +1,12 @@
OUTPUT_FORMAT(elf32-sh)
+#define PLUGIN_LENGTH 0x8000
+#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH
+#define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE))
+
MEMORY
{
- PLUGIN_RAM : ORIGIN = 0x091f8000, LENGTH = 0x8000
+ PLUGIN_RAM : ORIGIN = PLUGIN_ORIGIN, LENGTH = PLUGIN_LENGTH
}
SECTIONS