mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
More tasking implementation
This commit is contained in:
@ -728,6 +728,8 @@ namespace CPU
|
||||
|
||||
typedef enum
|
||||
{
|
||||
/* ISR */
|
||||
|
||||
ISR0 = 0x0, // Divide-by-zero Error
|
||||
ISR1 = 0x1, // Debug
|
||||
ISR2 = 0x2, // Non-maskable Interrupt
|
||||
@ -761,26 +763,29 @@ namespace CPU
|
||||
ISR30 = 0x1e, // Security Exception
|
||||
ISR31 = 0x1f, // Reserved
|
||||
|
||||
IRQ0 = 0x20, // Programmable Interrupt Timer Interrupt
|
||||
IRQ1 = 0x21, // Keyboard Interrupt
|
||||
IRQ2 = 0x22, // Cascade (used internally by the two PICs. never raised)
|
||||
IRQ3 = 0x23, // COM2 (if enabled)
|
||||
IRQ4 = 0x24, // COM1 (if enabled)
|
||||
IRQ5 = 0x25, // LPT2 (if enabled)
|
||||
IRQ6 = 0x26, // Floppy Disk
|
||||
IRQ7 = 0x27, // LPT1 / Unreliable "spurious" interrupt (usually)
|
||||
IRQ8 = 0x28, // CMOS real-time clock (if enabled)
|
||||
IRQ9 = 0x29, // Free for peripherals / legacy SCSI / NIC
|
||||
IRQ10 = 0x2a, // Free for peripherals / SCSI / NIC
|
||||
IRQ11 = 0x2b, // Free for peripherals / SCSI / NIC
|
||||
IRQ12 = 0x2c, // PS2 Mouse
|
||||
IRQ13 = 0x2d, // FPU / Coprocessor / Inter-processor
|
||||
IRQ14 = 0x2e, // Primary ATA Hard Disk
|
||||
IRQ15 = 0x2f, // Secondary ATA Hard Disk
|
||||
/* IRQ */
|
||||
|
||||
IRQ16 = 0x30, // Reserved for multitasking
|
||||
IRQ17 = 0x31, // Reserved for monotasking
|
||||
IRQ0 = 0x20, // Programmable Interrupt Timer Interrupt
|
||||
IRQ1 = 0x21, // Keyboard Interrupt
|
||||
IRQ2 = 0x22, // Cascade (used internally by the two PICs. never raised)
|
||||
IRQ3 = 0x23, // COM2 (if enabled)
|
||||
IRQ4 = 0x24, // COM1 (if enabled)
|
||||
IRQ5 = 0x25, // LPT2 (if enabled)
|
||||
IRQ6 = 0x26, // Floppy Disk
|
||||
IRQ7 = 0x27, // LPT1 / Unreliable "spurious" interrupt (usually)
|
||||
IRQ8 = 0x28, // CMOS real-time clock (if enabled)
|
||||
IRQ9 = 0x29, // Free for peripherals / legacy SCSI / NIC
|
||||
IRQ10 = 0x2a, // Free for peripherals / SCSI / NIC
|
||||
IRQ11 = 0x2b, // Free for peripherals / SCSI / NIC
|
||||
IRQ12 = 0x2c, // PS2 Mouse
|
||||
IRQ13 = 0x2d, // FPU / Coprocessor / Inter-processor
|
||||
IRQ14 = 0x2e, // Primary ATA Hard Disk
|
||||
IRQ15 = 0x2f, // Secondary ATA Hard Disk
|
||||
|
||||
/* Reserved by OS */
|
||||
|
||||
IRQ16 = 0x30, // Reserved for multitasking
|
||||
IRQ17 = 0x31,
|
||||
IRQ18 = 0x32,
|
||||
IRQ19 = 0x33,
|
||||
IRQ20 = 0x34,
|
||||
@ -793,6 +798,9 @@ namespace CPU
|
||||
IRQ27 = 0x3b,
|
||||
IRQ28 = 0x3c,
|
||||
IRQ29 = 0x3d,
|
||||
|
||||
/* Free */
|
||||
|
||||
IRQ30 = 0x3e,
|
||||
IRQ31 = 0x3f,
|
||||
IRQ32 = 0x40,
|
||||
|
Reference in New Issue
Block a user