Angel Pons | 32859fc | 2020-04-02 23:48:27 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 3 | |
| 4 | #ifndef __HALT_H__ |
| 5 | #define __HALT_H__ |
| 6 | |
Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 7 | /** |
| 8 | * halt the system reliably |
| 9 | */ |
Aaron Durbin | 0370bcf | 2018-09-05 09:37:11 -0600 | [diff] [blame] | 10 | void __noreturn halt(void); |
Aaron Durbin | b743b1a | 2016-07-13 12:00:49 -0500 | [diff] [blame] | 11 | |
| 12 | /* Power off the system. */ |
| 13 | void poweroff(void); |
| 14 | |
Patrick Georgi | 1b2f2a0 | 2014-11-28 22:00:22 +0100 | [diff] [blame] | 15 | #endif /* __HALT_H__ */ |