Commit graph

23 commits

Author SHA1 Message Date
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Jens Arnold
a317d74d8e Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, and reduced the main thread stack to 8KB, same size as on archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 a1c6a512-1295-4272-9138-f99709370657
2005-09-01 20:57:33 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Linus Nielsen Feltzing
62c768c0db Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Linus Nielsen Feltzing
2d25122431 H110 adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7071 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:59 +00:00
Daniel Stenberg
8493ccb285 Renamed the iriver h120 defines and configs to "h120"! Added initial support
for the h100 series.

Please re-run configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Jens Arnold
305a7ce1a2 Enabled sectioned compilation for the plugin library, and linking with garbage collection for the plugins. The effect is that functions and data objects from one object file in the plugin library are included in the .elf individually, not as a whole. It makes maintaining larger plugin library packages easier, as it is no longer necessary to split the source files by function to avoid dead code to get included in the plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6931 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:04:22 +00:00
Daniel Stenberg
3a78ab9a4f fix to enable plugins to build fine for h300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6913 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:12:45 +00:00
Jens Arnold
91f572c3b5 Iriver: Fix codec <-> plugin start address clash, leading to crashes when trying to run plugins while playing music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6903 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 21:12:11 +00:00
Daniel Stenberg
a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Daniel Stenberg
d6cf3a0305 increase codec buffer size to fit the mpc codec properly (NOTE: the codec
loader does not detect when the full codec doesn't fit)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6827 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:34:11 +00:00
Linus Nielsen Feltzing
ecf2f747ed Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Linus Nielsen Feltzing
c88b5b74fd Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6327 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 18:54:20 +00:00
Linus Nielsen Feltzing
e638eadaff Temporary solution for code and data in IRAM for iriver codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6029 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 00:42:22 +00:00
Dave Chapman
9d4a79b444 Discard .eh_frame, otherwise the codec viewer plugins are about 800MB in size. See http://www.rockbox.org/mail/archive/rockbox-archive-2004-07/0445.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5960 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 22:25:53 +00:00
Dave Chapman
e452383359 Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:37 +00:00
Linus Nielsen Feltzing
3fcfdffe88 Added .rodata.str1.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5783 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:40:47 +00:00
Daniel Stenberg
bc54fbd673 set the start address for iRiver plugins (this is still not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5782 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:25:18 +00:00
Daniel Stenberg
0a0c4d5379 allow different output formats for other targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5771 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 08:34:20 +00:00
Jörg Hohensohn
5d761f79aa Suggestion by Magnus Holmgren: avoid odd bytecount for plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3918 a1c6a512-1295-4272-9138-f99709370657
2003-08-04 19:13:42 +00:00
Björn Stenberg
13d56150b6 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
2003-07-13 22:15:19 +00:00
Linus Nielsen Feltzing
9381f14ff9 string section patch by Nix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3812 a1c6a512-1295-4272-9138-f99709370657
2003-07-06 09:26:45 +00:00
Björn Stenberg
ba371fb595 Added plugin loader. Moved games, demos and the text viewer to loadable plugins. Copy your *.rock files to /.rockbox/rocks/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3769 a1c6a512-1295-4272-9138-f99709370657
2003-06-29 16:33:04 +00:00