Added runtime tests for TTY

Removed types
Styling
Added printing error and multi line string for logo


Fix panic after rebase
This commit is contained in:
ED 2019-10-01 11:52:23 +01:00
parent 6ece9a8440
commit 60164d9252
6 changed files with 459 additions and 337 deletions

View file

@ -27,7 +27,6 @@ const panic_root = @import("panic.zig").panic;
// Just call the panic function, as this need to be in the root source file
pub fn panic(msg: []const u8, error_return_trace: ?*builtin.StackTrace) noreturn {
@setCold(true);
arch.disableInterrupts();
panic_root(error_return_trace, "{}", msg);
}

View file

@ -5,6 +5,7 @@ const log = @import("log.zig");
pub fn panic(trace: ?*builtin.StackTrace, comptime format: []const u8, args: ...) noreturn {
@setCold(true);
arch.disableInterrupts();
log.logInfo("KERNEL PANIC\n");
log.logInfo(format, args);
log.logInfo("HALTING\n");

File diff suppressed because it is too large Load diff