git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: argv, envp passing
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
vectors.h
diff --git
a/lunaix-os/includes/arch/x86/vectors.h
b/lunaix-os/includes/arch/x86/vectors.h
index e4a19688232967d480802c3cece4e1f1ff78861c..7f27542c20a98e7021c871700a8ab27e2e9cfb64 100644
(file)
--- a/
lunaix-os/includes/arch/x86/vectors.h
+++ b/
lunaix-os/includes/arch/x86/vectors.h
@@
-4,9
+4,9
@@
// clang-format off
#define FAULT_DIVISION_ERROR 0
// clang-format off
#define FAULT_DIVISION_ERROR 0
-#define
FAULT_TRAP_DEBUG_EXCEPTION
1
+#define
INSTR_DEBUG
1
#define INT_NMI 2
#define INT_NMI 2
-#define
TRAP_BREAKPOINT
3
+#define
INSTR_BREAK
3
#define TRAP_OVERFLOW 4
#define FAULT_BOUND_EXCEED 5
#define FAULT_INVALID_OPCODE 6
#define TRAP_OVERFLOW 4
#define FAULT_BOUND_EXCEED 5
#define FAULT_INVALID_OPCODE 6
@@
-29,12
+29,14
@@
// LunaixOS related
#define LUNAIX_SYS_PANIC 32
#define LUNAIX_SYS_CALL 33
// LunaixOS related
#define LUNAIX_SYS_PANIC 32
#define LUNAIX_SYS_CALL 33
+#define LUNAIX_SCHED 34
#define EX_INTERRUPT_BEGIN 200
// Keyboard
#define PC_KBD_IV 201
#define AHCI_HBA_IV 202
#define EX_INTERRUPT_BEGIN 200
// Keyboard
#define PC_KBD_IV 201
#define AHCI_HBA_IV 202
+#define UART_COM1 203
#define RTC_TIMER_IV 210
#define RTC_TIMER_IV 210