Commit Graph

7 Commits

Author SHA1 Message Date
ec808e5e2e runtime, interrupt: print to screen on errors, print CR2 on panic
CR2 is the last accessed address set on page exceptions
2021-11-11 16:18:47 +08:00
9f86e52164 runtime: disable interrupts on Printf
Printf uses vsnprintf and a global buffer prone to race conditions.
2021-11-08 01:33:18 +08:00
4460661bfd main: refactor to keep the EFI headers from polluting the main namespace 2021-11-06 23:40:50 +08:00
ab6737f904 makefile, runtime: add RUNTIME_QUIET build flag 2021-11-05 14:47:48 +08:00
ad0bab89be main, runtime: init serial at EFI boot stage, use serial as output 2021-11-05 14:29:48 +08:00
6ff7aff718 runtime: increase printf() buffer to 512
Mostly to fit the long panic message by interrupt_Handler, dumping all the registers
2021-10-11 22:50:56 +08:00
d25da95e1e Initial commit 2021-10-10 14:39:17 +08:00