Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



whenwhatwherewho
Sunday 22:00 802e011: Fix a small late creep-in goof in path parsing on native targets

Anything of one dot and one character (e.g. ".a") would get treated as
"." because I left out a condition when converting to recursionless parsing of relative components. Git 'er fixed up.
firmware/common/file_internal.c [diff]
Michael Sevakis
Saturday 09:28 5b08f1a: Remove I/O priority. It is harmful when used with the new file code.

HAVE_IO_PRIORITY was defined for native targets with dircache.

It is already effectively disabled for the most part since dircache no longer lowers its thread's I/O priority. It existed primarily for the aforementioned configuration.
apps/buffering.c [diff]
apps/buffering.h [diff]
apps/codec_thread.c [diff]
apps/playback.c [diff]
firmware/export/config.h [diff]
firmware/kernel/include/thread.h [diff]
firmware/kernel/thread-internal.h [diff]
firmware/kernel/thread.c [diff]
firmware/storage.c [diff]
Michael Sevakis
Friday 23:47 5d31d3c: Fix last warning for Warble

Unused result warnings will have to be dealt with separately.
lib/rbcodec/test/file.h [diff]
Michael Sevakis
Friday 23:08 da4938d: Get the last errors I hope!
firmware/target/hosted/samsungypr/ypr0/system-ypr0.c [diff]
lib/rbcodec/rbcodecplatform-unix.h [diff]
lib/rbcodec/test/SOURCES [diff]
lib/rbcodec/test/file.h [new]
lib/rbcodec/test/warble.c [diff]
uisimulator/common/sim_tasks.c [diff]
Michael Sevakis
Friday 21:36 f3d60ae: Hopefully fix most of the errors and warnings from the last push
bootloader/iaudio_coldfire.c [diff]
firmware/common/file_internal.c [diff]
firmware/common/unicode.c [diff]
firmware/export/config.h [diff]
firmware/include/string-extra.h [diff]
firmware/storage.c [diff]
firmware/target/hosted/filesystem-app.c [diff]
firmware/target/hosted/filesystem-hosted.h [diff]
Michael Sevakis
26th Aug 21:11 17a007b: Add normal alloca() definition and implement a strdupa and friends
firmware/include/string-extra.h [diff]
firmware/libc/include/stdlib.h [diff]
firmware/target/hosted/system-hosted.h [diff]
Michael Sevakis
6th Aug 02:26 77b3625: Add mempcpy implementation

A GNU extension that returns dst + size instead of dst. It's a nice shortcut when copying strings with a known size or back-to-back blocks and you have to do it often.

May of course be called directly or alternately through __builtin_mempcpy in some compiler versions.

For ASM on native targets, it is implemented as an alternate entrypoint to memcpy which adds minimal code and overhead.
firmware/asm/SOURCES [diff]
firmware/asm/arm/memcpy.S [diff]
firmware/asm/m68k/memcpy.S [diff]
firmware/asm/mempcpy.c [new]
firmware/asm/mips/memcpy.S [diff]
firmware/asm/sh/memcpy.S [diff]
firmware/include/string-extra.h [diff]
firmware/libc/include/string.h [diff]
Michael Sevakis
2013-08-05 7d1a47c G#566: Rewrite filesystem code (WIP)

This patch redoes the filesystem code from the FAT driver up to the clipboard code in onplay.c.

Not every aspect of this is finished therefore it is still "WIP". I don't wish to do too much at once (haha!). What is left to do is get dircache back in the sim and find an implementation for the dircache indicies in the tagcache and playlist code or do something else that has the same benefit. Leaving these out for now does not make anything unusable. All the basics are done.

Phone app code should probably get vetted (and app path handling just plain rewritten as environment expansions); the SDL app and Android run well.

Main things addressed: 1) Thread safety: There is none right now in the trunk code. Most of what currently works is luck when multiple threads are involved or multiple descriptors to the same file are open.

2) POSIX compliance: Many of the functions behave nothing like their counterparts on a host system. This leads to inconsistent code or very different behavior from native to hosted. One huge offender was rename(). Going point by point would fill a book.

3) Actual running RAM usage: Many targets will use less RAM and less stack space (some more RAM because I upped the number of cache buffers for large memory). There's very little memory lying fallow in rarely-used areas (see 'Key core changes' below). Also, all targets may open the same number of directory streams whereas before those with less than 8MB RAM were limited to 8, not 12 implying those targets will save slightly less.

