mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 13:18:22 +00:00
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:
@@ -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++;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user