Added Programmable Interval Timer(PIT) driver

This commit is contained in:
ice-bit
2019-07-06 01:09:10 +02:00
parent ba9feaba18
commit bb1df4da6b
8 changed files with 94 additions and 8 deletions

View File

@@ -7,6 +7,9 @@
***************************************/
#ifndef _ISR_H_
#define _ISR_H_
#include <stdint.h>
/*
* When we implement ISRs we have to keep in mind that the first 32 interrupts(and so the
* first 32 ISRs) are reserved by the CPU to signal the kernel about critical actions,
@@ -36,8 +39,6 @@
* 18 - Machine check exception
* 19-31 - Reserved */
#include <stdint.h>
#define IRQ0 32
#define IRQ1 33
#define IRQ2 34