OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /or1k/trunk/rtems-20020807/cpukit/itron/inline
    from Rev 1028 to Rev 1765
    Reverse comparison

Rev 1028 → Rev 1765

/rtems/itron/eventflags.inl
0,0 → 1,151
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* eventflags.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_EVENTFLAGS_inl_
#define __ITRON_EVENTFLAGS_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Eventflags_Allocate
*
* DESCRIPTION:
*
* This routine allocates the eventflags associated with the specified
* eventflags ID from the pool of inactive eventflagss.
*
* Input parameters:
* flgid - id of eventflags to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the eventflags control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Eventflags_Control *_ITRON_Eventflags_Allocate(
ID flgid
)
{
return (ITRON_Eventflags_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Eventflags_Information,
flgid,
sizeof(ITRON_Eventflags_Control)
);
}
 
/*
* _ITRON_Eventflags_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Eventflags_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Eventflags_Information, (_id) )
 
/*
* _ITRON_Eventflags_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Eventflags_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Eventflags_Information, (_id) )
 
/*
* _ITRON_Eventflags_Free
*
* DESCRIPTION:
*
* This routine frees a eventflags control block to the
* inactive chain of free eventflags control blocks.
*
* Input parameters:
* the_eventflags - pointer to eventflags control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Eventflags_Free (
ITRON_Eventflags_Control *the_eventflags
)
{
_ITRON_Objects_Free( &_ITRON_Eventflags_Information, &the_eventflags->Object );
}
 
/*PAGE
*
* _ITRON_Eventflags_Get
*
* DESCRIPTION:
*
* This function maps eventflags IDs to eventflags control blocks.
* If ID corresponds to a local eventflags, then it returns
* the_eventflags control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the eventflags ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the_eventflags is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the_eventflags is undefined.
*
* Input parameters:
* id - ITRON eventflags ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Eventflags_Control *_ITRON_Eventflags_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Eventflags_Control *)
_ITRON_Objects_Get( &_ITRON_Eventflags_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Eventflags_Is_null
*
* This function returns TRUE if the_eventflags is NULL and FALSE otherwise.
*
* Input parameters:
* the_eventflags - pointer to eventflags control block
*
* Output parameters:
* TRUE - if the_eventflags is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Eventflags_Is_null (
ITRON_Eventflags_Control *the_eventflags
)
{
return ( the_eventflags == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/fmempool.inl
0,0 → 1,158
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* fmempool.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_FIXED_MEMORY_POOL_inl_
#define __ITRON_FIXED_MEMORY_POOL_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Fixed_memory_pool_Allocate
*
* DESCRIPTION:
*
* This routine allocates the fixed_memory_pool associated with the specified
* fixed_memory_pool ID from the pool of inactive fixed_memory_pools.
*
* Input parameters:
* mpfid - id of fixed_memory_pool to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the fixed_memory_pool control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Fixed_memory_pool_Control
*_ITRON_Fixed_memory_pool_Allocate(
ID mpfid
)
{
return (ITRON_Fixed_memory_pool_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Fixed_memory_pool_Information,
mpfid,
sizeof(ITRON_Fixed_memory_pool_Control)
);
}
 
/*
* _ITRON_Fixed_memory_pool_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Fixed_memory_pool_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Fixed_memory_pool_Information, (_id) )
 
/*
* _ITRON_Fixed_memory_pool_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Fixed_memory_pool_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( \
&_ITRON_Fixed_memory_pool_Information, (_id) )
 
/*
* _ITRON_Fixed_memory_pool_Free
*
* DESCRIPTION:
*
* This routine frees a fixed_memory_pool control block to the
* inactive chain of free fixed_memory_pool control blocks.
*
* Input parameters:
* the_fixed_memory_pool - pointer to fixed_memory_pool control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Fixed_memory_pool_Free (
ITRON_Fixed_memory_pool_Control *the_fixed_memory_pool
)
{
_ITRON_Objects_Free(
&_ITRON_Fixed_memory_pool_Information,
&the_fixed_memory_pool->Object
);
}
 
/*PAGE
*
* _ITRON_Fixed_memory_pool_Get
*
* DESCRIPTION:
*
* This function maps fixed memory pool IDs to control blocks.
* If ID corresponds to a local fixed memory pool, then it returns
* the_fixed memory pool control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the fixed memory pool ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the fixed memory pool is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the fixed memory pool is undefined.
*
* Input parameters:
* id - ITRON fixed memory pool ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Fixed_memory_pool_Control
*_ITRON_Fixed_memory_pool_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Fixed_memory_pool_Control *)
_ITRON_Objects_Get( &_ITRON_Fixed_memory_pool_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Fixed_memory_pool_Is_null
*
* This function returns TRUE if the_fixed_memory_pool is NULL
* and FALSE otherwise.
*
* Input parameters:
* the_fixed_memory_pool - pointer to fixed_memory_pool control block
*
* Output parameters:
* TRUE - if the_fixed_memory_pool is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Fixed_memory_pool_Is_null (
ITRON_Fixed_memory_pool_Control *the_fixed_memory_pool
)
{
return ( the_fixed_memory_pool == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/time.inl
0,0 → 1,30
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* time.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_TIME_inl_
#define __ITRON_TIME_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* XXX insert inline routines here
*/
 
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/vmempool.inl
0,0 → 1,161
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* vmempool.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_VARIABLE_MEMORY_POOL_inl_
#define __ITRON_VARIABLE_MEMORY_POOL_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Variable_memory_pool_Allocate
*
* DESCRIPTION:
*
* This routine allocates the variable memory pool associated with
* the specified variable memory pool ID from the pool of inactive
* variable memory pools.
*
* Input parameters:
* mplid - id of variable memory pool to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the variable memory pool control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Variable_memory_pool_Control
*_ITRON_Variable_memory_pool_Allocate(
ID mplid
)
{
return (ITRON_Variable_memory_pool_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Variable_memory_pool_Information,
mplid,
sizeof(ITRON_Variable_memory_pool_Control)
);
}
 
