source: rtems/cpukit/score/cpu/sparc/access_le.c @ 2548d14

5
Last change on this file since 2548d14 was 8b5778e, checked in by Sebastian Huber <sebastian.huber@…>, on 03/12/18 at 05:37:36

sparc: Move libcpu content to cpukit

This patch is a part of the BSP source reorganization.

Update #3285.

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