mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-28 15:53:06 +08:00
sparc: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization. Update #3285.
This commit is contained in:
@@ -69,7 +69,3 @@ include_drvmgr_HEADERS += ../../../../../bsps/sparc/include/drvmgr/ambapp_bus.h
|
||||
include_drvmgr_HEADERS += ../../../../../bsps/sparc/include/drvmgr/ambapp_bus_grlib.h
|
||||
include_drvmgr_HEADERS += ../../../../../bsps/sparc/include/drvmgr/bspcommon.h
|
||||
include_drvmgr_HEADERS += ../../../../../bsps/sparc/include/drvmgr/leon2_amba_bus.h
|
||||
|
||||
include_libcpudir = $(includedir)/libcpu
|
||||
include_libcpu_HEADERS =
|
||||
include_libcpu_HEADERS += ../../../../../bsps/sparc/include/libcpu/access.h
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
/*
|
||||
* access.h - access routines for SPARC. SPARC is big endian only.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef _LIBCPU_ACCESS_H
|
||||
#define _LIBCPU_ACCESS_H
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/cpu.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* "Raw" access */
|
||||
extern uint8_t _ld8(uint8_t *addr);
|
||||
extern void _st8(uint8_t *addr, uint8_t val);
|
||||
extern uint16_t _ld16(uint16_t *addr);
|
||||
extern void _st16(uint16_t *addr, uint16_t val);
|
||||
extern uint32_t _ld32(uint32_t *addr);
|
||||
extern void _st32(uint32_t *addr, uint32_t val);
|
||||
extern uint64_t _ld64(uint64_t *addr);
|
||||
extern void _st64(uint64_t *addr, uint64_t val);
|
||||
|
||||
/* Aliases for Big Endian */
|
||||
extern uint16_t _ld_be16(uint16_t *addr);
|
||||
extern void _st_be16(uint16_t *addr, uint16_t val);
|
||||
extern uint32_t _ld_be32(uint32_t *addr);
|
||||
extern void _st_be32(uint32_t *addr, uint32_t val);
|
||||
extern uint64_t _ld_be64(uint64_t *addr);
|
||||
extern void _st_be64(uint64_t *addr, uint64_t val);
|
||||
|
||||
/* Little endian */
|
||||
extern uint16_t _ld_le16(uint16_t *addr);
|
||||
extern void _st_le16(uint16_t *addr, uint16_t val);
|
||||
extern uint32_t _ld_le32(uint32_t *addr);
|
||||
extern void _st_le32(uint32_t *addr, uint32_t val);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user