Disable legacy 8259 PIC before enabling APIC

Reviewed-on: xt-sys/exectos#5
Reviewed-by: Rafal Kupiec <belliash@noreply.codingworkshop.git>
Co-authored-by: Jozef Nagy <schkwve@gmail.com>
Co-committed-by: Jozef Nagy <schkwve@gmail.com>
This commit is contained in:
Jozef Nagy
2023-11-29 20:07:16 +01:00
committed by CodingWorkshop Signing Team
parent 669b84a826
commit c8a54e602b
4 changed files with 25 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ KepInitializeMachine(VOID)
/* Re-enable IDE interrupts */
HlIoPortOutByte(0x376, 0);
HlIoPortOutByte(0x3F6, 0);
/* Disable the legacy PIC */
HlDisablePic();
}
/**