Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



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@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index