mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-29 14:23:41 +08:00
@@ -12,4 +12,3 @@ include_rtems_score_HEADERS += include/rtems/score/cpuatomic.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/cpuimpl.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/or1k-utility.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/or1k.h
|
||||
include_rtems_score_HEADERS += include/rtems/score/types.h
|
||||
|
||||
@@ -30,7 +30,7 @@ extern "C" {
|
||||
|
||||
#include <rtems/score/or1k.h> /* pick up machine definitions */
|
||||
#include <rtems/score/or1k-utility.h>
|
||||
#include <rtems/score/types.h>
|
||||
#include <rtems/score/basedefs.h>
|
||||
#ifndef ASM
|
||||
#include <rtems/bspIo.h>
|
||||
#include <stdint.h>
|
||||
@@ -863,6 +863,9 @@ CPU_Counter_ticks _CPU_Counter_difference(
|
||||
CPU_Counter_ticks first
|
||||
);
|
||||
|
||||
/** Type that can store a 32-bit integer or a pointer. */
|
||||
typedef uintptr_t CPU_Uint32ptr;
|
||||
|
||||
#endif /* ASM */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief OR1K Architecture Types API
|
||||
*/
|
||||
|
||||
/*
|
||||
* This include file contains type definitions pertaining to the
|
||||
* arm processor family.
|
||||
*
|
||||
* COPYRIGHT (c) 2014 Hesham ALMatary <heshamelmatary@gmail.com>
|
||||
*
|
||||
* 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 _RTEMS_SCORE_TYPES_H
|
||||
#define _RTEMS_SCORE_TYPES_H
|
||||
|
||||
#include <rtems/score/basedefs.h>
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @addtogroup ScoreCPU
|
||||
*/
|
||||
/**@{**/
|
||||
|
||||
/*
|
||||
* This section defines the basic types for this processor.
|
||||
*/
|
||||
|
||||
/** Type that can store a 32-bit integer or a pointer. */
|
||||
typedef uintptr_t CPU_Uint32ptr;
|
||||
|
||||
typedef void or1k_isr;
|
||||
typedef void ( *or1k_isr_entry )( void );
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !ASM */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user