summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-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()
-{
-}