summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/delay.c15
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/diskrd.c19
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/diskwr.c19
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c17
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/instat.c17
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/outch.c15
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/outln.c15
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/outstr.c15
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/prom.h3
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/return.c14
-rw-r--r--sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c14
11 files changed, 0 insertions, 163 deletions
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/delay.c b/sys/arch/mvme88k/stand/libbug/m88k/delay.c
deleted file mode 100644
index 68b1db12106..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/delay.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* BUG - timing routine */
-void
-mvmeprom_delay(msec)
- int msec;
-{
- asm volatile ("or r2,r0,%0": : "r" (msec));
- MVMEPROM_CALL(MVMEPROM_DELAY);
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/diskrd.c b/sys/arch/mvme88k/stand/libbug/m88k/diskrd.c
deleted file mode 100644
index bc69b365501..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/diskrd.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* returns 0: success, nonzero: error */
-int
-mvmeprom_diskrd(arg)
- struct mvmeprom_dskio *arg;
-{
- int ret;
-
- asm volatile ("or r2,r0,%0": : "r" (arg));
- MVMEPROM_CALL(MVMEPROM_DSKRD);
- asm volatile ("or %0,r0,r2" : "=r" (ret));
- return (!(ret & 0x4));
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/diskwr.c b/sys/arch/mvme88k/stand/libbug/m88k/diskwr.c
deleted file mode 100644
index 681f521b5b0..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/diskwr.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* returns 0: success, nonzero: error */
-int
-mvmeprom_diskwr(arg)
- struct mvmeprom_dskio *arg;
-{
- int ret;
-
- asm volatile ("or r2,r0,%0": : "r" (arg) );
- MVMEPROM_CALL(MVMEPROM_DSKWR);
- asm volatile ("or %0,r0,r2" : "=r" (ret));
- return (!(ret & 0x4));
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c b/sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c
deleted file mode 100644
index eeda9468ab7..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* BUG - query board routines */
-struct mvmeprom_brdid *
-mvmeprom_brdid()
-{
- struct mvmeprom_brdid *id;
-
- MVMEPROM_CALL(MVMEPROM_GETBRDID);
- asm volatile ("or %0,r0,r2": "=r" (id):);
- return (id);
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/instat.c b/sys/arch/mvme88k/stand/libbug/m88k/instat.c
deleted file mode 100644
index 0ac97fe7676..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/instat.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* returns 0 if no characters ready to read */
-int
-mvmeprom_instat()
-{
- short ret;
-
- MVMEPROM_CALL(MVMEPROM_INSTAT);
- asm volatile ("or %0,r0,r2" : "=r" (ret));
- return (!(ret & 0x4));
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/outch.c b/sys/arch/mvme88k/stand/libbug/m88k/outch.c
deleted file mode 100644
index 78110e0299f..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/outch.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-void
-mvmeprom_outchr(a)
- char a;
-{
- asm volatile ("or r2, r0, %0" : :"r" (a));
- BUG_CALL(_OUTCHR);
-}
-
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/outln.c b/sys/arch/mvme88k/stand/libbug/m88k/outln.c
deleted file mode 100644
index ed0067e42d9..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/outln.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-void
-mvmeprom_outln(start, end)
- char *start, *end;
-{
- asm volatile ("or r2,r0,%0": : "r" (start));
- asm volatile ("or r3,r0,%0": : "r" (end));
- MVMEPROM_CALL(MVMEPROM_OUTSTRCRLF);
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/outstr.c b/sys/arch/mvme88k/stand/libbug/m88k/outstr.c
deleted file mode 100644
index c9e3c355736..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/outstr.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-void
-mvmeprom_outstr(start, end)
- char *start, *end;
-{
- asm volatile ("or r2,r0,%0": : "r" (start));
- asm volatile ("or r3,r0,%0": : "r" (end));
- MVMEPROM_CALL(MVMEPROM_OUTSTR);
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/prom.h b/sys/arch/mvme88k/stand/libbug/m88k/prom.h
deleted file mode 100644
index 4048e86eaff..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/prom.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#define MVMEPROM_CALL(x) \
- asm volatile ( __CONCAT("or r9,r0," __STRING(x)) ); \
- asm volatile ("tb0 0,r0,496");
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/return.c b/sys/arch/mvme88k/stand/libbug/m88k/return.c
deleted file mode 100644
index 00206a16c48..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/return.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-/* BUG - return to bug routine */
-void
-mvmeprom_return()
-{
- MVMEPROM_CALL(MVMEPROM_EXIT);
- /*NOTREACHED*/
-}
diff --git a/sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c b/sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c
deleted file mode 100644
index 9b32f960ea3..00000000000
--- a/sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * bug routines -- assumes that the necessary sections of memory
- * are preserved.
- */
-#include <sys/types.h>
-#include <machine/prom.h>
-
-void
-mvmeprom_rtc_rd(ptime)
- struct mvmeprom_time *ptime;
-{
- asm volatile ("or r2,r0,%0": : "r" (ptime));
- MVMEPROM_CALL(MVMEPROM_RTC_RD);
-}