Commit graph

38 commits

Author SHA1 Message Date
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
76620fbe5b Export tick_start() to allow for tick timer reinit when changing CPU frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6092 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:33:45 +00:00
Jean-Philippe Bernardy
fc19445ba0 more long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6065 a1c6a512-1295-4272-9138-f99709370657
2005-02-25 18:50:16 +00:00
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Jean-Philippe Bernardy
a3ed6e9c7a Gmini
* advances in the handling of the smsc chip
 * moved stuff to where it belongs


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6023 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 21:34:03 +00:00
Jean-Philippe Bernardy
8ec05779e3 Gmini work:
* Better USB
* Better comments
* Better coding style


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6022 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 17:49:58 +00:00
Jean-Philippe Bernardy
3f818ac594 Gmini keep alive implemented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5938 a1c6a512-1295-4272-9138-f99709370657
2005-02-13 17:06:35 +00:00
Jean-Philippe Bernardy
8a77317e9c long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5716 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 15:40:25 +00:00
Jean-Philippe Bernardy
34d2a71fdd More int -> long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5654 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 14:26:24 +00:00
Daniel Stenberg
01c484c5d2 Jean-Philippe Bernardy: minor correction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5558 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 22:20:46 +00:00
Daniel Stenberg
fe79cd8fa9 Jean-Philippe Bernardy: ported to gmini120
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5545 a1c6a512-1295-4272-9138-f99709370657
2005-01-09 23:24:02 +00:00
Linus Nielsen Feltzing
9c4423f010 Coldfire: System tick at 10ms
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5367 a1c6a512-1295-4272-9138-f99709370657
2004-10-27 07:07:54 +00:00
Linus Nielsen Feltzing
cc0552877b Made queue_clear() atomic, and made the argument non-const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5030 a1c6a512-1295-4272-9138-f99709370657
2004-09-01 06:24:05 +00:00
Linus Nielsen Feltzing
9872fead25 New kernel function: queue_clear()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5029 a1c6a512-1295-4272-9138-f99709370657
2004-09-01 06:20:21 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Daniel Stenberg
7ba7ffd843 remove extra ';'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4754 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 11:30:28 +00:00
Linus Nielsen Feltzing
111a972b65 Made set_irq_level() an inline function, and optimized it by removing the bit shifts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00
Linus Nielsen Feltzing
f9c780ccc1 The cli()/sti() functions are not safe. We should have removed them long ago.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-02-25 13:00:36 +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
c3fd67c6c9 Killed a dozen global variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
2002-12-18 14:57:45 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Linus Nielsen Feltzing
9f1c82e6cc More accurate tick period calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2539 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 06:35:29 +00:00
Linus Nielsen Feltzing
1f4613df6c sleep() and queue_wait() moved to internal RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1499 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:14:01 +00:00
Linus Nielsen Feltzing
5421181c77 Added panicf() call in tick_add_task()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1254 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 21:30:42 +00:00
Linus Nielsen Feltzing
2a73cec69b Added queue_broadcast()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1253 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 21:19:55 +00:00
Linus Nielsen Feltzing
9430a0b7d6 Added init_threads function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@920 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:56:10 +00:00
Linus Nielsen Feltzing
80f8b22357 Clarified the mutex code, renamed the NUM_TICK_TASKS macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@885 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:47:39 +00:00
Linus Nielsen Feltzing
150c5a7cef Moved NUM_TICK_TASKS definition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@884 a1c6a512-1295-4272-9138-f99709370657
2002-06-04 12:25:53 +00:00
Björn Stenberg
29f80283e9 Added queue_empty()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@658 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:22:07 +00:00
Linus Nielsen Feltzing
7361340ab5 Changed queue API. Added mutex functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@601 a1c6a512-1295-4272-9138-f99709370657
2002-05-16 20:57:32 +00:00
Linus Nielsen Feltzing
e48a45a11a The set_irq_level function was braindead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@545 a1c6a512-1295-4272-9138-f99709370657
2002-05-11 21:44:04 +00:00
Linus Nielsen Feltzing
b7104fcd48 Made set_irq_level() and queue_post() interrupt safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@521 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 22:07:41 +00:00
Linus Nielsen Feltzing
48d38d918f sleep() always sleeps at least one tick
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@509 a1c6a512-1295-4272-9138-f99709370657
2002-05-08 08:41:19 +00:00
Linus Nielsen Feltzing
9566349db6 tick_start() now uses HZ
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@502 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 23:01:42 +00:00
Linus Nielsen Feltzing
9e142daa83 Added tick and interrupt level functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@449 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 18:34:06 +00:00
Linus Nielsen Feltzing
bd2561dcbb Added queue handling stuff - NOT INTERRUPT SAFE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@315 a1c6a512-1295-4272-9138-f99709370657
2002-04-29 14:25:44 +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
Björn Stenberg
1acfd6b39d Alan's ATA code, or what's left of it after I have laid my grubby little hands
on it. :-) It compiles, but it probably doesn't work...
Also, a stub for future kernel code. A sleep() and a dummy yield(), just so we
can start to use them in other code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@163 a1c6a512-1295-4272-9138-f99709370657
2002-04-21 22:06:12 +00:00