/*
* _ITRON_Variable_memory_pool_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Variable_memory_pool_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Variable_memory_pool_Information, (_id) )
 
/*
* _ITRON_Variable_memory_pool_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Variable_memory_pool_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Variable_memory_pool_Information, (_id) )
 
/*
* _ITRON_Variable_memory_pool_Free
*
* DESCRIPTION:
*
* This routine frees a variable memory pool control block to the
* inactive chain of free variable memory pool control blocks.
*
* Input parameters:
* the_variable_memory_pool - pointer to variable memory pool control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Variable_memory_pool_Free (
ITRON_Variable_memory_pool_Control *the_variable_memory_pool
)
{
_ITRON_Objects_Free(
&_ITRON_Variable_memory_pool_Information,
&the_variable_memory_pool->Object
);
}
 
/*PAGE
*
* _ITRON_Variable_memory_pool_Get
*
* DESCRIPTION:
*
* This function maps variable memory pool IDs to variable memory pool
* control blocks. If ID corresponds to a local variable memory pool,
* then it returns the variable memory pool control pointer which maps
* to ID and location is set to OBJECTS_LOCAL. if the variable memory
* pool ID is global and resides on a remote node, then location is set
* to OBJECTS_REMOTE, and the variable memory pool is undefined. Otherwise,
* location is set to OBJECTS ERROR and the variable memory pool is undefined.
*
* Input parameters:
* id - ITRON variable memory pool ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Variable_memory_pool_Control
*_ITRON_Variable_memory_pool_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Variable_memory_pool_Control *) _ITRON_Objects_Get(
&_ITRON_Variable_memory_pool_Information,
id,
location
);
}
 
/*PAGE
*
* _ITRON_Variable_memory_pool_Is_null
*
* This function returns TRUE if the_variable_memory_pool is NULL
* and FALSE otherwise.
*
* Input parameters:
* the_variable_memory_pool - pointer to variable memory pool control block
*
* Output parameters:
* TRUE - if the_variable_memory_pool is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Variable_memory_pool_Is_null (
ITRON_Variable_memory_pool_Control *the_variable_memory_pool
)
{
return ( the_variable_memory_pool == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/msgbuffer.inl
0,0 → 1,156
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* msgbuffer.inl,v 1.3 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_MESSAGE_BUFFER_inl_
#define __ITRON_MESSAGE_BUFFER_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Message_buffer_Allocate
*
* DESCRIPTION:
*
* This routine allocates the message buffer associated with the specified
* message buffer ID from the pool of inactive message buffers.
*
* Input parameters:
* mbfid - id of message buffer to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the message buffer control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Message_buffer_Control
*_ITRON_Message_buffer_Allocate(
ID mbfid
)
{
return (ITRON_Message_buffer_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Message_buffer_Information,
mbfid,
sizeof(ITRON_Message_buffer_Control)
);
}
 
/*
* _ITRON_Message_buffer_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Message_buffer_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Message_buffer_Information, (_id) )
 
/*
* _ITRON_Message_buffer_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Message_buffer_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Message_buffer_Information, (_id) )
 
/*
* _ITRON_Message_buffer_Free
*
* DESCRIPTION:
*
* This routine frees a message buffer control block to the
* inactive chain of free message buffer control blocks.
*
* Input parameters:
* the_message_buffer - pointer to message_buffer control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Message_buffer_Free (
ITRON_Message_buffer_Control *the_message_buffer
)
{
_ITRON_Objects_Free(
&_ITRON_Message_buffer_Information,
&the_message_buffer->Object
);
}
 
/*PAGE
*
* _ITRON_Message_buffer_Get
*
* DESCRIPTION:
*
* This function maps message buffer IDs to message buffer control blocks.
* If ID corresponds to a local message buffer, then it returns
* the message buffer control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the message buffer ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the message buffer is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the message buffer is undefined.
*
* Input parameters:
* id - ITRON message_buffer ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Message_buffer_Control *_ITRON_Message_buffer_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Message_buffer_Control *)
_ITRON_Objects_Get( &_ITRON_Message_buffer_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Message_buffer_Is_null
*
* This function returns TRUE if the_message_buffer is NULL
* and FALSE otherwise.
*
* Input parameters:
* the_message_buffer - pointer to message buffer control block
*
* Output parameters:
* TRUE - if the_message_buffer is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Message_buffer_Is_null (
ITRON_Message_buffer_Control *the_message_buffer
)
{
return ( the_message_buffer == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/task.inl
0,0 → 1,181
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* task.inl,v 1.3 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_TASK_inl_
#define __ITRON_TASK_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Task_Allocate
*
* DESCRIPTION:
*
* This routine allocates the task associated with the specified
* task ID from the pool of inactive tasks.
*
* Input parameters:
* tskid - id of task to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the task control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE Thread_Control *_ITRON_Task_Allocate(
ID tskid
)
{
return (Thread_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Task_Information,
tskid,
sizeof(Thread_Control)
);
}
 
/*
* _ITRON_Task_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Task_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Task_Information, (_id) )
 
/*
* _ITRON_Task_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Task_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Task_Information, (_id) )
 
/*
* _ITRON_Task_Free
*
* DESCRIPTION:
*
* This routine frees a task control block to the
* inactive chain of free task control blocks.
*
* Input parameters:
* the_task - pointer to task control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Task_Free (
Thread_Control *the_task
)
{
_ITRON_Objects_Free( &_ITRON_Task_Information, &the_task->Object );
}
 
/*PAGE
*
* _ITRON_Task_Get
*
* DESCRIPTION:
*
* This function maps task IDs to task control blocks.
* If ID corresponds to a local task, then it returns
* the_task control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the task ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the_task is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the_task is undefined.
*
* Input parameters:
* id - ITRON task ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE Thread_Control *_ITRON_Task_Get (
ID id,
Objects_Locations *location
)
{
if ( id == 0 ) {
_Thread_Disable_dispatch();
*location = OBJECTS_LOCAL;
return _Thread_Executing;
}
 
return (Thread_Control *)
_ITRON_Objects_Get( &_ITRON_Task_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Task_Is_null
*
* This function returns TRUE if the_task is NULL and FALSE otherwise.
*
* Input parameters:
* the_task - pointer to task control block
*
* Output parameters:
* TRUE - if the_task is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Task_Is_null (
Thread_Control *the_task
)
{
return ( the_task == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
/*PAGE
*
* _ITRON_tasks_Priority_to_Core
*/
RTEMS_INLINE_ROUTINE _ITRON_Task_Priority_to_Core(
PRI ITRON_priority
)
{
return (Priority_Control) ITRON_priority;
}
 