4) Performance: The test_disk plugin shows markedly improved performance, particularly in the area of (uncached) directory scanning, due partly to more optimal directory reading and to a better sector cache algorithm. Uncached times tend to be better while there is a bit of a slowdown in dircache due to it being a bit heavier of an implementation. It's not noticeable by a human as far as I can say.

Key core changes: 1) Files and directories share core code and data structures.

2) The filesystem code knows which descriptors refer to same file. This ensures that changes from one stream are appropriately reflected in every open descriptor for that file (fileobj_mgr.c).

3) File and directory cache buffers are borrowed from the main sector cache. This means that when they are not in use by a file, they are not wasted, but used for the cache. Most of the time, only a few of them are needed. It also means that adding more file and directory handles is less expensive. All one must do in ensure a large enough cache to borrow from.

4) Relative path components are supported and the namespace is unified. It does not support full relative paths to an implied current directory; what is does support is use of "." and "..". Adding the former would not be very difficult. The namespace is unified in the sense that volumes may be specified several times along with relative parts, e.g.:
"/<0>/foo/../../<1>/bar" :<=> "/<1>/bar".

5) Stack usage is down due to sharing of data, static allocation and less duplication of strings on the stack. This requires more serialization than I would like but since the number of threads is limited to a low number, the tradoff in favor of the stack seems reasonable.

6) Separates and heirarchicalizes (sic) the SIM and APP filesystem code. SIM path and volume handling is just like the target. Some aspects of the APP file code get more straightforward (e.g. no path hashing is needed).

Dircache: Deserves its own section. Dircache is new but pays homage to the old. The old one was not compatible and so it, since it got redone, does all the stuff it always should have done such as:

1) It may be update and used at any time during the build process. No longer has one to wait for it to finish building to do basic file management (create, remove, rename, etc.).

2) It does not need to be either fully scanned or completely disabled; it can be incomplete (i.e. overfilled, missing paths), still be of benefit and be correct.

3) Handles mounting and dismounting of individual volumes which means a full rebuild is not needed just because you pop a new SD card in the slot. Now, because it reuses its freed entry data, may rebuild only that volume.

4) Much more fundamental to the file code. When it is built, it is the keeper of the master file list whether enabled or not ("disabled" is just a state of the cache). Its must always to ready to be started and bind all streams opened prior to being enabled.

5) Maintains any short filenames in OEM format which means that it does not need to be rebuilt when changing the default codepage.

Miscellaneous Compatibility: 1) Update any other code that would otherwise not work such as the hotswap mounting code in various card drivers.

2) File management: Clipboard needed updating because of the behavioral changes. Still needs a little more work on some finer points.

3) Remove now-obsolete functionality such as the mutex's "no preempt" flag (which was only for the prior FAT driver).

4) struct dirinfo uses time_t rather than raw FAT directory entry time fields. I plan to follow up on genericizing everything there
(i.e. no FAT attributes).

5) unicode.c needed some redoing so that the file code does not try try to load codepages during a scan, which is actually a problem with the current code. The default codepage, if any is required, is now kept in RAM separarately (bufalloced) from codepages specified to iso_decode() (which must not be bufalloced because the conversion may be done by playback threads).

Brings with it some additional reusable core code: 1) Revised file functions: Reusable code that does things such as safe path concatenation and parsing without buffer limitations or data duplication. Variants that copy or alter the input path may be based off these.

To do: 1) Put dircache functionality back in the sim. Treating it internally as a different kind of file system seems the best approach at this time.

2) Restore use of dircache indexes in the playlist and database or something effectively the same. Since the cache doesn't have to be complete in order to be used, not getting a hit on the cache doesn't unambiguously say if the path exists or not.

