* Major endianness fixes on sky code today. The milestone sample and existing
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 27 Feb 1998 21:52:40 +0000 (21:52 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 27 Feb 1998 21:52:40 +0000 (21:52 +0000)
commitf0bb94cd675e4efc1da621177ed8d6b443c0d300
tree27e54020832411e29cb0990485cbeb84fce82f08
parent01e5c2f36cccb4f563d9b78c03973b37d9de9b3d
* Major endianness fixes on sky code today.  The milestone sample and existing
  PKE tests run identically on SPARC/Solaris and x86/Linux.

* sky-pke.c (pke_io_{read,write}_buffer): Endianness fixes aka
  "E-fixes" in register and FIFO read/writes.
(pke_code_{pkemscalf,pkemscal}): E-fixes in VU CIA setting.
(pke_code_{mpg,unpack}): E-fixes in VU memory & tracking updates.
(pke_code_direct): E-fixes in GPUIF FIFO stuffing.

* sky-pke.h (PKE_MEM_WRITE): E-fixes in trace file writing.

* sky-vu0.c (vu0_attach): Allocate micro/data memory with zalloc
  to guarantee sufficient (16-byte) alignment.

* sky-vu1.c (vu1_attach): Ditto.
(vu1_io_read_register_window): *PARTIAL* E-fixes in register accesses.

* sky-libvpe.c (gif_write): E-fixes in GPUIF FIFO stuffing.

* sky-gpuif.c (gif_io_{read,write}_buffer): E-fixes in
  register and FIFO read/writes.

* sky-dma.c (do_dma_transfer_tag): E-fixes in tag reading.
sim/mips/sky-pke.c
sim/mips/sky-pke.h
sim/mips/sky-vu0.c
sim/mips/sky-vu1.c