diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-12 16:56:45 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-12 16:56:45 +0000 |
| commit | a7af9e4a7f25f5a32306c74e95a677e6c85f399e (patch) | |
| tree | 5df60e8382b69cf943840852269ea9387d42ea46 /firmware/export/thread.h | |
| parent | ddfd787c54d78104dac4ed144ff6cb6df8617a0e (diff) | |
| download | rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.zip rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.tar.gz rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.tar.bz2 rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.tar.xz | |
Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/thread.h')
| -rw-r--r-- | firmware/export/thread.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index 8c23387..eea5897 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -62,15 +62,21 @@ #if CONFIG_CODEC == SWCODEC #ifdef HAVE_RECORDING -#define MAXTHREADS 18 +#define BASETHREADS 18 #else -#define MAXTHREADS 17 +#define BASETHREADS 17 #endif #else -#define MAXTHREADS 11 +#define BASETHREADS 11 #endif /* CONFIG_CODE == * */ +#ifndef TARGET_EXTRA_THREADS +#define TARGET_EXTRA_THREADS 0 +#endif + +#define MAXTHREADS (BASETHREADS+TARGET_EXTRA_THREADS) + #define DEFAULT_STACK_SIZE 0x400 /* Bytes */ #ifndef SIMULATOR |