[OpenBIOS] [PATCH] SPARC32 : microSPARC-II identification

Blue Swirl blauwirbel at gmail.com
Sun Feb 3 17:50:24 CET 2013


Thanks, applied.

On Tue, Jan 29, 2013 at 10:01 PM, Olivier DANET <odanet at caramail.com> wrote:
> For the microSPARC-II = Fujitsu MB86904 = Sun STP1012PGA, PSR.IMPL=0 and PSR.VERS=4
>
> This CPU model is used as default by QEMU when emulating a SparcStation-4 or SparcStation-5
>
> Signed-off-by: Olivier DANET <odanet at caramail.com>
>
> diff a/openbios-devel/arch/sparc32/openbios.c b/openbios-devel/arch/sparc32/openbios.c
> --- a/openbios-devel/arch/sparc32/openbios.c
> +++ b/openbios-devel/arch/sparc32/openbios.c
> @@ -244,9 +244,9 @@ static const struct cpudef sparc_defs[]
>          .iu_version = 0x04 << 24, /* Impl 0, ver 4 */
>          .name = "FMI,MB86904",
>          .psr_impl = 0,
> -        .psr_vers = 5,
> +        .psr_vers = 4,
>          .impl = 0,
> -        .vers = 5,
> +        .vers = 4,
>          .dcache_line_size = 0x10,
>          .dcache_lines = 0x200,
>          .dcache_assoc = 1,



More information about the OpenBIOS mailing list