From 330baa486619395a6eecd49fd0b11d82e85e7ee4 Mon Sep 17 00:00:00 2001 From: "Dale S. Rahn" Date: Tue, 25 Mar 1997 17:07:41 +0000 Subject: 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. --- sys/arch/mvme88k/include/asm.h | 2 ++ sys/arch/mvme88k/include/profile.h | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/arch/mvme88k/include') 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. \ */ \ -- cgit v1.2.3