Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 20:34:34 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Mark Peek <mark@whistle.com>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/alpha/alpha trap.c src/sys/alpha/include
Message-ID:  <200107020334.UAA10085@InterJet.elischer.org>

next in thread | raw e-mail | index | archive | help
 cpu.h src/sys/conf files src/sys/i386/i386 trap.c src/sys/ia64/ia64      
     trap.c src/sys/ia64/include cpu.h src/sys/kern subr_trap.c         

 src/sys/powerpc/powerpc trap.c src/sys/sys proc.h
In-Reply-To: <p05100307b763f30da1d0@[207.76.207.129]>
Message-ID: <Pine.BSF.4.21.0107012033410.10016-100000@InterJet.elischer.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Be very carefull, or you'll get a commit bit...

On Sat, 30 Jun 2001, Mark Peek wrote:

> At 12:51 PM -0700 6/29/01, John Baldwin wrote:
> >jhb         2001/06/29 12:51:37 PDT
> >
> >   Modified files:
> >     sys/alpha/alpha      trap.c
> >     sys/alpha/include    cpu.h
> >     sys/conf             files
> >     sys/i386/i386        trap.c
> >     sys/ia64/ia64        trap.c
> >     sys/ia64/include     cpu.h
> >     sys/kern             subr_trap.c
> >     sys/powerpc/powerpc  trap.c
> >     sys/sys              proc.h
> >   Log:
> >   Move ast() and userret() to sys/kern/subr_trap.c now that they are MI.
> >
> >   Revision  Changes    Path
> >   1.68      +1 -114    src/sys/alpha/alpha/trap.c
> >   1.29      +1 -2      src/sys/alpha/include/cpu.h
> >   1.538     +1 -0      src/sys/conf/files
> >   1.194     +1 -121    src/sys/i386/i386/trap.c
> >   1.25      +1 -113    src/sys/ia64/ia64/trap.c
> >   1.19      +1 -2      src/sys/ia64/include/cpu.h
> >   1.194     +18 -1163  src/sys/kern/subr_trap.c
> >   1.2       +1 -9      src/sys/powerpc/powerpc/trap.c
> >   1.168     +2 -1      src/sys/sys/proc.h
> 
> 
> Now that the powerpc code has a real userret() :-), you may want to 
> commit this patch as well...it allows the powerpc kernel to link 
> again. (Well, at least link in my build tree...I need Benno to commit 
> the netbsd versions of autoconf.h and openpicreg.h based on his most 
> recent changes).
> 
> Mark
> 
> 
> Index: powerpc/include/cpu.h
> ===================================================================
> RCS file: /cvs/freebsd/src/sys/powerpc/include/cpu.h,v
> retrieving revision 1.2
> diff -u -r1.2 cpu.h
> --- powerpc/include/cpu.h	2001/06/29 11:10:40	1.2
> +++ powerpc/include/cpu.h	2001/06/30 21:11:35
> @@ -39,6 +39,9 @@
>   #include <machine/pcb.h>
>   #include <machine/psl.h>
> 
> +#define	TRAPF_USERMODE(frame)	((frame)->srr1 & PSL_PR) != 0)
> +#define	TRAPF_PC(frame)		((frame)->srr0)
> +
>   #define	CLKF_USERMODE(frame)	(((frame)->srr1 & PSL_PR) != 0)
>   #define	CLKF_BASEPRI(frame)	((frame)->pri == 0)
>   #define	CLKF_PC(frame)		((frame)->srr0)
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107020334.UAA10085>