diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-10-23 13:13:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-10-23 13:13:00 +0000 |
commit | effceea22915a087c1c85ff30d2e62110413edaf (patch) | |
tree | 6f1340835c950d44fc521bb17ca022e151059762 /firmware/export | |
parent | 188e898e3c40bafa472fa038167764ebcccf713d (diff) | |
download | rockbox-effceea22915a087c1c85ff30d2e62110413edaf.tar.gz rockbox-effceea22915a087c1c85ff30d2e62110413edaf.zip |
Remove the event object in the kernel since it's rather extraneous at the moment. This makes the codecs and the plugins incompatible, so update fully.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18867 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 1 | ||||
-rw-r--r-- | firmware/export/kernel.h | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 73ecca1495..e425bf98e5 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -409,7 +409,6 @@ | |||
409 | #endif /* SIMULATOR */ | 409 | #endif /* SIMULATOR */ |
410 | 410 | ||
411 | #define HAVE_SEMAPHORE_OBJECTS | 411 | #define HAVE_SEMAPHORE_OBJECTS |
412 | #define HAVE_EVENT_OBJECTS | ||
413 | 412 | ||
414 | #ifdef TOSHIBA_GIGABEAT_F | 413 | #ifdef TOSHIBA_GIGABEAT_F |
415 | #define HAVE_WAKEUP_OBJECTS | 414 | #define HAVE_WAKEUP_OBJECTS |
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 1824962dfd..51eb635004 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h | |||
@@ -176,17 +176,6 @@ struct semaphore | |||
176 | }; | 176 | }; |
177 | #endif | 177 | #endif |
178 | 178 | ||
179 | #ifdef HAVE_EVENT_OBJECTS | ||
180 | struct event | ||
181 | { | ||
182 | struct thread_entry *queues[2]; /* waiters for each state */ | ||
183 | unsigned char automatic; /* event performs auto-reset */ | ||
184 | unsigned char state; /* state: 1 = signaled */ | ||
185 | IF_COP( struct corelock cl; ) /* multiprocessor sync */ | ||
186 | }; | ||
187 | #endif | ||
188 | |||
189 | |||
190 | #ifdef HAVE_WAKEUP_OBJECTS | 179 | #ifdef HAVE_WAKEUP_OBJECTS |
191 | struct wakeup | 180 | struct wakeup |
192 | { | 181 | { |
@@ -286,13 +275,6 @@ extern void semaphore_init(struct semaphore *s, int max, int start); | |||
286 | extern void semaphore_wait(struct semaphore *s); | 275 | extern void semaphore_wait(struct semaphore *s); |
287 | extern void semaphore_release(struct semaphore *s); | 276 | extern void semaphore_release(struct semaphore *s); |
288 | #endif /* HAVE_SEMAPHORE_OBJECTS */ | 277 | #endif /* HAVE_SEMAPHORE_OBJECTS */ |
289 | #ifdef HAVE_EVENT_OBJECTS | ||
290 | #define EVENT_AUTOMATIC 0x10 | ||
291 | #define EVENT_MANUAL 0x00 | ||
292 | extern void event_init(struct event *e, unsigned int flags); | ||
293 | extern void event_wait(struct event *e, unsigned int for_state); | ||
294 | extern void event_set_state(struct event *e, unsigned int state); | ||
295 | #endif /* HAVE_EVENT_OBJECTS */ | ||
296 | 278 | ||
297 | #ifdef HAVE_WAKEUP_OBJECTS | 279 | #ifdef HAVE_WAKEUP_OBJECTS |
298 | extern void wakeup_init(struct wakeup *w); | 280 | extern void wakeup_init(struct wakeup *w); |