Tested: Michael Sevakis
apps/bookmark.c [diff]
apps/codecs.c [diff]
apps/debug_menu.c [diff]
apps/filetree.c [diff]
apps/main.c [diff]
apps/menus/display_menu.c [diff]
apps/menus/main_menu.c [diff]
apps/menus/settings_menu.c [diff]
apps/misc.c [diff]
apps/onplay.c [diff]
apps/playlist.c [diff]
apps/playlist_catalog.c [diff]
apps/plugin.c [diff]
apps/plugin.h [diff]
apps/plugins/properties.c [diff]
apps/radio/presets.c [diff]
apps/radio/radioart.c [diff]
apps/recorder/albumart.c [diff]
apps/recorder/recording.c [diff]
apps/root_menu.c [diff]
apps/scrobbler.c [diff]
apps/settings.c [diff]
apps/settings_list.c [diff]
apps/shortcuts.c [diff]
apps/tagcache.c [diff]
apps/tree.c [diff]
bootloader/creativezvm.c [diff]
bootloader/gigabeat-s.c [diff]
bootloader/gigabeat.c [diff]
bootloader/iaudio_coldfire.c [diff]
...and 101 more files.
Michael Sevakis
28th Aug 08:26 95a4c3a: Fix up the bootloaders

They can't access the raw RBVERSION define any longer.
bootloader/creativezvm.c [diff]
bootloader/gigabeat-s.c [diff]
bootloader/gigabeat.c [diff]
bootloader/iaudio_coldfire.c [diff]
bootloader/imx233.c [diff]
bootloader/ipod.c [diff]
bootloader/ipodnano2g.c [diff]
bootloader/iriver_h1x0.c [diff]
bootloader/iriver_h300.c [diff]
bootloader/main-e200r-installer.c [diff]
bootloader/main-pp.c [diff]
bootloader/mini2440.c [diff]
bootloader/mpio_hd200_hd300.c [diff]
bootloader/mrobe500.c [diff]
bootloader/ondavx747.c [diff]
bootloader/rk27xx.c [diff]
bootloader/sansaconnect.c [diff]
bootloader/show_logo.c [diff]
bootloader/telechips.c [diff]
Michael Sevakis
27th Aug 18:47 21e2b59 G#937: Prevent spurious recompiles on account of changed version.

After a local commit, any file that included version.h would have to be recompiled on account of the changed version string. This changes version.h in the build directory to rbversion.h and includes the preprocessor macro from rbversion.h in firmware/common/version.c so that only that one file needs to be recompiled after a local commit rather than a whole slew of them.

Tested: Michael Sevakis
firmware/common/version.c [diff]
firmware/firmware.make [diff]
firmware/include/version.h [new]
tools/genversion.sh [diff]
Michael Sevakis
26th Aug 13:53 25f73d6: Patch up rbendian.h for Win32 cross-compile

MingW doesn't provide that stuff.
firmware/include/rbendian.h [diff]
Michael Sevakis
13th Aug 10:46 69df565 G#911: hwpatcher: add framework for CRC computation
utils/hwpatcher/hwpatcher.c [diff]
utils/hwpatcher/lib.lua [diff]
Amaury Pouly
25th Aug 12:07 bfbec3a: Remove unused return value variable in lib/unwarminder/backtrace.c

Stop the Android warning about it
lib/unwarminder/backtrace.c [diff]
Michael Sevakis
25th Aug 11:55 2cb274c: panicf doesn't return so why not tell GCC and $AVE :
firmware/export/panic.h [diff]
firmware/kernel/thread.c [diff]
firmware/panic.c [diff]
Michael Sevakis
24th Aug 17:46 6ffb8ff: Do a better endian.h setup that isn't as fragile

We redefine the top-level macros to our own in order to maintain compatibility with compound initializers by wrapping the mid or low level definitions from the OS header.

This allows, hopefully optimized, macros from the host OS's headers to be used when building any hosted target obviating the need for NEED_GENERIC_BYTESWAPS unless the target simply doesn't define its own optimized versions (MIPS!).

Throw in some 64-bit swaps for completeness' sake; they generate no code if not yet used anyway.
firmware/export/system.h [diff]
firmware/include/rbendian.h [new]
firmware/libc/include/endian.h [new]
Michael Sevakis
19th Aug 11:47 d3cf366 G#916: Fuze+: fixed brightness settings: previously there were 81 settings for only 26 possible brightnesses, now there are 33 for 33
firmware/export/config/sansafuzeplus.h [diff]
firmware/target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c [diff]
Avi Eisenberg
22nd Aug 06:56 223038d G#921: Ukrainian language update
apps/lang/ukrainian.lang [diff]
docs/CREDITS [diff]
Kyryljan_Serhij
22nd Aug 22:39 1bc89bd: One last missing !defined(SIMULATOR) for chip8
apps/plugins/chip8.c [diff]
Frank Gevaerts
22nd Aug 16:23 e1c09cd G#926: Hope this works...
apps/plugins/chip8.c [diff]
Franklin Wei
22nd Aug 15:52 7e46440 G#923: Yellow go bye-bye
apps/plugins/chip8.c [diff]
Franklin Wei
19th Aug 19:47 8f9bd98 G#919: Fixed a chip8 bug
apps/plugins/chip8.c [diff]
Franklin Wei
20th Aug 03:58 5fb3702: Make sure load_context is the last thing in switch_thread.

