Subject: Re: CVS commit: src/sys/sys
To: None <chs@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 07/18/2004 16:05:01
--Apple-Mail-19-215551698
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
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>
--Apple-Mail-19-215551698
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFA+wIdOpVKkaBm8XkRAnL+AJ4kcp5jyqoOV9p406dvnOfvduJijQCfaQyZ
m2Rkm9LU8oC5xAvAXVI8zlI=
=sQIG
-----END PGP SIGNATURE-----
--Apple-Mail-19-215551698--