[Top] [All Lists]

Re: C0 config reg for 5k core

To: David Kesselring <>
Subject: Re: C0 config reg for 5k core
From: Chris Dearman <>
Date: Tue, 12 Aug 2003 12:21:08 +0100
Organization: MIPS Technologies (UK) Ltd
Original-recipient: rfc822;
References: <>
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.


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>