This should fix the android crash issue (fingers crossed).
firmware/kernel/thread.c [diff]
Michael Sevakis
19th Aug 14:48 9fed5fd G#918: Added Clip/+ to 2048 targets
apps/plugins/SOURCES [diff]
Franklin Wei
19th Aug 13:20 7ac0056 G#917: 2048: service pack 1 :)
- fixed some bugs
- added 1-bit LCD support
apps/plugins/2048.c [diff]
Franklin Wei
18th Aug 07:44 a9713d8: thread-unix patchup!

The changed thread code may not wish to save the old context under certain circumstances but thread-unix.c assumed it would, cached it and used it unconditionally.

Also, prevent it from leaking away all the jump buffers (old problem). Creating and removing threads would eventually run it out of buffers and then it would crash after that. Plugins, like Pictureflow, which have worker threads could only be started a few times. Implement a simple O(1) allocator that will reuse them and stays self-contained to its own types (as it appears the original author intended).
firmware/asm/thread-unix.c [diff]
Michael Sevakis
17th Aug 19:56 ec844f8 G#915: Always unboost at exit
apps/plugins/2048.c [diff]
Avi Eisenberg
16th Aug 04:37 030f51c: Oops. Broke an egg. Restore wrongly removed code in mutex.c.

Nice colorful diffs reveals some lines that should NOT have been removed when !defined(HAVE_PRIORITY_SCHEDULING) in mutex_unlock.
firmware/kernel/mutex.c [diff]
Michael Sevakis
16th Aug 03:52 528715a: Fix warnings from 6ed0087

Forgot to (void) an unused parameter when priorityless.

usb-drv-rl27xx.c was using a compound init to initialize a semaphore but the structure changed so that it is no longer correct. Use designated initializers to avoid having to complete all fields.

Forgot to break compatibility on all plugins and codecs since the kernel objects are now different. Take care of that too and do the sort thing.
apps/plugin.c [diff]
apps/plugin.h [diff]
firmware/kernel/thread.c [diff]
firmware/target/arm/rk27xx/usb-drv-rk27xx.c [diff]
lib/rbcodec/codecs/codecs.h [diff]
Michael Sevakis
8th Aug 04:33 6ed0087: Base scheduler queues off linked lists and do cleanup/consolidation

Abstracts threading from itself a bit, changes the way its queues are handled and does type hiding for that as well.

Do alot here due to already required major brain surgery.

Threads may now be on a run queue and a wait queue simultaneously so that the expired timer only has to wake the thread but not remove it from the wait queue which simplifies the implicit wake handling.

List formats change for wait queues-- doubly-linked, not circular. Timeout queue is now singly-linked. The run queue is still circular as before.

Adds a better thread slot allocator that may keep the slot marked as used regardless of the thread state. Assists in dumping special tasks that switch_thread was tasked to perform (blocking tasks).

Deletes alot of code yet surprisingly, gets larger than expected. Well, I'm not not minding that for the time being-- omlettes and break a few eggs and all that.
apps/debug_menu.c [diff]
firmware/asm/m68k/thread.c [diff]
firmware/export/system.h [diff]
firmware/kernel/include/mrsw_lock.h [diff]
firmware/kernel/include/mutex.h [diff]
firmware/kernel/include/queue.h [diff]
firmware/kernel/include/semaphore.h [diff]
firmware/kernel/include/thread.h [diff]
firmware/kernel/mrsw_lock.c [diff]
firmware/kernel/mutex.c [diff]
firmware/kernel/pthread/thread.c [diff]
firmware/kernel/queue.c [diff]
firmware/kernel/semaphore.c [diff]
firmware/kernel/thread-common.c [diff]
firmware/kernel/thread-internal.h [diff]
firmware/kernel/thread.c [diff]
firmware/libc/errno.c [diff]
firmware/target/arm/pp/app-pp.lds [diff]
firmware/target/arm/pp/thread-pp.c [diff]
firmware/target/hosted/sdl/thread-sdl.c [diff]
Michael Sevakis
28th Apr 08:17 eb63d8b: Add common linked list functions

