forked from Imagelibrary/rtems
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:
@@ -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>
|
2007-11-06 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
|
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
|
||||||
|
|||||||
@@ -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));
|
__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;
|
unsigned val;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user