diff --git a/kernel/pic.h b/kernel/pic.h new file mode 100644 index 0000000..e5eb3a6 --- /dev/null +++ b/kernel/pic.h @@ -0,0 +1,17 @@ +/* +Copyright (C) 2015-2019 The University of Notre Dame +This software is distributed under the GNU General Public License. +See the file LICENSE for details. +*/ + +#ifndef PIC_H +#define PIC_H + +#include "kernel/types.h" + +void pic_init(int base0, int base1); +void pic_enable(uint8_t irq); +void pic_disable(uint8_t irq); +void pic_acknowledge(uint8_t irq); + +#endif