1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

* created prototype for cpu_switch_context_exit()

This commit is contained in:
Oleg Hahm 2013-03-27 14:53:38 +01:00
parent ba3e778b61
commit e8af0c42c3
3 changed files with 1 additions and 3 deletions

View File

@ -26,6 +26,7 @@ void sched_run(void);
void sched_set_status(tcb_t *process, unsigned int status);
void sched_switch(uint16_t current_prio, uint16_t other_prio, int in_isr);
void cpu_switch_context_exit(void);
extern volatile unsigned int sched_context_switch_request;

View File

@ -38,7 +38,6 @@ volatile tcb_t *active_thread;
volatile int lpm_prevent_sleep = 0;
extern void main(void);
extern void cpu_switch_context_exit(void);
static void idle_thread(void) {
while(1) {

View File

@ -171,8 +171,6 @@ void sched_switch(uint16_t current_prio, uint16_t other_prio, int in_isr) {
}
}
extern void cpu_switch_context_exit(void);
void sched_task_exit(void) {
DEBUG("sched_task_exit(): ending task %s...\n", active_thread->name);