2007-11-13 Till Straumann <strauman@slac.stanford.edu>

* shared/include/byteorder.h: fixed wrong pointer-type
	of ld_le32() (uint16_t* -> uint32_t*).
This commit is contained in:
Till Straumann
2007-11-14 00:36:59 +00:00
parent 8fea15719e
commit b472166df6
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/include/byteorder.h: fixed wrong pointer-type
of ld_le32() (uint16_t* -> uint32_t*).
2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,

View File

@@ -34,7 +34,7 @@ extern __inline__ void st_le16(volatile uint16_t *addr, unsigned val)
__asm__ __volatile__ ("sthbrx %1,0,%2" : "=m" (*addr) : "r" (val), "r" (addr));
}
extern __inline__ unsigned ld_le32(volatile uint16_t *addr)
extern __inline__ unsigned ld_le32(volatile uint32_t *addr)
{
unsigned val;