aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-09-03 22:02:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-03 23:16:38 -0400
commit7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e (patch)
tree95a1984058658800446ace751b6d0adeee35a415 /src/sched.h
parent7b7f57e01c87efc74ed0c632b14c1fc7897c5a6e (diff)
downloadkutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.tar.gz
kutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.tar.xz
kutter-7083a33ecd1cdcf5402cccbdb53f56cdfaf80f5e.zip
pru: Support config_reset command to manually reset mcu
Add support for resetting the MCU via a software only mechanism. This is useful on the PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sched.h')
-rw-r--r--src/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sched.h b/src/sched.h
index ffe17e03..0a2bdc4b 100644
--- a/src/sched.h
+++ b/src/sched.h
@@ -29,6 +29,7 @@ struct task_wake {
void sched_add_timer(struct timer*);
void sched_del_timer(struct timer *del);
unsigned int sched_timer_dispatch(void);
+void sched_timer_reset(void);
void sched_wake_tasks(void);
uint8_t sched_tasks_busy(void);
void sched_wake_task(struct task_wake *w);