Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 1 | /* |
| 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 Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #include <arch/hlt.h> |
| 18 | #include <halt.h> |
| 19 | |
| 20 | void halt(void) { |
Lee Leahy | 2f919ec | 2017-03-08 17:37:06 -0800 | [diff] [blame] | 21 | while (1) |
Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 22 | hlt(); |
Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 23 | } |