1 /* 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 */ 19 void hang(void) __attribute__ ((noreturn)); 20 #endif 21 22 #endif 23