/*PAGE
*
* _ITRON_tasks_Core_to_Priority
*/
RTEMS_INLINE_ROUTINE _ITRON_Task_Core_to_Priority(
Priority_Control core_priority
)
{
return (PRI) core_priority;
}
 
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
/rtems/itron/semaphore.inl
0,0 → 1,183
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* semaphore.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_SEMAPHORE_inl_
#define __ITRON_SEMAPHORE_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Semaphore_Allocate
*
* DESCRIPTION:
*
* This routine allocates the semaphore associated with the specified
* semaphore ID from the pool of inactive semaphores.
*
* Input parameters:
* semid - id of semaphore to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the semaphore control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Semaphore_Control *_ITRON_Semaphore_Allocate(
ID semid
)
{
return (ITRON_Semaphore_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Semaphore_Information,
semid,
sizeof(ITRON_Semaphore_Control)
);
}
 
/*
* _ITRON_Semaphore_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Semaphore_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Semaphore_Information, (_id) )
 
/*
* _ITRON_Semaphore_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Semaphore_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Semaphore_Information, (_id) )
 
/*
* _ITRON_Semaphore_Free
*
* DESCRIPTION:
*
* This routine frees a semaphore control block to the
* inactive chain of free semaphore control blocks.
*
* Input parameters:
* the_semaphore - pointer to semaphore control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Semaphore_Free (
ITRON_Semaphore_Control *the_semaphore
)
{
_ITRON_Objects_Free( &_ITRON_Semaphore_Information, &the_semaphore->Object );
}
 
/*PAGE
*
* _ITRON_Semaphore_Get
*
* DESCRIPTION:
*
* This function maps semaphore IDs to semaphore control blocks.
* If ID corresponds to a local semaphore, then it returns
* the_semaphore control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the semaphore ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the_semaphore is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the_semaphore is undefined.
*
* Input parameters:
* id - ITRON semaphore ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Semaphore_Control *_ITRON_Semaphore_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Semaphore_Control *)
_ITRON_Objects_Get( &_ITRON_Semaphore_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Semaphore_Is_null
*
* This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
*
* Input parameters:
* the_semaphore - pointer to semaphore control block
*
* Output parameters:
* TRUE - if the_semaphore is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Semaphore_Is_null (
ITRON_Semaphore_Control *the_semaphore
)
{
return ( the_semaphore == NULL );
}
 
/*
* _ITRON_Semaphore_Translate_core_semaphore_return_code
*
* This function returns a ITRON status code based on the semaphore
* status code specified.
*
* Input parameters:
* the_semaphore_status - semaphore status code to translate
*
* Output parameters:
* ITRON status code - translated ITRON status code
*
*/
 
