blob: 67ae2ee5e90848c6f56226d2f4a9005ef90c23a9 [file] [log] [blame]
Patrick Georgi1b2f2a02014-11-28 22:00:22 +01001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2014 The ChromiumOS Authors
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
9 * the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Patrick Georgi1b2f2a02014-11-28 22:00:22 +010015 */
16
17#include <arch/hlt.h>
18#include <halt.h>
19
Lee Leahy342f8d62017-03-10 15:31:56 -080020void halt(void)
21{
Lee Leahy2f919ec2017-03-08 17:37:06 -080022 while (1)
Patrick Georgi1b2f2a02014-11-28 22:00:22 +010023 hlt();
Patrick Georgi1b2f2a02014-11-28 22:00:22 +010024}