Jason R Thorpe | 21 Jun 2002 08:37

nathanw_sa changes for sh3

Tonight I wrote the sh3-specific changes for nathanw_sa for sh3.  The
kernel links, but I have not yet booted it (my test machine will be
a Dreamcast).

I'll do a test boot tomorrow, but I'd like to get some feedback from
folks who might be more familiar w/ SH than me.

My concerns:

	* changes to locore_subr.S follow register saving
	  rules.

	* cpu_setfunc() is correct

	* cpu_exit(): I'm worried that the stack changes in
	  the middle of this function.

Anyway, if it boots on my DC, I'll check it in, and then make the
other SH ports compile.

--

-- 
        -- Jason R. Thorpe <thorpej <at> wasabisystems.com>
Index: include/cpu.h
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/sh3/include/cpu.h,v
retrieving revision 1.29
diff -c -r1.29 cpu.h
*** include/cpu.h	2002/05/07 04:01:59	1.29
(Continue reading)

Jason R Thorpe | 21 Jun 2002 23:37

Re: nathanw_sa changes for sh3

On Thu, Jun 20, 2002 at 11:37:10PM -0700, Jason R Thorpe wrote:

 > Anyway, if it boots on my DC, I'll check it in, and then make the
 > other SH ports compile.

FWIW, there were a couple of typos in #ifdef DEBUG'd code, which
I fixed.  The kernel boots multi-user on my Dreamcast (SH4), and
so I have checked it in.

--

-- 
        -- Jason R. Thorpe <thorpej <at> wasabisystems.com>


Gmane