Subversion Repositories HelenOS

Rev

Rev 1819 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1819 Rev 1888
Line 30... Line 30...
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __PANIC_H__
35
#ifndef KERN_PANIC_H_
36
#define __PANIC_H__
36
#define KERN_PANIC_H_
37
 
37
 
38
#ifdef CONFIG_DEBUG
38
#ifdef CONFIG_DEBUG
39
#   define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__);
39
#   define panic(format, ...) panic_printf("Kernel panic in %s() at %s on line %d: " format, __FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__);
40
#else
40
#else
41
#   define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__);
41
#   define panic(format, ...) panic_printf("Kernel panic: " format, ##__VA_ARGS__);