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:
parent
ba3e778b61
commit
e8af0c42c3
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user