keyboard!!!! :D
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
#pragma once
|
||||
#include "../BasicRenderer.h"
|
||||
|
||||
struct interrupt_frame;
|
||||
#define PIC1_COMMAND 0x20
|
||||
#define PIC1_DATA 0x21
|
||||
#define PIC2_COMMAND 0xA0
|
||||
#define PIC2_DATA 0xA1
|
||||
#define PIC_EOI 0x20
|
||||
|
||||
#define ICW1_INIT 0x10
|
||||
#define ICW1_ICW4 0x01
|
||||
#define ICW4_8086 0x01
|
||||
|
||||
struct interrupt_frame;
|
||||
__attribute__((interrupt)) void PageFault_Handler(struct interrupt_frame* frame);
|
||||
__attribute__((interrupt)) void DoubleFault_Handler(struct interrupt_frame* frame);
|
||||
__attribute__((interrupt)) void GPFault_Handler(struct interrupt_frame* frame);
|
||||
__attribute__((interrupt)) void GPFault_Handler(struct interrupt_frame* frame);
|
||||
|
||||
__attribute__((interrupt)) void KeyboardInterrupt_Handler(struct interrupt_frame* frame);
|
||||
|
||||
void RemapPIC();
|
||||
void PIC_EndMaster();
|
||||
void PIC_EndSlave();
|
||||
Reference in New Issue
Block a user