Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


updated to use pa_to_va address conversion
[palacios.releases.git] / kitten / kernel / panic.c
1 #include <lwk/kernel.h>
2
3 /**
4  * Scream and die.
5  */
6 void panic(const char * fmt, ...)
7 {
8         static char buf[1024];
9         va_list args;
10
11         va_start(args, fmt);
12         vsnprintf(buf, sizeof(buf), fmt, args);
13         va_end(args);
14         printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf);
15
16         while (1) {}
17 }