forked from xt-sys/exectos
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:
committed by
CodingWorkshop Signing Team
parent
669b84a826
commit
c8a54e602b
@@ -69,6 +69,9 @@ KepInitializeMachine(VOID)
|
||||
/* Re-enable IDE interrupts */
|
||||
HlIoPortOutByte(0x376, 0);
|
||||
HlIoPortOutByte(0x3F6, 0);
|
||||
|
||||
/* Disable the legacy PIC */
|
||||
HlDisablePic();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user