summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include/prom.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-24 21:10:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-24 21:10:34 +0000
commit20f5ee26366d5d03115112636b80a685a25a30c0 (patch)
treee6d2d6394fd7430af0187862146d01fbc9187700 /sys/arch/mvmeppc/include/prom.h
parentcd40f9b9d69d27c8a91aebf09941e82b60e28015 (diff)
Preserve SPRG0-SPRG3 around BUG calls, as required in the PPC1Bug UM;
reminded by drahn@, thanks!
Diffstat (limited to 'sys/arch/mvmeppc/include/prom.h')
-rw-r--r--sys/arch/mvmeppc/include/prom.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/mvmeppc/include/prom.h b/sys/arch/mvmeppc/include/prom.h
index 89403f4b56a..a089e625db2 100644
--- a/sys/arch/mvmeppc/include/prom.h
+++ b/sys/arch/mvmeppc/include/prom.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: prom.h,v 1.4 2003/06/02 07:07:25 deraadt Exp $ */
+/* $OpenBSD: prom.h,v 1.5 2004/01/24 21:10:31 miod Exp $ */
/*
* Copyright (c) 2001 Steve Murphree, Jr.
* All rights reserved.
@@ -350,10 +350,6 @@ struct mvmeprom_args {
#endif
-#define MVMEPROM_CALL(x) \
- __asm__ __volatile__ ( __CONCAT("addi 10,0,",__STRING(x)) ); \
- __asm__ __volatile__ ("sc");
-
#define MVMEPROM_REG_CTRLLUN "3"
#define MVMEPROM_REG_DEVLUN "4"
#define MVMEPROM_REG_SCSUPP "5"