Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/panic.h

    rb8da2a3 rf2f6636  
    2727 */
    2828
    29 /** @addtogroup generic
     29/** @addtogroup generic 
    3030 * @{
    3131 */
     
    3636#define KERN_PANIC_H_
    3737
    38 #include <typedefs.h>
    3938#include <stacktrace.h>
    4039#include <print.h>
     
    4342#       define panic(format, ...) \
    4443                do { \
    45                         silent = false; \
    4644                        printf("Kernel panic in %s() at %s:%u.\n", \
    4745                            __func__, __FILE__, __LINE__); \
     
    5250#else
    5351#       define panic(format, ...) \
    54                 do { \
    55                         silent = false; \
    56                         panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__); \
    57                 } while (0)
     52                panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__);
    5853#endif
    59 
    60 extern bool silent;
    6154
    6255extern void panic_printf(char *fmt, ...) __attribute__((noreturn));
Note: See TracChangeset for help on using the changeset viewer.