Thomas Martitz
50a6ca39ad
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
...
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:04:40 +00:00
Thomas Martitz
0a1d7c28b7
Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:13 +00:00
Andree Buschmann
bfc129a592
Fix even more tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24155 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 10:35:31 +00:00
Frank Gevaerts
c0a5a67387
Commit FS#9545, storage cleanup and multi-driver support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Bertrik Sikken
4f87abf90a
Cosmetic fix: remove duplicate semicolons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-04 18:15:06 +00:00
Björn Stenberg
cea285d64e
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:28:56 +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
Björn Stenberg
08b1e490e1
Removed second test
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11969 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:38:42 +00:00
Björn Stenberg
dea7d35c0f
More testing...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11968 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:34:29 +00:00
Linus Nielsen Feltzing
e2022a26d0
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Björn Stenberg
95ce54b743
Removed test text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11965 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:51:25 +00:00
Björn Stenberg
83bdb3ec2c
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11964 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:48:46 +00:00
Björn Stenberg
4e08e7b0a4
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11963 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:47:38 +00:00
Björn Stenberg
577867e93d
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11962 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:36:38 +00:00
Björn Stenberg
6090232c7a
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11961 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:34:05 +00:00
Björn Stenberg
c4807d3924
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11960 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 22:00:08 +00:00
Björn Stenberg
4318f59b40
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11959 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:57:43 +00:00
Björn Stenberg
bfcc9ea6a2
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11958 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:51:17 +00:00
Björn Stenberg
872482ad58
Reverted test
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11957 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 21:13:57 +00:00
Björn Stenberg
283da1c2de
Test commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11955 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 19:18:19 +00:00
Jens Arnold
a7c20ac760
Replaced remaining '#pragma interrupt' with __attribute__((interrupt_handler)). It's cleaner this way, and fixes sh-elf-gcc 3.4.x builds with -Os or -O2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9816 a1c6a512-1295-4272-9138-f99709370657
2006-04-26 20:22:27 +00:00
Jens Arnold
a02567db9e
64 sectors are 64 sectors...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6313 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 18:48:13 +00:00
Björn Stenberg
ae2bf7ab72
Display return code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6312 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:32:21 +00:00
Björn Stenberg
8776fc0ab8
rename() requires path on destination name now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6311 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:31:24 +00:00
Björn Stenberg
4d1757b042
Don't create /dir in buildimage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6310 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:22:49 +00:00
Björn Stenberg
b99551d1be
FAT test case builds again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6309 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 14:16:35 +00:00
Jörg Hohensohn
da84857631
prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jörg Hohensohn
b2c2738f09
test code portable now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5145 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 19:19:09 +00:00
Linus Nielsen Feltzing
0876cec68a
Added rmdir, and changed atoi() to strtol(), to be able to enter hex values as arguments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4507 a1c6a512-1295-4272-9138-f99709370657
2004-04-16 08:13:27 +00:00
Linus Nielsen Feltzing
d070fc9627
Minor corrections for the mkdir function, and some cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4506 a1c6a512-1295-4272-9138-f99709370657
2004-04-15 08:38:13 +00:00
Linus Nielsen Feltzing
60b1c4bbe1
Implemented the mkdir() function in the FAT32 driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4238 a1c6a512-1295-4272-9138-f99709370657
2004-01-15 14:30:59 +00:00
Daniel Stenberg
8463a2bbd3
ancient experimental test code not used for 2+ years, removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4212 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:46:17 +00:00
Daniel Stenberg
5c7d66890c
prehistoric stuff never used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4211 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:44:36 +00:00
Daniel Stenberg
e11a1e29df
malloc is not used in Rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4210 a1c6a512-1295-4272-9138-f99709370657
2004-01-08 15:43:37 +00:00
Daniel Stenberg
2955a2ead3
initial test code for the snprintf() (and family) function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3449 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:12:48 +00:00
Björn Stenberg
6365f2a558
Updated with new export dir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3404 a1c6a512-1295-4272-9138-f99709370657
2003-03-10 12:42:53 +00:00
Björn Stenberg
c4d8d970f6
The power-saving SLEEP patch by Simon Elén.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-02-14 09:44:34 +00:00
Björn Stenberg
f6cb6163b9
Fat test code, for the archives.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2911 a1c6a512-1295-4272-9138-f99709370657
2002-12-03 14:00:33 +00:00
Björn Stenberg
dc9cdc40ed
Added close() return code checks, and an eof-write test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2848 a1c6a512-1295-4272-9138-f99709370657
2002-11-14 15:32:34 +00:00
Björn Stenberg
8a727cecdb
Fixed file creation test case for new flags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657
2002-11-12 09:04:53 +00:00
Björn Stenberg
4cde667659
Added a truckload of test code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2829 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:47:19 +00:00
Björn Stenberg
307f5d846e
Added remove()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2801 a1c6a512-1295-4272-9138-f99709370657
2002-11-01 15:26:06 +00:00
Björn Stenberg
f9b5fdcd4d
Added lseek() to chkfile test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2795 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 20:40:15 +00:00
Björn Stenberg
6b104a6c69
Improved tests.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2794 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 19:06:14 +00:00
Björn Stenberg
a5e77d8f94
Fat writing update. File creation now works, though still only short filenames.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2790 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 16:09:28 +00:00
Björn Stenberg
b4cf6a1a0b
Remodeled as a test application
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2782 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 16:15:03 +00:00
Björn Stenberg
56b745029b
Fat driver test script
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2781 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 16:14:32 +00:00
Björn Stenberg
ab7c63814b
'fat' is now a ommand-line test tool
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2747 a1c6a512-1295-4272-9138-f99709370657
2002-10-23 14:34:53 +00:00