summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 05:43:07 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1998-08-22 05:43:07 +0000
commit99dfe152f33a1e6c84e06f85e97dc33145d47d7a (patch)
treeb3129fe7e3c5c0cc679eade1d471056554479dff /sys/arch/mvme88k
parente1794b47faaa78201b8fa91053378450a5306ae6 (diff)
part of a remove to get stand into shape.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/m88k/Makefile.inc0
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/m88k/bugcrt.c44
2 files changed, 0 insertions, 44 deletions
diff --git a/sys/arch/mvme88k/stand/bugcrt/m88k/Makefile.inc b/sys/arch/mvme88k/stand/bugcrt/m88k/Makefile.inc
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/sys/arch/mvme88k/stand/bugcrt/m88k/Makefile.inc
+++ /dev/null
diff --git a/sys/arch/mvme88k/stand/bugcrt/m88k/bugcrt.c b/sys/arch/mvme88k/stand/bugcrt/m88k/bugcrt.c
deleted file mode 100644
index 2eca49c663d..00000000000
--- a/sys/arch/mvme88k/stand/bugcrt/m88k/bugcrt.c
+++ /dev/null
@@ -1,44 +0,0 @@
-#include <sys/types.h>
-#include <machine/prom.h>
-
-struct mvmeprom_args bugargs = { 1 }; /* not BSS */
-
- asm (".text");
- asm (".long 0x003ffff8");
- asm (".long _start");
-start()
-{
- register int dev_lun asm ("r2");
- register int ctrl_lun asm ("r3");
- register int flags asm ("r4");
- register int ctrl_addr asm ("r5");
- register int entry asm ("r6");
- register int conf_blk asm ("r7");
- register char *arg_start asm ("r8");
- register char *arg_end asm ("r9");
- extern int edata, end;
-
-asm ("# enable SFU1");
-asm (" ldcr r10,cr1");
-asm (" xor r10,r10,0x8");
-asm (" stcr r10,cr1");
-
- bugargs.dev_lun = dev_lun;
- bugargs.ctrl_lun = ctrl_lun;
- bugargs.flags = flags;
- bugargs.ctrl_addr = ctrl_addr;
- bugargs.entry = entry;
- bugargs.conf_blk = conf_blk;
- bugargs.arg_start = arg_start;
- bugargs.arg_end = arg_end;
- *arg_end = 0;
-
- bzero(&edata, (int)&end - (int)&edata);
- main();
- mvmeprom_return();
- /* NOTREACHED */
-}
-
-__main()
-{
-}