RTEMS_INLINE_ROUTINE ER _ITRON_Semaphore_Translate_core_semaphore_return_code (
unsigned32 the_semaphore_status
)
{
/* XXX need to be able to return "E_RLWAI" */
switch ( the_semaphore_status ) {
case CORE_SEMAPHORE_STATUS_SUCCESSFUL:
return E_OK;
case CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT:
return E_TMOUT;
case CORE_SEMAPHORE_WAS_DELETED:
return E_DLT;
case CORE_SEMAPHORE_TIMEOUT:
return E_TMOUT;
case CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED:
return E_QOVR;
case THREAD_STATUS_PROXY_BLOCKING:
return THREAD_STATUS_PROXY_BLOCKING;
}
return E_OK; /* unreached - only to remove warnings */
}
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/sysmgmt.inl
0,0 → 1,30
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* sysmgmt.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_TIME_inl_
#define __ITRON_TIME_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* XXX insert inline routines here
*/
 
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/port.inl
0,0 → 1,151
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* port.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_PORT_inl_
#define __ITRON_PORT_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Port_Allocate
*
* DESCRIPTION:
*
* This routine allocates the port associated with the specified
* port ID from the pool of inactive ports.
*
* Input parameters:
* porid - id of port to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the port control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Port_Control *_ITRON_Port_Allocate(
ID porid
)
{
return (ITRON_Port_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Port_Information,
porid,
sizeof(ITRON_Port_Control)
);
}
 
