/* SPDX-License-Identifier: LicenseRef-Starship-1.0 * Copyright (c) 2023-2026 Robert A. James */ /* sk_v4_stop.c -- see sk_v4_stop.h. */ #include "starkernel/v4/sk_v4_stop.h" #include "starkernel/arch.h" /* Interrupts off, then halt for ever: the core sleeps instead of spinning at 100% (#177), and no * timer or device wakes it to do anything. sk_v4_run's three stops each said why first. */ void sk_v4_stop(void) { arch_disable_interrupts(); for (;;) arch_halt(); }