Re: cache info

Kaz Kojima <[email protected]> Wed, 24 Mar 2004 07:57:14 +0900 (JST)
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Message-ID <[email protected]>
Daniel Jacobowitz <[email protected]> wrote:
>> (1)  SH specific system call to get the cache info,
>> (2)  interface (including system call) to read hurmless CPU
>>      registers,
>> (3)  special device,
>> (4)  ...
>> 
>> Perhaps (1) is cleaner as an interface than another methods though
>> I'm a bit concerned with SH specific system call number.  We have
>> "holes" in system call numbers but there might be no guarantee
>> that they won't be used for another purpose.
>> 
>> Thoughts?  Implementations will be more welcome :-)
> 
> PowerPC does this using ELF auxilliary data.  Would that do?
 
Sounds good!  I'll take a look at the PowerPC implementation.
Thanks.

BTW, it reminds me
  http://www.m17n.org/linux-sh/ml/linux-sh/2003-08/msg00055.html
which didn't appeal to anyone :-)

Regards,
	kaz


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click