aboutsummaryrefslogtreecommitdiff
path: root/slof/ppc64.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-12-03 15:02:36 +1100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-03-22 15:22:00 +0100
commit39426bad550f340dcf2b544ae23f465fbbbc42f5 (patch)
tree1974f16adec8b1322b4adeaa65783780a5ebeb25 /slof/ppc64.h
parentcf69a59a3edefc3bea57cceea2cbedd25c7b680d (diff)
downloadSLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.zip
SLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.tar.gz
SLOF-39426bad550f340dcf2b544ae23f465fbbbc42f5.tar.bz2
Initial qemu/KVM board support
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'slof/ppc64.h')
-rw-r--r--slof/ppc64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/slof/ppc64.h b/slof/ppc64.h
index 2e9d90c..59a1b90 100644
--- a/slof/ppc64.h
+++ b/slof/ppc64.h
@@ -16,8 +16,13 @@
#define PAGE_SIZE 4096
#define HEAP_SIZE 0x800000
+#ifdef CPU_PPC970
#define SET_CI set_ci()
#define CLR_CI clr_ci()
+#else
+#define SET_CI
+#define CLR_CI
+#endif
// The big Forth source file that contains everything but the core engine.
// We include it as a hunk of data into the C part of SLOF; at startup