Kernel: Add time since boot to Shell

This commit is contained in:
Bananymous 2022-12-19 11:35:24 +02:00
parent c8866aa88b
commit 64a5a28ff0
2 changed files with 5 additions and 5 deletions

View File

@ -12,11 +12,7 @@
.long MB_MAGIC .long MB_MAGIC
.long MB_FLAGS .long MB_FLAGS
.long MB_CHECKSUM .long MB_CHECKSUM
.skip 4 .skip 20
.skip 4
.skip 4
.skip 4
.skip 4
.long 0 .long 0
.long 800 .long 800

View File

@ -234,6 +234,10 @@ namespace Kernel
break; break;
} }
case Keyboard::Key::Escape:
kprintln("time since boot {} ms", PIT::ms_since_boot());
break;
case Keyboard::Key::Tab: case Keyboard::Key::Tab:
break; break;