fix/kernel: Fixed spelling mistakes
This commit is contained in:
parent
93d09b1930
commit
b7a1a35180
2 changed files with 13 additions and 10 deletions
|
@ -87,7 +87,7 @@ void emk_entry(void)
|
|||
/* Just do nothing */
|
||||
}
|
||||
|
||||
log_early("Experimental Micro Kernel (EMK) 1.0 Copytright (c) 2025 Piraterna");
|
||||
log_early("Experimental Micro Kernel (EMK) 1.0 Copyright (c) 2025 Piraterna");
|
||||
log_early("Compiled at %s %s, emk1.0-%s, flanterm support: %s", __TIME__, __DATE__, BUILD_MODE, FLANTERM_SUPPORT ? "yes" : "no");
|
||||
log_early("%s", LOG_SEPARATOR);
|
||||
|
||||
|
@ -166,9 +166,6 @@ void emk_entry(void)
|
|||
kpanic(NULL, "Failed to get MP request");
|
||||
}
|
||||
|
||||
mp_response = mp_request.response;
|
||||
smp_init();
|
||||
|
||||
/* Setup ACPI */
|
||||
rsdp_response = rsdp_request.response;
|
||||
if (!rsdp_response)
|
||||
|
@ -178,12 +175,8 @@ void emk_entry(void)
|
|||
acpi_init();
|
||||
madt_init(); // Also init MADT, to prepare for APIC
|
||||
|
||||
/* Disable legacy PIC to prepare for APIC */
|
||||
outb(0x21, 0xff);
|
||||
outb(0xA1, 0xff);
|
||||
|
||||
/* Setup APIC */
|
||||
lapic_init();
|
||||
mp_response = mp_request.response;
|
||||
smp_init();
|
||||
|
||||
/* Finished */
|
||||
log_early("%s", LOG_SEPARATOR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue