Subject: Re: CVS commit: src/sys/sys
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Chuck Silvers <chuq@chuq.com>
List: source-changes
Date: 07/18/2004 16:08:00
ok.  I'll just make that hppa-specific.

-Chuck


On Sun, Jul 18, 2004 at 04:05:01PM -0700, Jason Thorpe wrote:
> 
> On Jul 18, 2004, at 3:34 PM, Chuck Silvers wrote:
> 
> >Module Name:	src
> >Committed By:	chs
> >Date:		Sun Jul 18 22:34:21 UTC 2004
> >
> >Modified Files:
> >	src/sys/sys: ras.h
> >
> >Log Message:
> >declare RAS labels as "const char foo[]" instead of functions.
> >on hppa, function pointers are funky so let's just avoid them here.
> 
> This doesn't work.  On e.g. SH5, they have to be declared as function 
> pointers, otherwise taking the address won't cause the PC to be correct 
> for SHmedia (where the low bit of the PC is always set -- if you use a 
> regular pointer type, that bit won't be set, and the code will be 
> interpreted as SH4-compatible code).
> 
>         -- Jason R. Thorpe <thorpej@wasabisystems.com>
>