blob: 27cda493592ded1024d1aca8a398d0d50c7d7d2b [file] [log] [blame]
Simon Glassdb41d652019-12-28 10:45:07 -07001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2000-2009
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 */
6
7#ifndef __HANG_H
8#define __HANG_H
9
10#ifndef __ASSEMBLY__
11/**
12 * hang() - Print a message and stop execution
13 *
14 * This shows a 'hang' message where possible and then goes into an infinite
15 * loop. This is called by panic() if CONFIG_PANIC_HANG is enabled.
16 *
17 * This function does not return.
18 */
19void hang(void) __attribute__ ((noreturn));
20#endif
21
22#endif