[OpenAFS-devel] process.s

Joakim Fallsjo fallsjo+lists@sanchin.se
23 Jun 2003 21:59:46 +0200


Derek Atkins <warlord@MIT.EDU> writes:

> Jim Rees <rees@umich.edu> writes:
> 
> > I just added a new file, lwp/process.i386.s, that contains lwp code for ncr,
> > djgpp, and the bsds on i386 (whatever happened to Sun i386?).  This
> > eliminates the need for process.fbsd.s, which contained a duplicate copy of
> > the same code.
> 
> I haven't seen a Sun386i in years, and haven't used the port since I
> left the Media Lab in '95.  I'm surprised the port is still there -- I
> would have thought the rest of the configs for Sun386i would have
> left.  I know that transarc just used my x86 process.s code when they
> made other x86 ports, which is probably why the sun386i comments are
> still in there.  Besides, SunOS4 is mostly dead (especially on x86
> hardware)
> 
Well I have (I'm building the binaries for Solaris X86) and you need to apply the added patch also, and yes Derek's code still works :-)

The #define AFS_X86_ENV is used by Solaris X86.

/JockeF

Index: src/lwp/Makefile.in
===================================================================
RCS file: /cvs/openafs/src/lwp/Makefile.in,v
retrieving revision 1.19
diff -u -r1.19 Makefile.in
--- src/lwp/Makefile.in 23 Jun 2003 17:02:18 -0000      1.19
+++ src/lwp/Makefile.in 23 Jun 2003 19:53:24 -0000
@@ -33,7 +33,7 @@
        @case "$(SYS_NAME)" in \
        pmax_he1) \
                $(CC) ${LWP_DBG} ${LWP_OPTMZ} -c -I${TOP_INCDIR} process.s;; \
-       sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53  | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5? | sunx86_5?) \
+       sun4c_51 | sun4c_52 | sun4m_51 | sun4m_52 | sun4c_53 | sun4m_53  | sun4_53 | sun4_52 | sun4_54 | sun4c_54 | sun4m_54 | sun4x_5?) \
                /usr/ccs/lib/cpp -P -I${TOP_INCDIR} ${srcdir}/process.s process.ss; \
                ${AS} process.ss -o process.o; \
                        $(RM) process.ss ;; \
@@ -56,7 +56,7 @@
                /usr/bin/cpp -P ${srcdir}/process.i386.s > process.ss; \
                ${AS} -o process.o process.ss; \
                $(RM) process.ss ;; \
-       ncrx86_*) \
+       ncrx86_* | sunx86_*) \
                /usr/ccs/lib/cpp -P -I${TOP_INCDIR} ${srcdir}/process.i386.s process.ss; \
                ${AS} -o process.o process.ss; \
                $(RM) process.ss ;; \