Keyboard Work - setting up PLIC, UART, Interrupts
This commit is contained in:
parent
4c0a4958a2
commit
50757427be
12 changed files with 295 additions and 68 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#ifndef PANIC_H
|
||||
#define PANIC_H
|
||||
|
||||
void kpanic(const char *reason);
|
||||
void interrupt_init();
|
||||
void kpanic(const char *);
|
||||
void kpanic_force();
|
||||
void handle_interrupt(unsigned long code);
|
||||
|
||||
#define KASSERT(cond, msg) \
|
||||
if (!(cond)) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue