summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-07-08 01:55:48 +1000
committerJake Mannens <jake72360@gmail.com>2018-07-08 01:55:48 +1000
commitb99a1b58d63dfefb319eecb564c07a4029e02233 (patch)
treec0557d3c775928d106a5c26c765b0063be96b936 /include/kernel
parent70b141b3af85771f36119165e072c1c45d64de84 (diff)
Moved the 'ticks' variable from kmain.c to timer.s.
Added the prototype for userspace_init() to sched.h removing the need to the extern declaration in kmain.c.
Diffstat (limited to 'include/kernel')
-rw-r--r--include/kernel/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel/sched.h b/include/kernel/sched.h
index fa8e036..afced68 100644
--- a/include/kernel/sched.h
+++ b/include/kernel/sched.h
@@ -23,4 +23,6 @@ struct task_struct {
struct task_state state;
} __attribute__((packed));
+void userspace_init(void);
+
#endif