Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit eff0038

Browse files
authored
Fix
1 parent 6d76699 commit eff0038

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kernel/main.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <error.h>
66
#include <log.h>
77

8+
#include "core/timer.h"
89
#include "mem/vmm.h"
910
#include "ui/system/screen.h"
1011
#include "../user/apps/terminal/terminal.cpp"
@@ -26,16 +27,17 @@ extern "C" void _main(u32 magic) {
2627
init_vmm();
2728
*/
2829

29-
30+
timer_init();
3031
screen_init();
3132
log_print("\033[32m [AuroraOS]\033[0m - Initialization [OK]... \n");
3233

3334
bool quit = false;
34-
35+
3536
while (quit != true) {
3637
screen_clear(COLOR(0, 0, 7));
3738
test();
3839
screen_swap();
40+
tate.frames++;
3941
}
4042

4143
log_print("\033[32m [AuroraOS]\033[0m - Shutting down... \n");

0 commit comments

Comments
 (0)