diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-07-13 22:15:19 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-07-13 22:15:19 +0000 |
commit | 13d56150b6678841a67cdca5acbb484814e78ce7 (patch) | |
tree | 0b20688a008f0037301f31945fcd5ad43b946d28 /apps/plugins/plugin.lds | |
parent | 9cb5e0e9f94e0660682f35b7ae2d55a82f009f03 (diff) | |
download | rockbox-13d56150b6678841a67cdca5acbb484814e78ce7.tar.gz rockbox-13d56150b6678841a67cdca5acbb484814e78ce7.zip |
Added plugin support for 8MB-modified units. This bumps the plugin API version number again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index bc24901dad..c8354fae11 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -1,8 +1,12 @@ | |||
1 | OUTPUT_FORMAT(elf32-sh) | 1 | OUTPUT_FORMAT(elf32-sh) |
2 | 2 | ||
3 | #define PLUGIN_LENGTH 0x8000 | ||
4 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH | ||
5 | #define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE)) | ||
6 | |||
3 | MEMORY | 7 | MEMORY |
4 | { | 8 | { |
5 | PLUGIN_RAM : ORIGIN = 0x091f8000, LENGTH = 0x8000 | 9 | PLUGIN_RAM : ORIGIN = PLUGIN_ORIGIN, LENGTH = PLUGIN_LENGTH |
6 | } | 10 | } |
7 | 11 | ||
8 | SECTIONS | 12 | SECTIONS |