Forms implemented to a greater or lesser degree at the moment: ll_* = singly-linked list lld_* = doubly-linked list lldc_* = doubly-linked circular list
firmware/SOURCES [diff]
firmware/common/linked_list.c [new]
firmware/include/linked_list.h [new]
Michael Sevakis
13th Aug 10:44 278e866: hwpatcher: fix horrible typo in the makefile
utils/hwpatcher/Makefile [diff]
Amaury Pouly
11th Jul 10:38 df99ef2 G#893: Added highscore highlight to xobox game
apps/plugins/xobox.c [diff]
Franklin Wei
29th Jun 12:49 b61553c G#888: Added 2048 game

Tested: Michael Giacomelli
apps/plugins/2048.c [new]
apps/plugins/CATEGORIES [diff]
apps/plugins/SOURCES [diff]
apps/plugins/bitmaps/native/SOURCES [diff]
apps/plugins/bitmaps/native/_2048_background.103x103x24.bmp [new]
apps/plugins/bitmaps/native/_2048_background.121x121x24.bmp [new]
apps/plugins/bitmaps/native/_2048_background.168x168x24.bmp [new]
apps/plugins/bitmaps/native/_2048_background.224x224x24.bmp [new]
apps/plugins/bitmaps/native/_2048_background.56x56x24.bmp [new]
apps/plugins/bitmaps/native/_2048_tiles.12x12x24.bmp [new]
apps/plugins/bitmaps/native/_2048_tiles.22x22x24.bmp [new]
apps/plugins/bitmaps/native/_2048_tiles.26x26x24.bmp [new]
apps/plugins/bitmaps/native/_2048_tiles.36x36x24.bmp [new]
apps/plugins/bitmaps/native/_2048_tiles.48x48x24.bmp [new]
docs/CREDITS [diff]
manual/plugins/2048.tex [new]
manual/plugins/main.tex [diff]
Franklin Wei
8th Aug 01:23 9a3400a: Fix some more straggling stuff

* HWCODEC bootloaders

* Remove references to thread structures outside the kernel. They are private and should not be used elsewhere. The mrobe-100 is an offender that gets squashed.

* The ata.c hack stuff for large sector disks on iPod Video gets squashed for the same reason. I will no longer maintain it, period; please find the real reason for its difficulties.
firmware/drivers/ata.c [diff]
firmware/kernel/thread.c [diff]
firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c [diff]
firmware/target/arm/pp/thread-pp.c [diff]
flash/bootbox/main.c [diff]
Michael Sevakis
8th Aug 00:28 4ea4cdf: Bootloaders need the reacharound to get at the internal goods

They need to include kernel-internal.h in order to perform inits.
bootloader/creativezvm.c [diff]
bootloader/gigabeat-s.c [diff]
bootloader/gigabeat.c [diff]
bootloader/iaudio_coldfire.c [diff]
bootloader/imx233.c [diff]
bootloader/ipod.c [diff]
bootloader/ipodnano2g.c [diff]
bootloader/iriver_h1x0.c [diff]
bootloader/iriver_h300.c [diff]
bootloader/lyre_proto1.c [diff]
bootloader/main-e200r-installer.c [diff]
bootloader/main-pp.c [diff]
bootloader/main-ppsansawipe.c [diff]
bootloader/meizu_m3.c [diff]
bootloader/mini2440.c [diff]
bootloader/mpio_hd200_hd300.c [diff]
bootloader/mrobe500.c [diff]
bootloader/ondavx747.c [diff]
bootloader/rk27xx.c [diff]
bootloader/samsung_yps3.c [diff]
bootloader/sansa_as3525.c [diff]
bootloader/sansaconnect.c [diff]
bootloader/sansaview.c [diff]
bootloader/telechips.c [diff]
Michael Sevakis
7th Aug 23:39 981d028: Do some kernel cleanup

* Seal away private thread and kernel definitions and declarations into the internal headers in order to better hide internal structure.

* Add a thread-common.c file that keeps shared functions together. List functions aren't messed with since that's about to be changed to different ones.

* It is necessary to modify some ARM/PP stuff since GCC was complaining about constant pool distance and I would rather not force dump it. Just bl the cache calls in the startup and exit code and let it use veneers if it must.

