Commit graph

21 commits

Author SHA1 Message Date
Michael Sevakis
b15aa47c56 All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 11:27:45 +00:00
Thomas Martitz
0bf1bd1d51 Redo r28026 so that all .S files get the __ASSEMBLER__ define.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 17:27:59 +00:00
Daniel Stenberg
2acc0ac542 Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Michael Sevakis
af395f4db6 Do core interrupt masking in a less general fashion and save some instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 01:50:41 +00:00
Michael Sevakis
a9b2fb5ee3 Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 01:25:17 +00:00
Linus Nielsen Feltzing
b133675d3e Cleaned up a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@547 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:56:33 +00:00
Linus Nielsen Feltzing
063a85c66f More newlib malloc friendly. Proper bss section allocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@525 a1c6a512-1295-4272-9138-f99709370657
2002-05-09 21:08:17 +00:00
Linus Nielsen Feltzing
ac20ed5537 Testing tick functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@451 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 18:36:13 +00:00
Linus Nielsen Feltzing
324cfa4f95 *** empty log message ***
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@446 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 17:49:25 +00:00
Linus Nielsen Feltzing
9376d05a3b Added DEBUG macro. Now uses our own sprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@385 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 21:20:05 +00:00
Linus Nielsen Feltzing
c5ac54877a Added code for testing queues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@317 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:28:37 +00:00
Linus Nielsen Feltzing
f95908c0a4 Added led.o
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@308 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 21:38:48 +00:00
Linus Nielsen Feltzing
9c1299c9c1 Working sleep() functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@232 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:30:41 +00:00
Linus Nielsen Feltzing
7b9581a131 Not yet working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@220 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 00:15:04 +00:00
Linus Nielsen Feltzing
99406a6635 Tick timer additions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@219 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:46:02 +00:00
Linus Nielsen Feltzing
17ad789742 Moved crt0.S to the firmware directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@218 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 22:00:37 +00:00
Linus Nielsen Feltzing
9dc1faf55a Changed start address. Fixed the memory map
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@205 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 22:11:50 +00:00
Linus Nielsen Feltzing
7fa8c949ad Adapted to the new directory structure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@198 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 13:24:33 +00:00
Linus Nielsen Feltzing
6bc2710c30 Further gcc option tweaking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@177 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:52:36 +00:00
Linus Nielsen Feltzing
fe1b7cfd91 Must optimize to inline functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@176 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 20:21:40 +00:00
Linus Nielsen Feltzing
1f563bfd29 First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@175 a1c6a512-1295-4272-9138-f99709370657
2002-04-22 19:12:37 +00:00