diff --git a/sortix/x86-family/x86-family.cpp b/sortix/x86-family/x86-family.cpp index 32b392b6..baf9b989 100644 --- a/sortix/x86-family/x86-family.cpp +++ b/sortix/x86-family/x86-family.cpp @@ -98,5 +98,11 @@ namespace Sortix // If that didn't work, just halt. asm volatile("hlt"); } + + void ShutDown() + { + // TODO: Unimplemented, just reboot. + Reboot(); + } } } diff --git a/sortix/x86-family/x86-family.h b/sortix/x86-family/x86-family.h index c8843ad4..11b079dd 100644 --- a/sortix/x86-family/x86-family.h +++ b/sortix/x86-family/x86-family.h @@ -36,6 +36,7 @@ namespace Sortix uint16_t InPortW(uint16_t Port); uint32_t InPortL(uint16_t Port); void Reboot(); + void ShutDown(); } }