forked from Bananymous/banan-os
Kernel: Add time since boot to Shell
This commit is contained in:
parent
c8866aa88b
commit
64a5a28ff0
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue