interrupt: disk IPL and INTERRUPT_IDTOVECTOR macro

This commit is contained in:
Matheus
2023-07-19 15:09:12 -03:00
parent 1879bfcc20
commit 92e43787b8
+2
View File
@@ -7,6 +7,7 @@
#ifdef __x86_64__
#define MAX_ISR_COUNT 256
#define INTERRUPT_IDTOVECTOR(id) ((id) & 0xffffffff)
#else
#error Unsupported architecture!
#endif
@@ -15,6 +16,7 @@
#define IPL_MAX 0
#define IPL_TIMER 1
#define IPL_KEYBOARD 2
#define IPL_DISK 500
#define IPL_DPC 900
#define IPL_NORMAL 1000