Age | Commit message (Collapse) | Author |
|
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.
Change-Id: Ie2ab8da152d40be0c69dc573ced8d697d94b0674
|
|
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.
Change-Id: I0834d7bb16b2aecb2f63b58886eeda6ae4f29d59
|
|
Forms implemented to a greater or lesser degree at the moment:
ll_* = singly-linked list
lld_* = doubly-linked list
lldc_* = doubly-linked circular list
Change-Id: Ieed5af50fc59165c8b14c3513b3b5d0e6f7de9fa
|
|
Change-Id: I6e8d8ae3a5f6e1111a6b7d910a1a6b94e2733ca6
|
|
Change-Id: Idf6848fc80a56398889d5deeb16bf3707fcd3e30
Reviewed-on: http://gerrit.rockbox.org/893
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
|
|
Change-Id: I4012dca4f93ca0db386a454635534f648ba906e9
Reviewed-on: http://gerrit.rockbox.org/888
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Tested: Michael Giacomelli <giac2000@hotmail.com>
|
|
* 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.
Change-Id: Iae1a675beac887754eb3cc59b560c941077523f5
|
|
They need to include kernel-internal.h in order to perform inits.
Change-Id: I5b0f155e4ff49a065c6cb97691ecd4396a199979
|
|
* 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().
Change-Id: I6e22932fad61a9fac30fd1363c071074ee7ab382
|
|
Change-Id: Ie32d0a597b93d23a7d5946a3d9409572b41b45bc
|
|
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.
Change-Id: Ic613a2479f3cc14dc7c761517670eb15178da9f5
|
|
Change-Id: Icf5e5fb269c975eaaefc6e756f46d4530b982b1f
|
|
Never came up testing but I don't have those SDKs installed. Taking a
jab at it.
Change-Id: I4d0de1c666e0895d41b3de41dd9024626bd37601
|
|
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.
Change-Id: Ie6039b17fec057a3dcb0f453d8fd5efac984df89
|
|
Change-Id: If3fad318bc2d620fa940de3f9595ff61024939df
|
|
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.
Change-Id: Idbe43dcd9170358e06d48d00f1c69728ff45b0e3
Reviewed-on: http://gerrit.rockbox.org/801
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested: Michael Sevakis <jethead71@rockbox.org>
|
|
Change-Id: I78af1702c1f60c2fc66ebeb738aed187f13906f3
Reviewed-on: http://gerrit.rockbox.org/903
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
|
|
Change-Id: Id3a5a310e6fa53e690c92f420994875cb1bfff43
|
|
Remote buttons are bound to the standard buttons in button-target.h, but they can
have a separate buttonmap, if someone wants.
Change-Id: Id8c78a3dfec0005bf588dc16416870b4c7c56836
|
|
OF doesn't do such thing. Values in mV are converted proportionally, so no change
to the battery meter.
Change-Id: Ic545b0514535e7f17f0379ed02f6bdf515f69ac6
|
|
Change-Id: I894eb6bad600bd059fe9a5ea1103737a736d4005
|
|
Change-Id: I3150dd77b3f5ce85d324ce3e9b6931c659dbde58
Signed-off-by: Bertrik Sikken <bertrik@sikken.nl>
|
|
The "percent_to_volt_charge" values are quite arbitrary
and may need some more tweaking.
Change-Id: I9f177d46681030d615fe2c2e78cf9bd2dde026af
Reviewed-on: http://gerrit.rockbox.org/824
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
Tested: Szymon Dziok <b0hoon@o2.pl>
|
|
It's not integrated with key click option for now.
Change-Id: Ib0769b02bfebe7c55eca7b7ea61df5d6dd83cdd3
|
|
Change-Id: I89188ecc820058b79b5c8fcf3e9b5ed49ae8aff4
|
|
Change-Id: I65a8e6f39d47f5d091e9676102b0ec08eb08690c
|
|
Change-Id: I6acc21663fd0bc27509f8c37c71defb817ec7108
|
|
Change-Id: I98e25d7177b24b277a79d8bf8d494dac26553c2c
|
|
Change-Id: Ibabda73046dc523c2bd0b1dfd0644f8882fbb74c
|
|
Change-Id: I5c4cf3dedab26e4cae05496bcae3a2d235d12e2f
|
|
Change-Id: I03d44dbd05fcd5dfc0e508020fae7006d8a97505
|
|
including
BAR_PARAMS, %xl, %dr, %T,%St, %xl and %Cl
Change-Id: I0811ebfff5f83085481dcbf08f97b7223f677bfe
Reviewed-on: http://gerrit.rockbox.org/900
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
|
|
Change-Id: I594afa62b5c5a3cef1dcf4d4249a13688e425267
Reviewed-on: http://gerrit.rockbox.org/895
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
|
Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size.
Change-Id: If4651c87b402060faa24530985c6e871379c8ea1
|
|
- remove useles define in pegbox
- improve keymap of nwz in mpegplayer
- fix whitespace alignement
Change-Id: I0d5e3c59f89ed8e0e02c386255286cfbb8693230
|
|
Speeds up decoding of the 64 kbps test file by 2.59 MHz and the
128 kbps test file by 4.31 MHz on H300 (cf). Decoding the same
files on c200 is sped up by 0.33 MHz and 0.55 MHz respectively.
Change-Id: I0f9f9ef6a7293581cf45e3201b33c65504c95c81
|
|
The recent merge of upstream changed the fft to use C_MUL which
wasn't implemented in asm for coldfire.
Speeds up decoding 64 kbps test file by 2.68 MHz and 128 kbps
test file by 2.80 MHz on H300.
Change-Id: I8b61fc0f9568d6350431e311a12e44fe4f60f72e
|
|
Sync to commit bb4b6885a139644cf3ac14e7deda9f633ec2d93c
This brings in a bunch of optimizations to decode speed
and memory usage. Allocations are switched from using
the pseudostack to using the real stack. Enabled hacks
to reduce stack usage.
This should fix crashes on sansa clip, although some
files will not play due to failing allocations in the
codec buffer.
Speeds up decoding of the following test files:
H300 (cf) C200 (arm7tdmi) ipod classic (arm9e)
16 kbps (silk) 14.28 MHz 4.00 MHz 2.61 MHz
64 kbps (celt) 4.09 MHz 8.08 MHz 6.24 MHz
128 kbps (celt) 1.93 MHz 8.83 MHz 6.53 MHz
Change-Id: I851733a8a5824b61feb363a173091bc7e6629b58
|
|
This doesn't touch external tools as I see no need for.
Change-Id: Ia69248c4b6a033c3772916525257e3540bddcffa
Reviewed-on: http://gerrit.rockbox.org/891
Tested: Sebastian Leonhardt <sebastian.leonhardt@web.de>
Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
|
|
Added labels and power button.
Original author: Marko Pahlke, FS#12602
Change-Id: I17cfa245fcd36755162a3c527de6ba768568a376
|
|
Change-Id: I2783dd39a773d952997e4a6d28916290e0dd5f65
Reviewed-on: http://gerrit.rockbox.org/889
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
|
The charging curve also need to be calibrated but that will be part of another
commit.
Change-Id: Ie4c5995123e4059ae4f3c9d86c11fc1257314d39
|
|
crc32gentab() which initilizes crc table was called in bootloader
but not in main binary. Fix this temporary by always calling it in
load_mi4(). The proper fix probably to switch to const table and
drop runtime initialization.
Change-Id: I8b0c2c791642f56ed56189d156647661935a815d
|
|
Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e
Reviewed-on: http://gerrit.rockbox.org/879
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
|
Apparently the backlight driver is leaking current even when the PWM set to 0.
This patch should greatly improve the battery life of the device.
Change-Id: I76bbc8a87cae452e599b37de17e91f373cee58bc
|
|
Change-Id: I0195ae43f35c7355de66d5fa8caa24d8da6cb61e
Reviewed-on: http://gerrit.rockbox.org/883
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
|
With current MinGW using c99 as standard the compiler causes problems with some
types. Use gnu99 standard instead which doesn't do this.
Change-Id: I731f58025645ae88ac226593a2b2a62140285ee8
|
|
Change-Id: I06ed441801f50a7331d7610beaf6535f6ec0c602
|
|
Change-Id: Ifb9a00530720e0997421af9a07ae8c133f0edfd0
|
|
This silences warnings on some compilers but is anyway a good idea.
Change-Id: Ib566ab59a5d1cb433da466f3ce0c32ff150eb52e
|