From 82f9056988331572e01231d70fadc64b7ab76c6f Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Sun, 4 Mar 2007 20:06:41 +0000 Subject: Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 6 ------ uisimulator/sdl/thread-sdl.c | 6 ------ 2 files changed, 12 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index a993a9e0e8..8ea46824ce 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -258,12 +258,6 @@ void remove_thread(int threadnum) (void)threadnum; } -void remove_thread_on_core(unsigned int core, int threadnum) -{ - (void)core; - (void)threadnum; -} - /* assure an unused place to direct virtual pointers to */ #define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ unsigned char vp_dummy[VIRT_SIZE]; diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c index 041ca3153d..21697699a5 100644 --- a/uisimulator/sdl/thread-sdl.c +++ b/uisimulator/sdl/thread-sdl.c @@ -75,12 +75,6 @@ int create_thread(void (*fp)(void), void* sp, int stk_size) return 0; } -int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size) -{ - (void)core; - return create_thread(fp, sp, stk_size); -} - void init_threads(void) { m = SDL_CreateMutex(); -- cgit v1.2.3