basic apic + fix some stupid issues

created an initial stub implementation of the apic driver, added the madt to acpi, fixed an issue with the strncmp, made the pmm set only free pages rather than used ones
This commit is contained in:
Matheus
2022-08-05 23:33:54 -03:00
parent 592133af39
commit fa1b35bf18
7 changed files with 255 additions and 15 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ int strncmp(const char *a, const char *b, size_t c){
int diff = 0;
while(c--)
while(c-- && diff == 0)
diff += *a++ - *b++;