Subject: re: Need sparc openboot reference (fwd)
To: matthew green <mrg@eterna.com.au>
From: Eduardo E. Horvath <eeh@one-o.com>
List: port-sparc
Date: 01/30/1999 07:47:31
On Sun, 31 Jan 1999, matthew green wrote:
>
> Should be faster since they explicitly bypass the MMU and don't take TLB
> miss traps. However, the current scheme using gcc macros is not optimal
> since gcc can't do as good a job at scheduling the instructions. The best
> solution would be to modify gcc so pointers could be explicitly assocated
> with ASIs.
>
>
> you mean something like
>
> void *foo __attribute__((__ASIXXX___));
>
> ? telling the compiler to generate all instructions with foo with
> the appropriate ASI ? hmm... shouldn't be too hard to do ?
Yes. Although how this could be hidden inside bus_space*() macros is
beyond me.
=========================================================================
Eduardo Horvath eeh@one-o.com
"I need to find a pithy new quote." -- me