[kernel] Use the hpet clock source in scheduler

There has been a global clock object for a while now, but scheduler was
never using it, instead still using its simple increment clock. Now it
uses the hpet clock.
This commit is contained in:
Justin C. Miller
2022-01-15 22:31:00 -08:00
parent c631ec5ef5
commit e845379b1e
5 changed files with 19 additions and 22 deletions

View File

@@ -160,7 +160,7 @@ main(int argc, const char **argv)
size_t len = 0;
while (true) {
uint64_t tag = 0;
result = j6_endpoint_receive(endp, &tag, nullptr, &len, 10);
result = j6_endpoint_receive(endp, &tag, nullptr, &len, 10000);
if (result == j6_err_timed_out) {
com1.handle_interrupt();
com2.handle_interrupt();