summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-12-13 08:55:53 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-12-13 08:55:53 +0000
commit473b535f76f86533ee5e407fe116de57f486b4ab (patch)
tree4f23697fe5a745e7407f507f3b3a3e82e9bd7150 /sys/arch/mvme88k/stand
parent73fa188e07813a02c13455459ffa53a64e277416 (diff)
Support for MVME197 completed. Fix SPL defs.
Diffstat (limited to 'sys/arch/mvme88k/stand')
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/bugcrt.c4
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/crt.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/stand/bugcrt/bugcrt.c b/sys/arch/mvme88k/stand/bugcrt/bugcrt.c
index 667ae0596d1..1fc418c6224 100644
--- a/sys/arch/mvme88k/stand/bugcrt/bugcrt.c
+++ b/sys/arch/mvme88k/stand/bugcrt/bugcrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bugcrt.c,v 1.6 2001/01/13 05:19:01 smurph Exp $ */
+/* $OpenBSD: bugcrt.c,v 1.7 2001/12/13 08:55:52 smurph Exp $ */
/*
* This is the startup file for single stage bootstraps or the first
@@ -36,6 +36,8 @@ start()
asm("| enable SFU1");
asm(" ldcr r25,cr1");
asm(" xor r25,r25,0x8");
+ asm(" set r25,r25,1<25>"); /* bit 25 is Serialize */
+ asm(" set r25,r25,1<29>"); /* bit 29 is Serial mode execution */
asm(" stcr r25,cr1");
#endif
diff --git a/sys/arch/mvme88k/stand/bugcrt/crt.c b/sys/arch/mvme88k/stand/bugcrt/crt.c
index 7776e42b364..e24b5597a96 100644
--- a/sys/arch/mvme88k/stand/bugcrt/crt.c
+++ b/sys/arch/mvme88k/stand/bugcrt/crt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt.c,v 1.2 2001/02/01 03:38:23 smurph Exp $ */
+/* $OpenBSD: crt.c,v 1.3 2001/12/13 08:55:52 smurph Exp $ */
#include <sys/types.h>
#include <machine/prom.h>
@@ -33,6 +33,8 @@ start()
asm("| enable SFU1");
asm(" ldcr r25,cr1");
asm(" clr r25,r25,1<3>"); /* bit 3 is SFU1D */
+ asm(" set r25,r25,1<25>"); /* bit 25 is Serialize */
+ asm(" set r25,r25,1<29>"); /* bit 29 is Serial mode execution */
asm(" stcr r25,cr1");
bugargs.dev_lun = dev_lun;