Thread (3 messages) 3 messages, 3 authors, 1999-12-22

Re: Update - Re: Open Sourced Glide on Linux PPC

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 1999-12-22 19:37:25

Possibly related (same subject, not in this thread)

On Sat, 18 Dec 1999, Kostas Gewrgiou wrote:
On Fri, 17 Dec 1999, Jens Ch. Restemeier wrote:
quoted
- Glide compiles, after disabling the assembler triangle setup code.
quoted
From the documentation I think that P6FENCE should avoid instruction
reordering between I/O accesses. From the information here I think 
eieio (sp?) it the PPC instruction to use.
  Yes if you look at the macos defines you see that they use eieio there
they seem to do lots of read/writes without ever doing an eieio but since
it is working in macos i am not too worried.
If you use the *mb() macros instead of eieio(), you don't have to use #ifdefs
and it'll work automagically on e.g. Alpha as well.
quoted
- Problems: E - N - D - I - A - N. sigh... /dev/3dfx returns several
values through a memory buffer. Guess... That's currently the point
where glide fails.
  They do all memory access through the GETxx SETxx defines you can 
do the byteswapping there, the linux specific code doesn't use this 
though so you'll have to change this too.
Use read*()/write*() for all accesses to PCI memory space, as per
linux/Documentation/IO-mapping.txt.

Gr{oetje,eeting}s,
--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help