soc/intel/denverton_ns: Use cpulib in cpu.c
[coreboot.git] / src / include / halt.h
blob117c6c087aeb504971285a5132c37d6155249b0a
1 /*
2 * This file is part of the coreboot project.
4 * Copyright 2014 The ChromiumOS Authors
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.
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.
17 #ifndef __HALT_H__
18 #define __HALT_H__
20 #ifdef __ROMCC__
21 #include <lib/halt.c>
22 #else
23 /**
24 * halt the system reliably
26 void __noreturn halt(void);
27 #endif /* __ROMCC__ */
29 /* Power off the system. */
30 void poweroff(void);
32 #endif /* __HALT_H__ */