commit | 987c0ff61c3b95845b2a2491e3f9a848b0c36ec7 | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Wed Jun 20 16:34:38 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Thu Jun 28 15:09:42 2018 +0100 |
tree | 8f29452c208a8fd8f9f5cf5c7d87e7ebc4e380d4 |
Initial commit.
diff --git a/inc/arch.h b/inc/arch.h new file mode 100644 index 0000000..e12a8cf --- /dev/null +++ b/inc/arch.h
@@ -0,0 +1,12 @@ +#ifndef _ARCH_H +#define _ARCH_H + +#include "cpu.h" +#include "irq.h" + +void arch_init(struct cpu *cpu); +void arch_irq_init_percpu(void); +void arch_irq_config(uint32_t num, enum irq_trigger t, enum irq_polarity p); +void arch_putchar(char c); + +#endif /* _ARCH_H */