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.tar.gz rockbox-a7af9e4a7f25f5a32306c74e95a677e6c85f399e.zip |
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 8c2338715c..eea58975a1 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h | |||
@@ -62,15 +62,21 @@ | |||
62 | #if CONFIG_CODEC == SWCODEC | 62 | #if CONFIG_CODEC == SWCODEC |
63 | 63 | ||
64 | #ifdef HAVE_RECORDING | 64 | #ifdef HAVE_RECORDING |
65 | #define MAXTHREADS 18 | 65 | #define BASETHREADS 18 |
66 | #else | 66 | #else |
67 | #define MAXTHREADS 17 | 67 | #define BASETHREADS 17 |
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | #else | 70 | #else |
71 | #define MAXTHREADS 11 | 71 | #define BASETHREADS 11 |
72 | #endif /* CONFIG_CODE == * */ | 72 | #endif /* CONFIG_CODE == * */ |
73 | 73 | ||
74 | #ifndef TARGET_EXTRA_THREADS | ||
75 | #define TARGET_EXTRA_THREADS 0 | ||
76 | #endif | ||
77 | |||
78 | #define MAXTHREADS (BASETHREADS+TARGET_EXTRA_THREADS) | ||
79 | |||
74 | #define DEFAULT_STACK_SIZE 0x400 /* Bytes */ | 80 | #define DEFAULT_STACK_SIZE 0x400 /* Bytes */ |
75 | 81 | ||
76 | #ifndef SIMULATOR | 82 | #ifndef SIMULATOR |