summaryrefslogtreecommitdiff
path: root/src/lib/halt.c
blob: 8d9e5c84a6cadf7f0b538992a42bea51ef3ac376 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */

#include <arch/hlt.h>
#include <halt.h>

void halt(void)
{
	while (1)
		hlt();
}