did some restructuring, got multitasking almost working
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#define PIC1_ADDR 0x20 + 0xC0000000
|
||||
#define PIC2_ADDR 0xA0 + 0xC0000000
|
||||
#define PIC1_COMMAND PIC1_ADDR
|
||||
#define PIC1_DATA (PIC1_ADDR+1)
|
||||
#define PIC2_COMMAND PIC2_ADDR
|
||||
#define PIC2_DATA (PIC2_ADDR+1)
|
||||
#define PIC_EOI 0x20
|
||||
#ifndef DPIC_H
|
||||
#define DPIC_H
|
||||
|
||||
void init_pic();
|
||||
|
||||
void send_eoi_master();
|
||||
void send_eoi_slave();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user