blob: d31c2ca181ddff5afe2779285574be9bd1076b4d [file] [log] [blame]
Patrick Georgi1b2f2a02014-11-28 22:00:22 +01001/*
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 Georgi1b2f2a02014-11-28 22:00:22 +010015 */
16
17#ifndef __HALT_H__
18#define __HALT_H__
19
20#ifdef __ROMCC__
21#include <lib/halt.c>
22#else
23/**
24 * halt the system reliably
25 */
26void __attribute__((noreturn)) halt(void);
27#endif /* __ROMCC__ */
28#endif /* __HALT_H__ */