summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libbug/prom.h
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 07:39:57 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 07:39:57 +0000
commite5ff38e8f671bc0ef417730bf0630d359c7cd338 (patch)
tree6f0c5785922df76c76c748da975e776ba9ff5e65 /sys/arch/mvme88k/stand/libbug/prom.h
parent54b313cb5b55623cec92c7947a80799b753d8695 (diff)
new libbug.
Diffstat (limited to 'sys/arch/mvme88k/stand/libbug/prom.h')
-rw-r--r--sys/arch/mvme88k/stand/libbug/prom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/mvme88k/stand/libbug/prom.h b/sys/arch/mvme88k/stand/libbug/prom.h
new file mode 100644
index 00000000000..4048e86eaff
--- /dev/null
+++ b/sys/arch/mvme88k/stand/libbug/prom.h
@@ -0,0 +1,3 @@
+#define MVMEPROM_CALL(x) \
+ asm volatile ( __CONCAT("or r9,r0," __STRING(x)) ); \
+ asm volatile ("tb0 0,r0,496");