linux-mips
[Top] [All Lists]

Re: C0 config reg for 5k core

To: David Kesselring <dkesselr@mmc.atmel.com>
Subject: Re: C0 config reg for 5k core
From: Chris Dearman <chris@mips.com>
Date: Tue, 12 Aug 2003 12:21:08 +0100
Cc: linux-mips@linux-mips.org
Organization: MIPS Technologies (UK) Ltd
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.4.44.0308111422220.4449-100000@ares.mmc.atmel.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
David Kesselring wrote:
Has anyone else built linux 2.4 for a 5k or 5kf core? When comparing cpu.h

  I have :)

and the MIPS64 5K Processor Core Family Software Users Manual it doesn't
look to me that the c0-config1 reg is defined the same way. Am I reading
something wrong? For example in the spec FPU flag is bit0 while in cpu.h
it is bit4. Seems pretty basic.

The option bits defined in cpu.h are software flags. See arch/mips/kernel/setup.c where these flags are set for each processor by reading appropriate registers.

        Regards
                Chris

--
Chris Dearman          The Fruit Farm, Ely Road    voice +44 1223 706206
MIPS Technologies (UK) Chittering, Cambs, CB5 9PH  fax   +44 1223 706250


<Prev in Thread] Current Thread [Next in Thread>