Fix i386 and aarch64 compilation issues

This commit is contained in:
Alex
2023-04-23 07:55:27 +03:00
parent efc16409a6
commit 03b667f5c0
3 changed files with 298 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#if defined(a64)
#include "../../Architecture/amd64/acpi.hpp"
#elif defined(a32)
#include "../../Architecture/i386/acpi.hpp"
#elif defined(aa64)
#endif
@ -149,6 +150,7 @@ namespace Time
void time::FindTimers(void *acpi)
{
#if defined(a86)
/* TODO: RTC check */
/* TODO: PIT check */
@ -200,7 +202,7 @@ namespace Time
}
else
KPrint("\eFF2200TSC is not invariant");
#endif
}
time::time()