/*
* _ITRON_Port_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Port_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Port_Information, (_id) )
 
/*
* _ITRON_Port_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Port_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Port_Information, (_id) )
 
/*
* _ITRON_Port_Free
*
* DESCRIPTION:
*
* This routine frees a port control block to the
* inactive chain of free port control blocks.
*
* Input parameters:
* the_port - pointer to port control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Port_Free (
ITRON_Port_Control *the_port
)
{
_ITRON_Objects_Free( &_ITRON_Port_Information, &the_port->Object );
}
 
/*PAGE
*
* _ITRON_Port_Get
*
* DESCRIPTION:
*
* This function maps port IDs to port control blocks.
* If ID corresponds to a local port, then it returns
* the_port control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the port ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the_port is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the_port is undefined.
*
* Input parameters:
* id - ITRON port ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Port_Control *_ITRON_Port_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Port_Control *)
_ITRON_Objects_Get( &_ITRON_Port_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Port_Is_null
*
* This function returns TRUE if the_port is NULL and FALSE otherwise.
*
* Input parameters:
* the_port - pointer to port control block
*
* Output parameters:
* TRUE - if the_port is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Port_Is_null (
ITRON_Port_Control *the_port
)
{
return ( the_port == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/mbox.inl
0,0 → 1,151
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* mbox.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_MAILBOX_inl_
#define __ITRON_MAILBOX_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* _ITRON_Mailbox_Allocate
*
* DESCRIPTION:
*
* This routine allocates the mailbox associated with the specified
* mailbox ID from the pool of inactive mailboxs.
*
* Input parameters:
* mbxid - id of mailbox to allocate
* status - pointer to status variable
*
* Output parameters:
* returns - pointer to the mailbox control block
* *status - status
*/
 
RTEMS_INLINE_ROUTINE ITRON_Mailbox_Control *_ITRON_Mailbox_Allocate(
ID mbxid
)
{
return (ITRON_Mailbox_Control *)_ITRON_Objects_Allocate_by_index(
&_ITRON_Mailbox_Information,
mbxid,
sizeof(ITRON_Mailbox_Control)
);
}
 
/*
* _ITRON_Mailbox_Clarify_allocation_id_error
*
* This function is invoked when an object allocation ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Mailbox_Clarify_allocation_id_error( _id ) \
_ITRON_Objects_Clarify_allocation_id_error( \
&_ITRON_Mailbox_Information, (_id) )
 
/*
* _ITRON_Mailbox_Clarify_get_id_error
*
* This function is invoked when an object get ID error
* occurs to determine the specific ITRON error code to return.
*/
 
#define _ITRON_Mailbox_Clarify_get_id_error( _id ) \
_ITRON_Objects_Clarify_get_id_error( &_ITRON_Mailbox_Information, (_id) )
 
/*
* _ITRON_Mailbox_Free
*
* DESCRIPTION:
*
* This routine frees a mailbox control block to the
* inactive chain of free mailbox control blocks.
*
* Input parameters:
* the_mailbox - pointer to mailbox control block
*
* Output parameters: NONE
*/
 
RTEMS_INLINE_ROUTINE void _ITRON_Mailbox_Free (
ITRON_Mailbox_Control *the_mailbox
)
{
_ITRON_Objects_Free( &_ITRON_Mailbox_Information, &the_mailbox->Object );
}
 
/*PAGE
*
* _ITRON_Mailbox_Get
*
* DESCRIPTION:
*
* This function maps mailbox IDs to mailbox control blocks.
* If ID corresponds to a local mailbox, then it returns
* the_mailbox control pointer which maps to ID and location
* is set to OBJECTS_LOCAL. if the mailbox ID is global and
* resides on a remote node, then location is set to OBJECTS_REMOTE,
* and the_mailbox is undefined. Otherwise, location is set
* to OBJECTS_ERROR and the_mailbox is undefined.
*
* Input parameters:
* id - ITRON mailbox ID.
* the_location - pointer to a location variable
*
* Output parameters:
* *the_location - location of the object
*/
 
