pub fn restart(code: ExitCode) -> !
Restarts the system.
This function will not return. If the restart mechanism fails, this function will halt all CPUs on the machine.