diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-16 01:25:17 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-16 01:25:17 +0000 |
commit | a9b2fb5ee3114fe835f6515b6aeae7454f66d821 (patch) | |
tree | fc4e96d0c1f215565918406c8827b16b806c1345 /firmware/pcm_record.c | |
parent | a3fbbc9fa7e12fd3fce122bbd235dc362050e024 (diff) | |
download | rockbox-a9b2fb5ee3114fe835f6515b6aeae7454f66d821.tar.gz rockbox-a9b2fb5ee3114fe835f6515b6aeae7454f66d821.zip |
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.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/pcm_record.c')
-rw-r--r-- | firmware/pcm_record.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c index 361689de3a..c2d2719d05 100644 --- a/firmware/pcm_record.c +++ b/firmware/pcm_record.c | |||
@@ -213,8 +213,8 @@ enum | |||
213 | 213 | ||
214 | /***************************************************************************/ | 214 | /***************************************************************************/ |
215 | 215 | ||
216 | static struct event_queue pcmrec_queue; | 216 | static struct event_queue pcmrec_queue NOCACHEBSS_ATTR; |
217 | static struct queue_sender_list pcmrec_queue_send; | 217 | static struct queue_sender_list pcmrec_queue_send NOCACHEBSS_ATTR; |
218 | static long pcmrec_stack[3*DEFAULT_STACK_SIZE/sizeof(long)]; | 218 | static long pcmrec_stack[3*DEFAULT_STACK_SIZE/sizeof(long)]; |
219 | static const char pcmrec_thread_name[] = "pcmrec"; | 219 | static const char pcmrec_thread_name[] = "pcmrec"; |
220 | static struct thread_entry *pcmrec_thread_p; | 220 | static struct thread_entry *pcmrec_thread_p; |
@@ -365,8 +365,8 @@ void pcm_rec_init(void) | |||
365 | queue_enable_queue_send(&pcmrec_queue, &pcmrec_queue_send); | 365 | queue_enable_queue_send(&pcmrec_queue, &pcmrec_queue_send); |
366 | pcmrec_thread_p = | 366 | pcmrec_thread_p = |
367 | create_thread(pcmrec_thread, pcmrec_stack, sizeof(pcmrec_stack), | 367 | create_thread(pcmrec_thread, pcmrec_stack, sizeof(pcmrec_stack), |
368 | pcmrec_thread_name IF_PRIO(, PRIORITY_RECORDING) | 368 | 0, pcmrec_thread_name IF_PRIO(, PRIORITY_RECORDING) |
369 | IF_COP(, CPU, false)); | 369 | IF_COP(, CPU)); |
370 | } /* pcm_rec_init */ | 370 | } /* pcm_rec_init */ |
371 | 371 | ||
372 | /** audio_* group **/ | 372 | /** audio_* group **/ |
@@ -1437,7 +1437,7 @@ static void pcmrec_resume(void) | |||
1437 | static void pcmrec_thread(void) __attribute__((noreturn)); | 1437 | static void pcmrec_thread(void) __attribute__((noreturn)); |
1438 | static void pcmrec_thread(void) | 1438 | static void pcmrec_thread(void) |
1439 | { | 1439 | { |
1440 | struct event ev; | 1440 | struct queue_event ev; |
1441 | 1441 | ||
1442 | logf("thread pcmrec start"); | 1442 | logf("thread pcmrec start"); |
1443 | 1443 | ||