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

4.115
Last change on this file since df40cc9 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • 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.org/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.