Re: How to recognize a LEON CPU?

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

 



On 05/21/2012 11:12 PM, David Miller wrote:
From: Sam Ravnborg<sam@xxxxxxxxxxxx>
Date: Mon, 21 May 2012 18:22:53 +0200

I assume this can be determinded from PSR.
> From arch/sparc/kernel/cpu.c:

psr IMPL 0xf with psr VERS of 3
Correct. As I written Sam:

The LEON is SPARC compliant and has a registered number, from the manual (http://gaisler.com/products/grlib/grip.pdf section LEON3 and LEON4):

65.2.3 SPARC Implementor's ID
Gaisler Research is assigned number 15 (0xF) as SPARC implementor's identification. This value is
hard-coded into bits 31:28 in the %psr register. The version number for LEON3 is 3, which is hard-
coded in to bits 27:24 of the %psr.


Note that LEON3 and LEON4 have the same version number, they are software compatible.

Daniel
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux