a bit refactoring on kernel_init
authorMinep <zelong56@gmail.com>
Sun, 27 Feb 2022 23:39:31 +0000 (23:39 +0000)
committerMinep <zelong56@gmail.com>
Sun, 27 Feb 2022 23:39:31 +0000 (23:39 +0000)
commit844a2c39e4bb2cc778dba7bd3aea21cb07483fad
tree5faca723476342d0d14e082c1818166564f1b6d4
parent8758ba5a5c739a8eb0ac5331869b7a7b393ef6c3
a bit refactoring on kernel_init
add assertions support for debugging
add ss and esp in isr_param to handling stack switch.
lunaix-os/includes/arch/x86/interrupts.h
lunaix-os/includes/lunaix/assert.h [new file with mode: 0644]
lunaix-os/includes/lunaix/tty/tty.h
lunaix-os/kernel/asm/x86/prologue.S
lunaix-os/kernel/assert.c [new file with mode: 0644]
lunaix-os/kernel/k_init.c [new file with mode: 0644]
lunaix-os/kernel/k_main.c
lunaix-os/kernel/tty/tty.c