source: rtems/c/src/lib/libcpu/sparc/access/access_le.c @ 4fab260d

4.115
Last change on this file since 4fab260d was 4fab260d, checked in by Joel Sherrill <joel.sherrill@…>, on 09/23/13 at 13:24:32

libcpu/sparc/.../access_le.c: Add include file to fix warning

  • Property mode set to 100644
File size: 583 bytes
Line 
1/*
2 *  Little-endian access routines for SPARC
3 *
4 *  COPYRIGHT (c) 2011
5 *  Aeroflex Gaisler.
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 */
11
12#include <libcpu/byteorder.h>
13#include <libcpu/access.h>
14
15uint16_t _ld_le16(uint16_t *addr)
16{
17        return ld_le16(addr);
18}
19
20void _st_le16(uint16_t *addr, uint16_t val)
21{
22        st_le16(addr, val);
23}
24
25uint32_t _ld_le32(uint32_t *addr)
26{
27        return ld_le32(addr);
28}
29
30void _st_le32(uint32_t *addr, uint32_t val)
31{
32        st_le32(addr, val);
33}
Note: See TracBrowser for help on using the repository browser.