forked from len0rd/rockbox
Rockbox as an application: Commit current Android port progress.
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too). Problems: - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now. - no cabbiev2 (only some preliminary files for it), no other default theme. - screen flickers sometimes if the updates are too frequent - no multi screen apk/package - strange behavior when a phone call comes in The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder. I've put a small README in there for instructions. There are some steps needed after the make part, which are described there, and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
850efead04
commit
240923a801
53 changed files with 2103 additions and 68 deletions
|
|
@ -79,9 +79,19 @@
|
|||
|
||||
#define MAXTHREADS (BASETHREADS+TARGET_EXTRA_THREADS)
|
||||
|
||||
/*
|
||||
* We need more stack when we run under a host
|
||||
* maybe more expensive C lib functions?
|
||||
*
|
||||
* simulator doesn't simulate stack usage anyway but well ... */
|
||||
#if ((CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SIMULATOR))
|
||||
#define DEFAULT_STACK_SIZE 0x400 /* Bytes */
|
||||
#else
|
||||
#define DEFAULT_STACK_SIZE 0x1000 /* Bytes */
|
||||
#endif
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
|
||||
#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_ANDROID))
|
||||
/* Need to keep structures inside the header file because debug_menu
|
||||
* needs them. */
|
||||
#ifdef CPU_COLDFIRE
|
||||
|
|
@ -101,7 +111,7 @@ struct regs
|
|||
uint32_t pr; /* 32 - Procedure register */
|
||||
uint32_t start; /* 36 - Thread start address, or NULL when started */
|
||||
};
|
||||
#elif defined(CPU_ARM)
|
||||
#elif defined(CPU_ARM) || (CONFIG_PLATFORM & PLATFORM_ANDROID)
|
||||
struct regs
|
||||
{
|
||||
uint32_t r[8]; /* 0-28 - Registers r4-r11 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue