Gitiles
Code Review
Sign In
gerrit.rockbox.org
/
rockbox
/
a8eeff0feefec4b1eec34980d45c87ac544d1778
/
uisimulator
/
sdl
/
kernel.c
a8eeff0
Improve the fake interrupt stuff on the sim a bit.
by Michael Sevakis
· 17 years ago
1839edf
Add queue_peek to the kernel (written by Mike Sevakis), and use it to improve upon my previous commit.
by Nicolas Pennequin
· 17 years ago
4a5894d
Correct some commenting left from an earlier set_irq_level version.
by Michael Sevakis
· 17 years ago
d6af287
Implement as genuine a set_irq_level function for the sim as possible. The yield added earlier is still nescessary since other threads won't run anyway while viewing the database screen on either sim or target.
by Michael Sevakis
· 17 years ago
9b1f1dd
Fix a warning (no newline at end of file).
by Michael Sevakis
· 17 years ago
6f51399
Fix the red
by Michael Sevakis
· 17 years ago
a9b2fb5
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.
by Michael Sevakis
· 17 years ago
035529c
Enable auto reply for queue messages sent with queue_send. It's only nescessary to use queue_reply to return a value other than zero or to return a result before waiting on the queue again.
by Michael Sevakis
· 17 years ago
0107dfc
UISIMULATOR: Give the host OS some needed context switching hints (which _is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about.
by Michael Sevakis
· 17 years ago
174ce90
Fix some warnings in sim kernel.
by Michael Sevakis
· 17 years ago
f64ebb1
Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
by Michael Sevakis
· 17 years ago
ea88571
Fix red simulator builds. queue_broadcast() was missing...
by Jens Arnold
· 18 years ago
abf3435
Slightly less hacky sim queue_send(), fixes simulator crashes FS#7051 and FS#7245.
by Steve Bavin
· 18 years ago
0b7bb31
Simplification, queue pointers don't wrap (except at INT_MAX, but the calculation is still correct in this case). Implemented queue_count() for the simulator.
by Jens Arnold
· 18 years ago
55392f7
Perform the obligatory fix-the-sims dance.
by Michael Sevakis
· 18 years ago
dee43ec
Put an end to priority inversion in the ata driver. Gave up trying to have fully atomic dual use mutexes so just replaced the ata driver locking with spins. Maybe I'll have better luck later. Things should run smoothly with database updates and such happening in the background.
by Michael Sevakis
· 18 years ago
4b90267
Convert queues to use intptr_t for event data and return values as most of the time pointer are not passed and it should make some things a bit cleaner.
by Michael Sevakis
· 18 years ago
43c1592
Add queue_send synchronous message sending. Right now only for SWCODEC. Actual usage to be added to playback and recording shortly in upcoming commits.
by Michael Sevakis
· 18 years ago
46925b3
Oops, sim was missing a queue function
by Steve Bavin
· 18 years ago
a85044b
New scheduler, with priorities for swcodec platforms. Frequent task
by Miika Pekkarinen
· 18 years ago
9cde770
Patch 5107 from Steve Bavin, enable locking on sdl sim, now mutexes actually MUT EX on the SDL sim
by Brandon Low
· 19 years ago
d0c65f7
Use correct sleep function in simulator queue wait.
by Dan Everton
· 19 years ago
b4ada86
Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
by Jens Arnold
· 19 years ago
fc72c53
Patch #1417462 by Dan Everton - Improved SDL simulator
by Linus Nielsen Feltzing
· 19 years ago
765e0f8
New kernel function, queue_delete(struct event_queue *q)
by Linus Nielsen Feltzing
· 19 years ago
0e41998
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
by Daniel Stenberg
· 19 years ago