linux-mips
[Top] [All Lists]

Re: ISA

To: "Jun Sun" <jsun@mvista.com>, "Jim Paris" <jim@jtan.com>
Subject: Re: ISA
From: "Bradley D. LaRonde" <brad@ltc.com>
Date: Tue, 1 Jan 2002 14:34:24 -0500
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>, "Geert Uytterhoeven" <Geert.Uytterhoeven@sonycom.com>, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, "Linux/MIPS Development" <linux-mips@oss.sgi.com>
References: <Pine.GSO.4.21.0112191456410.28777-100000@vervain.sonytel.be> <E16HSHp-0000ay-00@the-village.bc.nu> <20011221134452.A21586@neurosis.mit.edu> <20020101112223.A14847@mvista.com>
Sender: owner-linux-mips@oss.sgi.com
----- Original Message -----
From: "Jun Sun" <jsun@mvista.com>
To: "Jim Paris" <jim@jtan.com>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>; "Geert Uytterhoeven"
<Geert.Uytterhoeven@sonycom.com>; "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>;
"Linux/MIPS Development" <linux-mips@oss.sgi.com>
Sent: Tuesday, January 01, 2002 2:22 PM
Subject: Re: ISA


> 1. each address space has an id.
> 2. kernel pre-defines a couple of well-known ones, 0 for CPU physical,
>    1 for virtual, etc.
> 3. When drivers discover the devices, they get the address and also
>    the address space id where the address resides.
> 4. there are a set of macro's that converts/maps an address or an
>    address region from one space to another.

The first thing that jumps out at me is that now every bus access has an
added switch in it.

Either that or drivers would get back access function pointers, but that
eliminates the chance to inline trivial bus accesses.

Regards,
Brad


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