Added a CPU::ShutDown() function.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-11-05 19:13:16 +01:00
parent 884ce30c07
commit 196e958336
2 changed files with 7 additions and 0 deletions

View File

@ -98,5 +98,11 @@ namespace Sortix
// If that didn't work, just halt.
asm volatile("hlt");
}
void ShutDown()
{
// TODO: Unimplemented, just reboot.
Reboot();
}
}
}

View File

@ -36,6 +36,7 @@ namespace Sortix
uint16_t InPortW(uint16_t Port);
uint32_t InPortL(uint16_t Port);
void Reboot();
void ShutDown();
}
}