Initialize segments and processor registers for i686 architecture
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-02-05 15:45:22 +01:00
parent 2ba42c5270
commit 76f22fbdc4
2 changed files with 39 additions and 6 deletions

View File

@@ -20,12 +20,6 @@ XTAPI
VOID
KepArchInitialize(VOID)
{
/* Clear EFLAGS register */
ArWriteEflagsRegister(0);
/* Enable write-protection */
ArWriteControlRegister(0, ArReadControlRegister(0) | CR0_WP);
/* Re-enable IDE interrupts */
HlIoPortOutByte(0x376, 0);
HlIoPortOutByte(0x3F6, 0);