commit | 3fcbcff26d2bf9339f5af46112066f78e77a4df8 | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Tue Jul 10 23:53:39 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Wed Jul 11 00:06:23 2018 +0100 |
tree | e627022d196b9675d46e599371204373770f7f22 | |
parent | 8700964aa197619dbd9307246e0729a41d7386d9 [diff] [blame] |
Improve arch-specific separation in API code.
diff --git a/inc/cpu.h b/inc/cpu.h index 2eae33b..43bd356 100644 --- a/inc/cpu.h +++ b/inc/cpu.h
@@ -37,7 +37,10 @@ void *stack_bottom; }; +void cpu_module_init(void); + void cpu_init(struct cpu *c); +size_t cpu_index(struct cpu *c); void cpu_irq_enable(struct cpu *c); void cpu_irq_disable(struct cpu *c); bool cpu_on(struct cpu *c);