From 54b313cb5b55623cec92c7947a80799b753d8695 Mon Sep 17 00:00:00 2001 From: Steve Murphree Date: Sat, 22 Aug 1998 07:26:25 +0000 Subject: Part of remove to clean stand. --- sys/arch/mvme88k/stand/libbug/m88k/delay.c | 15 --------------- sys/arch/mvme88k/stand/libbug/m88k/diskrd.c | 19 ------------------- sys/arch/mvme88k/stand/libbug/m88k/diskwr.c | 19 ------------------- sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c | 17 ----------------- sys/arch/mvme88k/stand/libbug/m88k/instat.c | 17 ----------------- sys/arch/mvme88k/stand/libbug/m88k/outch.c | 15 --------------- sys/arch/mvme88k/stand/libbug/m88k/outln.c | 15 --------------- sys/arch/mvme88k/stand/libbug/m88k/outstr.c | 15 --------------- sys/arch/mvme88k/stand/libbug/m88k/prom.h | 3 --- sys/arch/mvme88k/stand/libbug/m88k/return.c | 14 -------------- sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c | 14 -------------- 11 files changed, 163 deletions(-) delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/delay.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/diskrd.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/diskwr.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/getbrdid.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/instat.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/outch.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/outln.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/outstr.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/prom.h delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/return.c delete mode 100644 sys/arch/mvme88k/stand/libbug/m88k/rtc_rd.c (limited to 'sys/arch') 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 -#include - -/* 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 -#include - -/* 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 -#include - -/* 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 -#include - -/* 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 -#include - -/* 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 -#include - -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 -#include - -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 -#include - -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 -#include - -/* 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 -#include - -void -mvmeprom_rtc_rd(ptime) - struct mvmeprom_time *ptime; -{ - asm volatile ("or r2,r0,%0": : "r" (ptime)); - MVMEPROM_CALL(MVMEPROM_RTC_RD); -} -- cgit v1.2.3