* Clean up redundant #includes in relevant areas and reorganize them.

* Expunge useless and dangerous stuff like remove_thread().
apps/debug_menu.c [diff]
apps/main.c [diff]
firmware/SOURCES [diff]
firmware/asm/arm/thread.c [diff]
firmware/kernel/include/corelock.h [diff]
firmware/kernel/include/kernel.h [diff]
firmware/kernel/include/mrsw_lock.h [diff]
firmware/kernel/include/mutex.h [diff]
firmware/kernel/include/semaphore.h [diff]
firmware/kernel/include/thread.h [diff]
firmware/kernel/kernel-internal.h [diff]
firmware/kernel/mrsw_lock.c [diff]
firmware/kernel/mutex.c [diff]
firmware/kernel/pthread/thread.c [diff]
firmware/kernel/queue.c [diff]
firmware/kernel/semaphore.c [diff]
firmware/kernel/thread-common.c [new]
firmware/kernel/thread-internal.h [diff]
firmware/kernel/thread.c [diff]
firmware/libc/errno.c [diff]
firmware/target/arm/pp/thread-pp.c [diff]
firmware/target/hosted/sdl/thread-sdl.c [diff]
Michael Sevakis
7th Aug 17:09 53d9f2e: rkwtool: The tool to inspect and extract update RKW files
utils/rk27utils/README [diff]
utils/rk27utils/rkwtool/Makefile [new]
utils/rk27utils/rkwtool/main.c [new]
utils/rk27utils/rkwtool/rkw.c [new]
utils/rk27utils/rkwtool/rkw.h [new]
Marcin Bukat
6th Aug 00:10 81ffd9b: Fix some stuff for no priority and

thread_queue_wake() doesn't need the 2nd parameter. The original purpose for it never came to be.

Non priority version mrsw_writer_wakeup_readers was left improperly finished. Get that back into line.
firmware/kernel/include/thread.h [diff]
firmware/kernel/mrsw_lock.c [diff]
firmware/kernel/queue.c [diff]
firmware/kernel/thread.c [diff]
firmware/target/hosted/sdl/thread-sdl.c [diff]
Michael Sevakis
5th Aug 20:19 e7e302f: One more shot; errno.h needs to be in the ARM one too :)
firmware/asm/arm/thread.h [diff]
Michael Sevakis
5th Aug 20:05 0615cb8: Hosted builds using thread.c have errno as thread context.

Never came up testing but I don't have those SDKs installed. Taking a jab at it.
firmware/asm/thread.h [diff]
Michael Sevakis
5th Aug 19:19 29f5385: Fix up some more red

find_first_set_bit() becomes a small inline on ARMv5+ and checkwps now gets made with -std=gnu99 (it eats all the GCCOPTS) like the rest of things.
apps/gui/viewport.h [diff]
firmware/export/system.h [diff]
tools/checkwps/checkwps.make [diff]
Michael Sevakis
5th Aug 19:00 bb77009: Oops. Somehow lost the track of the new files last push.
firmware/kernel/include/mrsw_lock.h [new]
firmware/kernel/mrsw_lock.c [new]
Michael Sevakis
24th Apr 02:09 533d396 G#801: Add multi-reader, single-writer locks to kernel.

Any number of readers may be in the critical section at a time and writers are mutually exclusive to all other threads. They are a better choice when data is rarely modified but often read and multiple threads can safely access it for reading.

Priority inheritance is fully implemented along with other changes to the kernel to fully support it on multiowner objects.

This also cleans up priority code in the kernel and updates some associated structures in existing objects to the cleaner form.

Currently doesn't add the mrsw_lock.[ch] files since they're not yet needed by anything but the supporting improvements are still useful.

This includes a typed bitarray API (bitarray.h) which is pretty basic for now.

Tested: Michael Sevakis
firmware/SOURCES [diff]
firmware/include/bitarray.h [new]
firmware/kernel/include/kernel.h [diff]
firmware/kernel/include/mutex.h [diff]
firmware/kernel/include/queue.h [diff]
firmware/kernel/include/thread.h [diff]
firmware/kernel/mutex.c [diff]
firmware/kernel/queue.c [diff]
firmware/kernel/semaphore.c [diff]
firmware/kernel/thread.c [diff]
firmware/target/hosted/sdl/thread-sdl.c [diff]
Michael Sevakis

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa