summaryrefslogtreecommitdiff
path: root/system/alpha/console/printf.c
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-02-28 18:57:34 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-02-28 18:57:34 -0500
commit576196c13ccd4109d10fe98e957cef2f5422b795 (patch)
tree7a4cdf596ef1d5b87bcf4b0a0c2a63b7d4094f5f /system/alpha/console/printf.c
parenta50e054ceded6fa3f700385ed93dcc76c05cb13b (diff)
downloadgem5-576196c13ccd4109d10fe98e957cef2f5422b795.tar.xz
Add m5op to the build process
use quiesceNs on other CPUs panic rather than spin on an error console/Makefile: Add m5op to the build process console/dbmentry.S: use quiesceNs on other CPUs console/printf.c: panic rather than spin on an error.
Diffstat (limited to 'system/alpha/console/printf.c')
-rw-r--r--system/alpha/console/printf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/alpha/console/printf.c b/system/alpha/console/printf.c
index 0e665a434..b958476fb 100644
--- a/system/alpha/console/printf.c
+++ b/system/alpha/console/printf.c
@@ -54,6 +54,8 @@
#include <sys/types.h>
#include <stdarg.h>
+#include <stdint.h>
+#include "m5op.h"
/* The string s is terminated by a '\0' */
void
@@ -320,5 +322,5 @@ panic(const char *f, ...)
}
va_end(ap); /* clean up */
- while(1);
+ m5_panic();
}