include/spd_bin.h: Add SPD IO layer
[coreboot2.git] / src / include / halt.h
blobcb691a202b229264e19dac208080b2bb5e0f20fc
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __HALT_H__
4 #define __HALT_H__
6 #include <arch/hlt.h>
7 #include <commonlib/bsd/stdlib.h>
9 static inline __noreturn void halt(void)
11 abort();
14 /* Power off the system. */
15 void poweroff(void);
17 #endif /* __HALT_H__ */