summaryrefslogtreecommitdiff
path: root/src/include/halt.h
blob: a00975ba2d734fe701e846a44b9755f499bad261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __HALT_H__
#define __HALT_H__

/**
 * halt the system reliably
 */
void __noreturn halt(void);

/* Power off the system. */
void poweroff(void);

#endif /* __HALT_H__ */