Skip to content
Snippets Groups Projects
Commit e8af0c42 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

* created prototype for cpu_switch_context_exit()

parent ba3e778b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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) {
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment