rockbox/firmware
Michael Sevakis 355b5406fa Make errno a thread-local variable.
errno is supposed to be thread local and we do that here in a rather
makeshift way by implementing a function that returns a pointer to
the __errno variable in the thread block.

If more serious TLS is required, perhaps it would be worthwhile
implementing it using the linker and the "__thread" storage attribute.
That's a bit overkill just for this. I'm also not liking what I saw
the compiler producing.

Change-Id: I03bc0bd6a89f6e3d6bae7653284ee01054614f9a
Reviewed-on: http://gerrit.rockbox.org/803
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested: Michael Sevakis <jethead71@rockbox.org>
2014-05-09 23:14:58 +02:00
..
asm kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
common application(ypr0): Fix mount option selected by the current codepage. 2014-02-28 07:22:37 +01:00
decompressor
drivers some optimization for iriver h100 and h300 series 2014-03-18 14:12:06 +01:00
export Sansa View: adjust two things (define fake codec, missing header file) in order 2014-03-27 22:35:04 +00:00
include samsungypr0: Support or mounting the microsd 2014-02-23 20:23:52 +01:00
kernel Make errno a thread-local variable. 2014-05-09 23:14:58 +02:00
libc Make errno a thread-local variable. 2014-05-09 23:14:58 +02:00
target regtools: normalise description files, and remove obsolete file. No logical change. 2014-05-01 19:35:05 +02:00
test Make fat test tool build again, and make its sector size configurable. 2014-01-03 23:57:32 +01:00
usbstack Coding style fix for bde5394 2014-02-10 07:46:13 +01:00
arabjoin.c
arabjoin.h
ata_idle_notify.c Fix reds. 2014-03-14 23:43:45 +01:00
backlight-sw-fading.c change order of include headers and at the same time fix warning about 2014-03-27 19:50:47 +00:00
backlight.c
bidi.c bidi.c: Check buffer sizes. 2014-01-09 23:30:32 +01:00
buflib.c buflib: Add a define telling the per-alloc overhead. 2014-02-02 19:40:38 +01:00
COPYING
core_alloc.c buflib: Properly support allocations without any name, to avoid wasting space 2014-02-02 19:40:38 +01:00
debug.c
eeprom_settings.c
enc_base.c
events.c Fix stupid typo in 470989b that triggered panics easily. 2014-03-15 02:23:43 +01:00
firmware.make kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
font.c fonts: Fix regression(s) caused by c23ce62. 2014-01-26 14:01:48 +01:00
font_cache.c fonts: Do not unload completely on USB. 2014-01-15 23:37:39 +01:00
general.c kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
hangul.c
ifp_usb_serial.c
load_code.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
logf.c events: Rework event subsystem (add_event, send_event) to be more versatile. 2014-03-14 23:36:30 +01:00
lru.c
panic.c Print `last logf lines on panic(). 2014-01-11 11:37:18 +01:00
pcm.c Greatly reduce volume-change zipper artifacts with SW volume. 2014-03-08 08:04:41 +01:00
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c Greatly reduce volume-change zipper artifacts with SW volume. 2014-03-08 08:04:41 +01:00
powermgmt.c
profile.c
README
rolo.c Fix reds. Also apply the new scrolling to lcd charcell (this even uncovered an 2013-12-15 00:38:48 +01:00
rom.lds rombox: Do not copy .init section to ram on startup. 2014-01-20 10:42:02 +01:00
screendump.c screendump.c: use HOME_DIR instead of the hard-coded "" (root) 2013-09-27 09:21:05 +02:00
scroll_engine.c scroll_engine: Fix FS#12894: Text scrolling stops working after a few seconds/minutes 2014-01-12 21:29:55 +01:00
sdmmc.c
sound.c
SOURCES kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
storage.c
system.c
timer.c
tuner.c
usb.c

See docs/README