blob: 06a3e22bb93c6eb39e2ee31f3762f7c369b73d59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* The license and distribution terms for this file may be
* found in found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifndef _LIBCPU_BYTEORDER_H
#define _LIBCPU_BYTEORDER_H
static inline void st_le32(volatile uint32_t *addr, uint32_t value)
{
*(addr)=value ;
}
static inline uint32_t ld_le32(volatile uint32_t *addr)
{
return(*addr);
}
#endif
|