summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-03-25 17:07:41 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-03-25 17:07:41 +0000
commit330baa486619395a6eecd49fd0b11d82e85e7ee4 (patch)
tree66570ef31f25b716ea03ca18d95906546fb29866 /sys/arch/mvme88k/include
parent4365bb59c3447d65284b2b1adcabb62cc688ad38 (diff)
Ok here is the mvme88k userland, minus a few important pieces.
as, ld change need to be merged. It is known that shared libraries and C++ do not work. If anyone wants to step forward and take over the mvme88k port please do. It was dumped on me when the original developer, Nivas, left his previous job and started a new one. I am trying to get the port in a shape that someone could take over.
Diffstat (limited to 'sys/arch/mvme88k/include')
-rw-r--r--sys/arch/mvme88k/include/asm.h2
-rw-r--r--sys/arch/mvme88k/include/profile.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/include/asm.h b/sys/arch/mvme88k/include/asm.h
index 2c89b9e2191..5caa321d774 100644
--- a/sys/arch/mvme88k/include/asm.h
+++ b/sys/arch/mvme88k/include/asm.h
@@ -39,8 +39,10 @@
#define EH_DEBUG 0
#endif EH_DEBUG
+#if 0
/* this gives the offsets into various structures of various elements, etc */
#include "assym.s"
+#endif
#define ENTRY(NAME) \
.align 8; .globl FUNC(NAME); FUNC(NAME):
diff --git a/sys/arch/mvme88k/include/profile.h b/sys/arch/mvme88k/include/profile.h
index 84dd1e1d80e..6e366a01a96 100644
--- a/sys/arch/mvme88k/include/profile.h
+++ b/sys/arch/mvme88k/include/profile.h
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id: profile.h,v 1.5 1997/03/03 20:21:11 rahnds Exp $
+ * $Id: profile.h,v 1.6 1997/03/25 17:07:37 rahnds Exp $
*/
#define _MCOUNT_DECL static inline void _mcount
@@ -42,7 +42,7 @@ extern void mcount() asm("mcount"); \
void \
mcount() \
{ \
- int selfret; \
+ register int selfret; \
register int callerret; \
/* \
* find the return address for mcount, \
@@ -50,7 +50,7 @@ mcount() \
* \
* selfret = ret pushed by mcount call \
*/ \
- asm volatile("st r1,%0" : "=m" (selfret)); \
+ asm volatile("or %0,r1,0" : "=r" (selfret)); \
/* \
* callerret = ret pushed by call into self. \
*/ \