projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pintos-anon]
/
src
/
lib
/
debug.c
1
#include "debug.h"
2
#include <stdarg.h>
3
#include "interrupt.h"
4
#include "lib.h"
5
6
void
7
panic (const char *format, ...)
8
{
9
va_list args;
10
11
intr_disable ();
12
13
va_start (args, format);
14
vprintk (format, args);
15
printk ("\n");
16
va_end (args);
17
18
for (;;);
19
}