summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sparc/access/access_le.c
blob: d3a0e93adbc43656155b779184169ba750b382b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  Little-endian access routines for SPARC
 *
 *  COPYRIGHT (c) 2011
 *  Aeroflex Gaisler.
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#include <libcpu/byteorder.h>
#include <libcpu/access.h>

uint16_t _ld_le16(uint16_t *addr)
{
	return ld_le16(addr);
}

void _st_le16(uint16_t *addr, uint16_t val)
{
	st_le16(addr, val);
}

uint32_t _ld_le32(uint32_t *addr)
{
	return ld_le32(addr);
}

void _st_le32(uint32_t *addr, uint32_t val)
{
	st_le32(addr, val);
}