Main Page | Directories | File List | Globals

panic.c File Reference

#include <agnix/console.h>

Include dependency graph for panic.c:

Go to the source code of this file.

Functions

void forever_loop (void)
void kernel_panic (const char *text)


Function Documentation

void forever_loop void   ) 
 

Definition at line 16 of file panic.c.

Referenced by kernel_panic().

00017 {
00018     for(;;);
00019 }

void kernel_panic const char *  text  ) 
 

Definition at line 21 of file panic.c.

References forever_loop(), and printk().

Referenced by adi_sysconsole_init(), buddy_alloc_areas_init(), buddy_alloc_pages_init(), create_kernel_thread(), create_user_thread(), data_structures_init(), do_sys_fork(), fork_init(), and net_layer_2_arp_init().

00022 {
00023     printk(text);
00024 
00025     forever_loop();
00026 }

Here is the call graph for this function:

Dokumentacje wygenerowano programem Doxygen 1.4.2 dla projektu Agnix