RTEMS_INLINE_ROUTINE ITRON_Mailbox_Control *_ITRON_Mailbox_Get (
ID id,
Objects_Locations *location
)
{
return (ITRON_Mailbox_Control *)
_ITRON_Objects_Get( &_ITRON_Mailbox_Information, id, location );
}
 
/*PAGE
*
* _ITRON_Mailbox_Is_null
*
* This function returns TRUE if the_mailbox is NULL and FALSE otherwise.
*
* Input parameters:
* the_mailbox - pointer to mailbox control block
*
* Output parameters:
* TRUE - if the_mailbox is NULL
* FALSE - otherwise
*/
 
RTEMS_INLINE_ROUTINE boolean _ITRON_Mailbox_Is_null (
ITRON_Mailbox_Control *the_mailbox
)
{
return ( the_mailbox == NULL );
}
 
/*
* XXX insert inline routines here
*/
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/network.inl
0,0 → 1,30
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* network.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_NETWORK_inl_
#define __ITRON_NETWORK_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* XXX insert inline routines here
*/
 
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
/rtems/itron/intr.inl
0,0 → 1,30
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.OARcorp.com/rtems/license.html.
*
* intr.inl,v 1.2 1999/11/17 16:47:18 jennifer Exp
*/
 
#ifndef __ITRON_INTERRUPT_inl_
#define __ITRON_INTERRUPT_inl_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*
* XXX insert inline routines here
*/
 
 
#ifdef __cplusplus
}
#endif
 
#endif
/* end of include file */
 
