Eliminate use of /*PAGE and clean up formatting

This commit is contained in:
Joel Sherrill
2014-10-08 17:38:12 -05:00
parent 79f093bdd1
commit 78a38fa2ae
14 changed files with 88 additions and 235 deletions

View File

@@ -1,9 +1,4 @@
/* /*
* This file contains the generic console driver shell used
* by all console drivers using libchip.
*
* This driver uses the termios pseudo driver.
*
* COPYRIGHT (c) 1989-1997. * COPYRIGHT (c) 1989-1997.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -17,13 +12,11 @@
#include <termios.h> #include <termios.h>
#include "sci.h" #include "sci.h"
/*PAGE /*
*
* console_open * console_open
* *
* open a port as a termios console. * open a port as a termios console.
*/ */
rtems_device_driver console_open( rtems_device_driver console_open(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor, rtems_device_minor_number minor,
@@ -47,13 +40,11 @@ rtems_device_driver console_open(
return status; return status;
} }
/*PAGE /*
*
* console_close * console_close
* *
* This routine closes a port that has been opened as console. * This routine closes a port that has been opened as console.
*/ */
rtems_device_driver console_close( rtems_device_driver console_close(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor, rtems_device_minor_number minor,
@@ -63,13 +54,11 @@ rtems_device_driver console_close(
return rtems_termios_close (arg); return rtems_termios_close (arg);
} }
/*PAGE /*
*
* console_read * console_read
* *
* This routine uses the termios driver to read a character. * This routine uses the termios driver to read a character.
*/ */
rtems_device_driver console_read( rtems_device_driver console_read(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor, rtems_device_minor_number minor,
@@ -79,13 +68,11 @@ rtems_device_driver console_read(
return rtems_termios_read (arg); return rtems_termios_read (arg);
} }
/*PAGE /*
*
* console_write * console_write
* *
* this routine uses the termios driver to write a character. * this routine uses the termios driver to write a character.
*/ */
rtems_device_driver console_write( rtems_device_driver console_write(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor, rtems_device_minor_number minor,
@@ -95,8 +82,7 @@ rtems_device_driver console_write(
return rtems_termios_write (arg); return rtems_termios_write (arg);
} }
/*PAGE /*
*
* console_control * console_control
* *
* this routine uses the termios driver to process io * this routine uses the termios driver to process io
@@ -111,13 +97,11 @@ rtems_device_driver console_control(
return rtems_termios_ioctl (arg); return rtems_termios_ioctl (arg);
} }
/*PAGE /*
*
* console_initialize * console_initialize
* *
* Routine called to initialize the console device driver. * Routine called to initialize the console device driver.
*/ */
rtems_device_driver console_initialize( rtems_device_driver console_initialize(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor_arg, rtems_device_minor_number minor_arg,

View File

@@ -1,5 +1,4 @@
/* /*
*
* COPYRIGHT (c) 1989-2009. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -17,13 +16,11 @@
#include <bsp/irq.h> #include <bsp/irq.h>
#include "PCI.h" #include "PCI.h"
/*PAGE /*
*
* SCORE603e_FLASH_Disable * SCORE603e_FLASH_Disable
*/ */
unsigned int SCORE603e_FLASH_Disable( unsigned int SCORE603e_FLASH_Disable(
uint32_t area /* IN */ uint32_t area
) )
{ {
uint8_t value; uint8_t value;
@@ -83,12 +80,11 @@ unsigned int SCORE603e_FLASH_pci_reset_reg(
return RTEMS_SUCCESSFUL; return RTEMS_SUCCESSFUL;
} }
/*PAGE /*
*
* SCORE603e_FLASH_Enable_writes * SCORE603e_FLASH_Enable_writes
*/ */
unsigned int SCORE603e_FLASH_Enable_writes( unsigned int SCORE603e_FLASH_Enable_writes(
uint32_t area /* IN */ uint32_t area
) )
{ {
uint8_t ctrl_value; uint8_t ctrl_value;

View File

@@ -3,7 +3,9 @@
* z85c30 chip. * z85c30 chip.
* *
* Currently only polled mode is supported. * Currently only polled mode is supported.
* */
/*
* COPYRIGHT (c) 1989-2009. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -359,10 +361,8 @@ int inbyte_nonblocking_85c30(
#if CONSOLE_USE_INTERRUPTS #if CONSOLE_USE_INTERRUPTS
/*PAGE /*
*
* Z8530_Async_Channel_ISR * Z8530_Async_Channel_ISR
*
*/ */
/* RR0 */ /* RR0 */

View File

@@ -71,13 +71,11 @@ void _BSP_Fatal_error(unsigned int v)
__asm__ __volatile ("sc"); __asm__ __volatile ("sc");
} }
/*PAGE /*
*
* bsp_predriver_hook * bsp_predriver_hook
* *
* Before drivers are setup initialize interupt vectors. * Before drivers are setup initialize interupt vectors.
*/ */
void init_RTC(void); void init_RTC(void);
void initialize_PMC(void); void initialize_PMC(void);

View File

@@ -1,6 +1,8 @@
/* /*
* VMEbus support routines for the Generation I board. * VMEbus support routines for the Generation I board.
* */
/*
* COPYRIGHT (c) 1989-2008. * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -13,13 +15,10 @@
#include <bsp.h> #include <bsp.h>
#include <rtems/vmeintr.h> #include <rtems/vmeintr.h>
/*PAGE /*
*
* VME_interrupt_Disable * VME_interrupt_Disable
*
*/ */
void VME_interrupt_Disable(
void VME_interrupt_Disable (
VME_interrupt_Mask mask /* IN */ VME_interrupt_Mask mask /* IN */
) )
{ {
@@ -32,13 +31,10 @@ void VME_interrupt_Disable (
*VME_interrupt_enable = value; *VME_interrupt_enable = value;
} }
/*PAGE /*
*
* VME_interrupt_Enable * VME_interrupt_Enable
*
*/ */
void VME_interrupt_Enable(
void VME_interrupt_Enable (
VME_interrupt_Mask mask /* IN */ VME_interrupt_Mask mask /* IN */
) )
{ {

View File

@@ -1,6 +1,8 @@
/* /*
* Real Time Clock Driver Wrapper for Libchip * Real Time Clock Driver Wrapper for Libchip
* */
/*
* The license and distribution terms for this file may be * The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at * found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE. * http://www.rtems.org/license/LICENSE.
@@ -16,7 +18,6 @@
/* /*
* Configuration Information * Configuration Information
*/ */
extern size_t RTC_Count; extern size_t RTC_Count;
extern rtems_device_minor_number RTC_Minor; extern rtems_device_minor_number RTC_Minor;
@@ -29,7 +30,6 @@ extern void setRealTimeToRTEMS(void);
* *
* Initialize the RTC driver * Initialize the RTC driver
*/ */
rtems_device_driver rtc_initialize( rtems_device_driver rtc_initialize(
rtems_device_major_number major, rtems_device_major_number major,
rtems_device_minor_number minor_arg, rtems_device_minor_number minor_arg,
@@ -66,7 +66,6 @@ rtems_device_driver rtc_initialize(
/* /*
* Register and initialize the primary RTC's * Register and initialize the primary RTC's
*/ */
status = rtems_io_register_name( RTC_DEVICE_NAME, major, RTC_Minor ); status = rtems_io_register_name( RTC_DEVICE_NAME, major, RTC_Minor );
if (status != RTEMS_SUCCESSFUL) { if (status != RTEMS_SUCCESSFUL) {
rtems_fatal_error_occurred(status); rtems_fatal_error_occurred(status);
@@ -77,7 +76,6 @@ rtems_device_driver rtc_initialize(
/* /*
* Now initialize any secondary RTC's * Now initialize any secondary RTC's
*/ */
for ( minor++ ; minor<RTC_Count ; minor++) { for ( minor++ ; minor<RTC_Count ; minor++) {
/* /*
* First perform the configuration dependent probe, then the * First perform the configuration dependent probe, then the
@@ -96,7 +94,6 @@ rtems_device_driver rtc_initialize(
/* /*
* Initialize the hardware device. * Initialize the hardware device.
*/ */
RTC_Table[minor].pDeviceFns->deviceInitialize(minor); RTC_Table[minor].pDeviceFns->deviceInitialize(minor);
} }
@@ -201,17 +198,9 @@ rtems_device_driver rtc_control(
return RTEMS_NOT_IMPLEMENTED; return RTEMS_NOT_IMPLEMENTED;
} }
/*PAGE /*
*
* This routine copies the time from the real time clock to RTEMS * This routine copies the time from the real time clock to RTEMS
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* Return values: NONE
*/ */
void setRealTimeToRTEMS() void setRealTimeToRTEMS()
{ {
rtems_time_of_day rtc_tod; rtems_time_of_day rtc_tod;
@@ -223,19 +212,11 @@ void setRealTimeToRTEMS()
rtems_clock_set( &rtc_tod ); rtems_clock_set( &rtc_tod );
} }
/*PAGE /*
*
* setRealTimeFromRTEMS * setRealTimeFromRTEMS
* *
* This routine copies the time from RTEMS to the real time clock * This routine copies the time from RTEMS to the real time clock
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* Return values: NONE
*/ */
void setRealTimeFromRTEMS(void) void setRealTimeFromRTEMS(void)
{ {
rtems_time_of_day rtems_tod; rtems_time_of_day rtems_tod;
@@ -247,19 +228,11 @@ void setRealTimeFromRTEMS(void)
RTC_Table[RTC_Minor].pDeviceFns->deviceSetTime(RTC_Minor, &rtems_tod); RTC_Table[RTC_Minor].pDeviceFns->deviceSetTime(RTC_Minor, &rtems_tod);
} }
/*PAGE /*
*
* getRealTime * getRealTime
* *
* This routine reads the current time from the RTC. * This routine reads the current time from the RTC.
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* Return values: NONE
*/ */
void getRealTime( void getRealTime(
rtems_time_of_day *tod rtems_time_of_day *tod
) )
@@ -270,17 +243,10 @@ void getRealTime(
RTC_Table[RTC_Minor].pDeviceFns->deviceGetTime(RTC_Minor, tod); RTC_Table[RTC_Minor].pDeviceFns->deviceGetTime(RTC_Minor, tod);
} }
/*PAGE /*
*
* setRealTime * setRealTime
* *
* This routine sets the RTC. * This routine sets the RTC.
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* Return values: NONE
*/ */
int setRealTime( int setRealTime(
const rtems_time_of_day *tod const rtems_time_of_day *tod
@@ -296,19 +262,11 @@ int setRealTime(
return 0; return 0;
} }
/*PAGE /*
*
* checkRealTime * checkRealTime
* *
* This routine reads the returns the variance betweent the real time and * This routine reads the returns the variance betweent the real time and
* rtems time. * RTEMS time.
*
* Input parameters: NONE
*
* Output parameters: NONE
*
* Return values:
* int The differance between the real time clock and rtems time.
*/ */
int checkRealTime(void) int checkRealTime(void)
{ {

View File

@@ -1,6 +1,12 @@
/* /*
* Motorola MC68xxx Dependent Idle Body Source * Motorola MC68xxx Dependent Idle Body Source
* *
* This kernel routine is the idle thread. The idle thread runs any time
* no other thread is ready to run. This thread loops forever with
* interrupts enabled.
*/
/*
* COPYRIGHT (c) 1989-2002. * COPYRIGHT (c) 1989-2002.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -12,21 +18,6 @@
#include <rtems/system.h> #include <rtems/system.h>
#include <rtems/score/thread.h> #include <rtems/score/thread.h>
/*PAGE
*
* _CPU_Thread_Idle_body
*
* This kernel routine is the idle thread. The idle thread runs any time
* no other thread is ready to run. This thread loops forever with
* interrupts enabled.
*
* Input parameters:
* ignored - this parameter is ignored
*
* Output parameters: NONE
*/
void *_CPU_Thread_Idle_body( uintptr_t ignored ) void *_CPU_Thread_Idle_body( uintptr_t ignored )
{ {
#if defined(mcf5272) #if defined(mcf5272)
@@ -35,7 +26,9 @@ void *_CPU_Thread_Idle_body( uintptr_t ignored )
__asm__ volatile( "nop" ); __asm__ volatile( "nop" );
} }
#else #else
for( ; ; ) for( ; ; ) {
__asm__ volatile( "stop #0x3000":::"cc" ); /* supervisor mode, all interrupts on */ /* supervisor mode, all interrupts on */
__asm__ volatile( "stop #0x3000":::"cc" );
}
#endif #endif
} }

View File

@@ -1,6 +1,8 @@
/* /*
* PowerPC CPU Dependent Source * PowerPC CPU Dependent Source
* */
/*
* Author: Andrew Bray <andy@i-cubed.co.uk> * Author: Andrew Bray <andy@i-cubed.co.uk>
* *
* COPYRIGHT (c) 1995 by i-cubed ltd. * COPYRIGHT (c) 1995 by i-cubed ltd.
@@ -40,23 +42,17 @@
/* _CPU_Initialize /* _CPU_Initialize
* *
* This routine performs processor dependent initialization. * This routine performs processor dependent initialization.
*
* INPUT PARAMETERS: NONE
*/ */
void _CPU_Initialize(void) void _CPU_Initialize(void)
{ {
/* Do nothing */
#ifdef __ALTIVEC__ #ifdef __ALTIVEC__
_CPU_Initialize_altivec(); _CPU_Initialize_altivec();
#endif #endif
} }
/*PAGE /*
*
* _CPU_Context_Initialize * _CPU_Context_Initialize
*/ */
void _CPU_Context_Initialize( void _CPU_Context_Initialize(
Context_Control *the_context, Context_Control *the_context,
uint32_t *stack_base, uint32_t *stack_base,

View File

@@ -1,6 +1,8 @@
/* /*
* SPARC-v9 Dependent Source * SPARC-v9 Dependent Source
* */
/*
* COPYRIGHT (c) 1989-2007. * COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -45,8 +47,7 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = {
}; };
/*PAGE /*
*
* _CPU_ISR_Get_level * _CPU_ISR_Get_level
* *
* Input Parameters: NONE * Input Parameters: NONE
@@ -54,7 +55,6 @@ const CPU_Trap_table_entry _CPU_Trap_slot_template = {
* Output Parameters: * Output Parameters:
* returns the current interrupt level (PIL field of the PSR) * returns the current interrupt level (PIL field of the PSR)
*/ */
uint32_t _CPU_ISR_Get_level( void ) uint32_t _CPU_ISR_Get_level( void )
{ {
uint32_t level; uint32_t level;
@@ -64,8 +64,7 @@ uint32_t _CPU_ISR_Get_level( void )
return level; return level;
} }
/*PAGE /*
*
* _CPU_ISR_install_raw_handler * _CPU_ISR_install_raw_handler
* *
* This routine installs the specified handler as a "raw" non-executive * This routine installs the specified handler as a "raw" non-executive
@@ -203,8 +202,7 @@ void _CPU_ISR_install_raw_handler(
} }
/*PAGE /*
*
* _CPU_ISR_install_vector * _CPU_ISR_install_vector
* *
* This kernel routine installs the RTEMS handler for the * This kernel routine installs the RTEMS handler for the
@@ -217,9 +215,7 @@ void _CPU_ISR_install_raw_handler(
* *
* Output parameters: * Output parameters:
* *old_handler - former ISR for this vector number * *old_handler - former ISR for this vector number
*
*/ */
void _CPU_ISR_install_vector( void _CPU_ISR_install_vector(
uint64_t vector, uint64_t vector,
proc_ptr new_handler, proc_ptr new_handler,

View File

@@ -5,5 +5,5 @@
noinst_PROGRAMS = bmenu2 noinst_PROGRAMS = bmenu2
bmenu2_SOURCES = address.h chain.c address.inl chain.h bmenu2.c base.h \ bmenu2_SOURCES = address.h chain.c chain.h bmenu2.c base.h \
chain.inl system.h chain.inl system.h

View File

@@ -1,8 +1,9 @@
/* address.h /*
*
* This include file contains the information required to manipulate * This include file contains the information required to manipulate
* physical addresses. * physical addresses.
* */
/*
* COPYRIGHT (c) 1988-2002. * COPYRIGHT (c) 1988-2002.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* All rights reserved. * All rights reserved.
@@ -22,13 +23,13 @@
* It returns the resulting address. This address is typically * It returns the resulting address. This address is typically
* converted to an access type before being used further. * converted to an access type before being used further.
*/ */
STATIC INLINE void *_Addresses_Add_offset ( STATIC INLINE void *_Addresses_Add_offset (
void *base, void *base,
size_t offset size_t offset
); )
{
#include "address.inl" return (base + offset);
}
#endif #endif
/* end of include file */ /* end of include file */

View File

@@ -1,8 +1,9 @@
/* inline/chain.inl /*
*
* This include file contains the bodies of the routines which are * This include file contains the bodies of the routines which are
* associated with doubly linked chains and inlined. * associated with doubly linked chains and inlined.
* */
/*
* COPYRIGHT (c) 1988-2002. * COPYRIGHT (c) 1988-2002.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* All rights reserved. * All rights reserved.
@@ -11,11 +12,9 @@
#ifndef __INLINE_CHAIN_inl #ifndef __INLINE_CHAIN_inl
#define __INLINE_CHAIN_inl #define __INLINE_CHAIN_inl
/*PAGE /*
*
* _Chain_Is_null * _Chain_Is_null
*/ */
STATIC INLINE boolean _Chain_Is_null( STATIC INLINE boolean _Chain_Is_null(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -23,11 +22,9 @@ STATIC INLINE boolean _Chain_Is_null(
return ( the_chain == NULL ); return ( the_chain == NULL );
} }
/*PAGE /*
*
* _Chain_Is_null_node * _Chain_Is_null_node
*/ */
STATIC INLINE boolean _Chain_Is_null_node( STATIC INLINE boolean _Chain_Is_null_node(
Chain_Node *the_node Chain_Node *the_node
) )
@@ -35,11 +32,9 @@ STATIC INLINE boolean _Chain_Is_null_node(
return ( the_node == NULL ); return ( the_node == NULL );
} }
/*PAGE /*
*
* _Chain_Head * _Chain_Head
*/ */
STATIC INLINE Chain_Node *_Chain_Head( STATIC INLINE Chain_Node *_Chain_Head(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -47,11 +42,9 @@ STATIC INLINE Chain_Node *_Chain_Head(
return (Chain_Node *) the_chain; return (Chain_Node *) the_chain;
} }
/*PAGE /*
*
* _Chain_Tail * _Chain_Tail
*/ */
STATIC INLINE Chain_Node *_Chain_Tail( STATIC INLINE Chain_Node *_Chain_Tail(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -59,11 +52,9 @@ STATIC INLINE Chain_Node *_Chain_Tail(
return (Chain_Node *) &the_chain->permanent_null; return (Chain_Node *) &the_chain->permanent_null;
} }
/*PAGE /*
*
* _Chain_Is_empty * _Chain_Is_empty
*/ */
STATIC INLINE boolean _Chain_Is_empty( STATIC INLINE boolean _Chain_Is_empty(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -71,11 +62,9 @@ STATIC INLINE boolean _Chain_Is_empty(
return ( the_chain->first == _Chain_Tail( the_chain ) ); return ( the_chain->first == _Chain_Tail( the_chain ) );
} }
/*PAGE /*
*
* _Chain_Is_first * _Chain_Is_first
*/ */
STATIC INLINE boolean _Chain_Is_first( STATIC INLINE boolean _Chain_Is_first(
Chain_Node *the_node Chain_Node *the_node
) )
@@ -83,11 +72,9 @@ STATIC INLINE boolean _Chain_Is_first(
return ( the_node->previous == NULL ); return ( the_node->previous == NULL );
} }
/*PAGE /*
*
* _Chain_Is_last * _Chain_Is_last
*/ */
STATIC INLINE boolean _Chain_Is_last( STATIC INLINE boolean _Chain_Is_last(
Chain_Node *the_node Chain_Node *the_node
) )
@@ -95,11 +82,9 @@ STATIC INLINE boolean _Chain_Is_last(
return ( the_node->next == NULL ); return ( the_node->next == NULL );
} }
/*PAGE /*
*
* _Chain_Has_only_one_node * _Chain_Has_only_one_node
*/ */
STATIC INLINE boolean _Chain_Has_only_one_node( STATIC INLINE boolean _Chain_Has_only_one_node(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -107,11 +92,9 @@ STATIC INLINE boolean _Chain_Has_only_one_node(
return ( the_chain->first == the_chain->last ); return ( the_chain->first == the_chain->last );
} }
/*PAGE /*
*
* _Chain_Is_head * _Chain_Is_head
*/ */
STATIC INLINE boolean _Chain_Is_head( STATIC INLINE boolean _Chain_Is_head(
Chain_Control *the_chain, Chain_Control *the_chain,
Chain_Node *the_node Chain_Node *the_node
@@ -120,11 +103,9 @@ STATIC INLINE boolean _Chain_Is_head(
return ( the_node == _Chain_Head( the_chain ) ); return ( the_node == _Chain_Head( the_chain ) );
} }
/*PAGE /*
*
* _Chain_Is_tail * _Chain_Is_tail
*/ */
STATIC INLINE boolean _Chain_Is_tail( STATIC INLINE boolean _Chain_Is_tail(
Chain_Control *the_chain, Chain_Control *the_chain,
Chain_Node *the_node Chain_Node *the_node
@@ -133,11 +114,9 @@ STATIC INLINE boolean _Chain_Is_tail(
return ( the_node == _Chain_Tail( the_chain ) ); return ( the_node == _Chain_Tail( the_chain ) );
} }
/*PAGE /*
*
* Chain_Initialize_empty * Chain_Initialize_empty
*/ */
STATIC INLINE void _Chain_Initialize_empty( STATIC INLINE void _Chain_Initialize_empty(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -147,11 +126,9 @@ STATIC INLINE void _Chain_Initialize_empty(
the_chain->last = _Chain_Head( the_chain ); the_chain->last = _Chain_Head( the_chain );
} }
/*PAGE /*
*
* _Chain_Extract_unprotected * _Chain_Extract_unprotected
*/ */
STATIC INLINE void _Chain_Extract_unprotected( STATIC INLINE void _Chain_Extract_unprotected(
Chain_Node *the_node Chain_Node *the_node
) )
@@ -165,11 +142,9 @@ STATIC INLINE void _Chain_Extract_unprotected(
previous->next = next; previous->next = next;
} }
/*PAGE /*
*
* _Chain_Get_first_unprotected * _Chain_Get_first_unprotected
*/ */
STATIC INLINE Chain_Node *_Chain_Get_first_unprotected( STATIC INLINE Chain_Node *_Chain_Get_first_unprotected(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -185,11 +160,9 @@ STATIC INLINE Chain_Node *_Chain_Get_first_unprotected(
return return_node; return return_node;
} }
/*PAGE /*
*
* Chain_Get_unprotected * Chain_Get_unprotected
*/ */
STATIC INLINE Chain_Node *_Chain_Get_unprotected( STATIC INLINE Chain_Node *_Chain_Get_unprotected(
Chain_Control *the_chain Chain_Control *the_chain
) )
@@ -200,11 +173,9 @@ STATIC INLINE Chain_Node *_Chain_Get_unprotected(
return NULL; return NULL;
} }
/*PAGE /*
*
* _Chain_Insert_unprotected * _Chain_Insert_unprotected
*/ */
STATIC INLINE void _Chain_Insert_unprotected( STATIC INLINE void _Chain_Insert_unprotected(
Chain_Node *after_node, Chain_Node *after_node,
Chain_Node *the_node Chain_Node *the_node
@@ -219,11 +190,9 @@ STATIC INLINE void _Chain_Insert_unprotected(
before_node->previous = the_node; before_node->previous = the_node;
} }
/*PAGE /*
*
* _Chain_Append_unprotected * _Chain_Append_unprotected
*/ */
STATIC INLINE void _Chain_Append_unprotected( STATIC INLINE void _Chain_Append_unprotected(
Chain_Control *the_chain, Chain_Control *the_chain,
Chain_Node *the_node Chain_Node *the_node
@@ -238,11 +207,9 @@ STATIC INLINE void _Chain_Append_unprotected(
the_node->previous = old_last_node; the_node->previous = old_last_node;
} }
/*PAGE /*
*
* _Chain_Prepend_unprotected * _Chain_Prepend_unprotected
*/ */
STATIC INLINE void _Chain_Prepend_unprotected( STATIC INLINE void _Chain_Prepend_unprotected(
Chain_Control *the_chain, Chain_Control *the_chain,
Chain_Node *the_node Chain_Node *the_node
@@ -252,11 +219,9 @@ STATIC INLINE void _Chain_Prepend_unprotected(
} }
/*PAGE /*
*
* _Chain_Prepend * _Chain_Prepend
*/ */
STATIC INLINE void _Chain_Prepend( STATIC INLINE void _Chain_Prepend(
Chain_Control *the_chain, Chain_Control *the_chain,
Chain_Node *the_node Chain_Node *the_node

View File

@@ -1,12 +1,4 @@
/* Test_task /*
*
* This task suspends and resumes a remote task.
*
* Input parameters:
* argument - task argument
*
* Output parameters: NONE
*
* COPYRIGHT (c) 1989-2009. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -21,12 +13,6 @@
#include "system.h" #include "system.h"
/*PAGE
*
* Test_Task_Support
*
*/
void Test_Task_Support( void Test_Task_Support(
uint32_t node uint32_t node
) )

View File

@@ -1,14 +1,4 @@
/* Test_task /*
*
* This task tests global event operations. If running on node one, it
* continuously sends events. If running on node two, it continuously
* receives events.
*
* Input parameters:
* argument - task argument
*
* Output parameters: NONE
*
* COPYRIGHT (c) 1989-2009. * COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR). * On-Line Applications Research Corporation (OAR).
* *
@@ -25,11 +15,9 @@
#define DOT_COUNT 25 #define DOT_COUNT 25
/*PAGE /*
*
* Stop_Test_TSR * Stop_Test_TSR
*/ */
rtems_timer_service_routine Stop_Test_TSR( rtems_timer_service_routine Stop_Test_TSR(
rtems_id ignored_id, rtems_id ignored_id,
void *ignored_address void *ignored_address
@@ -38,11 +26,9 @@ rtems_timer_service_routine Stop_Test_TSR(
Stop_Test = true; Stop_Test = true;
} }
/*PAGE /*
*
* Event_set_table * Event_set_table
*/ */
rtems_event_set Event_set_table[] = { rtems_event_set Event_set_table[] = {
RTEMS_EVENT_0, RTEMS_EVENT_0,
RTEMS_EVENT_1, RTEMS_EVENT_1,
@@ -78,11 +64,9 @@ rtems_event_set Event_set_table[] = {
RTEMS_EVENT_31 RTEMS_EVENT_31
}; };
/*PAGE /*
*
* Test_task * Test_task
*/ */
rtems_task Test_task( rtems_task Test_task(
rtems_task_argument argument rtems_task_argument argument
) )