diff options
| author | Ada Christine <adachristine18@gmail.com> | 2021-12-19 22:41:15 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2021-12-19 22:41:15 +0000 |
| commit | e303a03e7c96bc5bf7fa93f7b46ce63196893d7a (patch) | |
| tree | f187b374feec85015d6df1f94db618a3f5cc893f /kc/core/cpu.h | |
| parent | bff63a4337eb3388617d230970c5eb2684d6a215 (diff) | |
moving files around
Diffstat (limited to 'kc/core/cpu.h')
| -rw-r--r-- | kc/core/cpu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kc/core/cpu.h b/kc/core/cpu.h new file mode 100644 index 0000000..56a4073 --- /dev/null +++ b/kc/core/cpu.h @@ -0,0 +1,9 @@ +#pragma once + +void cpu_init(void); + +void isr_install(int vec, void (*isr)(void), int ist, int trap); +void ist_install(int ist, void *stack); + +void int_enable(void); +void int_disable(void); |