rtems/itron Property changes : Added: svn:ignore ## -0,0 +1,2 ## +Makefile +Makefile.in Index: rtems =================================================================== --- rtems (nonexistent) +++ rtems (revision 1765)
rtems Property changes : Added: svn:ignore ## -0,0 +1,2 ## +Makefile +Makefile.in Index: Makefile.in =================================================================== --- Makefile.in (nonexistent) +++ Makefile.in (revision 1765) @@ -0,0 +1,338 @@ +# Makefile.in generated by automake 1.6.2 from Makefile.am. +# @configure_input@ + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_HEADER = $(INSTALL_DATA) +transform = @program_transform_name@ +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ + +EXEEXT = @EXEEXT@ +OBJEXT = @OBJEXT@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +AMTAR = @AMTAR@ +AWK = @AWK@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CPP = @CPP@ +DEPDIR = @DEPDIR@ +ENDIF = @ENDIF@ +GCCSED = @GCCSED@ +GCC_SPECS = @GCC_SPECS@ +HAS_ITRON_API = @HAS_ITRON_API@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +MAINT = @MAINT@ +MAKE = @MAKE@ +MULTIBUILDTOP = @MULTIBUILDTOP@ +MULTISUBDIR = @MULTISUBDIR@ +PACKAGE = @PACKAGE@ +PROJECT_INCLUDE = @PROJECT_INCLUDE@ +PROJECT_ROOT = @PROJECT_ROOT@ +PROJECT_TOPdir = @PROJECT_TOPdir@ +RANLIB = @RANLIB@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ +am__include = @am__include@ +am__quote = @am__quote@ +install_sh = @install_sh@ +multilib_basedir = @multilib_basedir@ +project_libdir = @project_libdir@ + +include_rtems_itrondir = $(includedir)/rtems/itron + +@INLINE_TRUE@include_rtems_itron_HEADERS = rtems/itron/eventflags.inl \ +@INLINE_TRUE@ rtems/itron/fmempool.inl rtems/itron/intr.inl rtems/itron/mbox.inl \ +@INLINE_TRUE@ rtems/itron/msgbuffer.inl rtems/itron/network.inl rtems/itron/port.inl \ +@INLINE_TRUE@ rtems/itron/semaphore.inl rtems/itron/sysmgmt.inl rtems/itron/task.inl \ +@INLINE_TRUE@ rtems/itron/time.inl rtems/itron/vmempool.inl + + +@INLINE_TRUE@PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/itron \ +@INLINE_TRUE@ $(include_rtems_itron_HEADERS:%=$(PROJECT_INCLUDE)/%) + + +PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools +subdir = inline +mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs +CONFIG_HEADER = $(top_builddir)/src/config.h +CONFIG_CLEAN_FILES = +DIST_SOURCES = +HEADERS = $(include_rtems_itron_HEADERS) + +DIST_COMMON = $(include_rtems_itron_HEADERS) Makefile.am Makefile.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign inline/Makefile +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) +uninstall-info-am: +include_rtems_itronHEADERS_INSTALL = $(INSTALL_HEADER) +install-include_rtems_itronHEADERS: $(include_rtems_itron_HEADERS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(include_rtems_itrondir) + @list='$(include_rtems_itron_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(include_rtems_itronHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtems_itrondir)/$$f"; \ + $(include_rtems_itronHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtems_itrondir)/$$f; \ + done + +uninstall-include_rtems_itronHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_rtems_itron_HEADERS)'; for p in $$list; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " rm -f $(DESTDIR)$(include_rtems_itrondir)/$$f"; \ + rm -f $(DESTDIR)$(include_rtems_itrondir)/$$f; \ + done + +ETAGS = etags +ETAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +top_distdir = .. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + $(mkinstalldirs) $(distdir)/rtems/itron + @list='$(DISTFILES)'; for file in $$list; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(HEADERS) all-local + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(include_rtems_itrondir) + +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-local mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-generic distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: install-include_rtems_itronHEADERS + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +uninstall-am: uninstall-include_rtems_itronHEADERS uninstall-info-am + +.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \ + clean-local distclean distclean-generic distclean-local \ + distclean-tags distdir dvi dvi-am info info-am install \ + install-am install-data install-data-am install-exec \ + install-exec-am install-include_rtems_itronHEADERS install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic tags \ + uninstall uninstall-am uninstall-include_rtems_itronHEADERS \ + uninstall-info-am + + +$(PROJECT_INCLUDE)/rtems/itron: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/%: % + $(INSTALL_DATA) $< $@ + +all-local: $(PREINSTALL_FILES) + +debug: + @echo + @echo "\"make debug\" is obsolete, instead use:" + @echo " make VARIANT=DEBUG" + @echo + +.PHONY: debug + +profile: + @echo + @echo "\"make profile\" is obsolete, instead use:" + @echo " make VARIANT=PROFILE" + @echo + +.PHONY: profile + +preinstall-am: $(PREINSTALL_FILES) +preinstall: preinstall-am +.PHONY: preinstall preinstall-am + +depend-am: +depend: depend-am +.PHONY: depend depend-am + +${ARCH}: + mkdir ${ARCH} + +clean-local: + $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS) + $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp + +distclean-local: + $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Index: Makefile.am =================================================================== --- Makefile.am (nonexistent) +++ Makefile.am (revision 1765) @@ -0,0 +1,26 @@ +## +## Makefile.am,v 1.4 2002/06/17 09:03:57 ralf Exp +## + + +include_rtems_itrondir = $(includedir)/rtems/itron + +$(PROJECT_INCLUDE)/rtems/itron: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/%: % + $(INSTALL_DATA) $< $@ + +if INLINE +include_rtems_itron_HEADERS = rtems/itron/eventflags.inl \ + rtems/itron/fmempool.inl rtems/itron/intr.inl rtems/itron/mbox.inl \ + rtems/itron/msgbuffer.inl rtems/itron/network.inl rtems/itron/port.inl \ + rtems/itron/semaphore.inl rtems/itron/sysmgmt.inl rtems/itron/task.inl \ + rtems/itron/time.inl rtems/itron/vmempool.inl + +PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/itron \ + $(include_rtems_itron_HEADERS:%=$(PROJECT_INCLUDE)/%) +endif + +all-local: $(PREINSTALL_FILES) + +include $(top_srcdir)/../automake/local.am Index: . =================================================================== --- . (nonexistent) +++ . (revision 1765)
. Property changes : Added: svn:ignore ## -0,0 +1,2 ## +Makefile +Makefile.in

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.