mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 06:35:36 +08:00
score misc: Clean up Doxygen #13 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/8013205
This commit is contained in:
committed by
Joel Sherrill
parent
52adc80842
commit
43e0599151
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief ARM7M CPU Context Switch
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Sebastian Huber. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief ARMV7M Set Exception Priority and Handler
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012 Sebastian Huber. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief ARM7M CPU Initialize
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Sebastian Huber. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief ARMV7M ISR Dispatch
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Sebastian Huber. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief ARMV7M Start and Stop Multitasking
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Sebastian Huber. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -457,6 +457,10 @@ void _ARMV7M_Set_exception_handler(
|
||||
ARMV7M_Exception_handler handler
|
||||
);
|
||||
|
||||
/**
|
||||
* @brief ARMV7M Set Exception Priority and Handler
|
||||
*
|
||||
*/
|
||||
void _ARMV7M_Set_exception_priority_and_handler(
|
||||
int index,
|
||||
int priority,
|
||||
|
||||
@@ -398,6 +398,10 @@ void _CPU_Context_Initialize(
|
||||
while (1); \
|
||||
} while (0);
|
||||
|
||||
/**
|
||||
* @brief CPU Initialize
|
||||
*
|
||||
*/
|
||||
void _CPU_Initialize( void );
|
||||
|
||||
void _CPU_ISR_install_vector(
|
||||
@@ -406,6 +410,10 @@ void _CPU_ISR_install_vector(
|
||||
proc_ptr *old_handler
|
||||
);
|
||||
|
||||
/**
|
||||
* @brief CPU Context Switch
|
||||
*
|
||||
*/
|
||||
void _CPU_Context_switch( Context_Control *run, Context_Control *heir );
|
||||
|
||||
void _CPU_Context_restore( Context_Control *new_context )
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
/* Blackfin CPU Dependent Source
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief Blackfin CPU Dependent Source
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 2006 by Atos Automacao Industrial Ltda.
|
||||
* written by Alain Schaefer <alain.schaefer@easc.ch>
|
||||
* and Antonio Giovanini <antonio@atos.com.br>
|
||||
|
||||
@@ -1065,6 +1065,7 @@ void _CPU_Context_Initialize(
|
||||
/* functions */
|
||||
|
||||
/**
|
||||
* @brief CPU Initialize
|
||||
* This routine performs CPU dependent initialization.
|
||||
*
|
||||
* Port Specific Information:
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief M32R CPU Context Initialize
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
/*
|
||||
* M32R CPU Dependent Source
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief M32R CPU Support
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
/* cpu_asm.c ===> cpu_asm.S or cpu_asm.s
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* NOTE: This is supposed to be a .S or .s file NOT a C file.
|
||||
* @brief M32R ISR Handler
|
||||
*
|
||||
* cpu_asm.c ===> cpu_asm.S or cpu_asm.s
|
||||
*
|
||||
* @note This is supposed to be a .S or .s file NOT a C file.
|
||||
*
|
||||
* M32R does not yet have interrupt support. When this functionality
|
||||
* is written, this file should become obsolete.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
|
||||
@@ -795,6 +795,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
||||
/* Context handler macros */
|
||||
|
||||
/**
|
||||
* @brief CPU Context Initialize
|
||||
* @ingroup CPUContext
|
||||
* Initialize the context to a state suitable for starting a
|
||||
* task after a context restore operation. Generally, this
|
||||
@@ -1062,6 +1063,7 @@ void _CPU_Context_Restart_self(
|
||||
/* functions */
|
||||
|
||||
/**
|
||||
* @brief CPU Initialize
|
||||
* This routine performs CPU dependent initialization.
|
||||
*
|
||||
* Port Specific Information:
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 Exception and Interrupt Handler
|
||||
*
|
||||
* @note Derived from c4x/irq.c
|
||||
*/
|
||||
|
||||
/*
|
||||
* NIOS2 exception and interrupt handler
|
||||
*
|
||||
* Derived from c4x/irq.c
|
||||
*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
@@ -78,7 +82,7 @@ RTEMS_INLINE_ROUTINE void __IIC_Handler(void)
|
||||
|
||||
active = _Nios2_Get_ctlreg_ipending();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __ISR_Handler(void)
|
||||
@@ -100,7 +104,7 @@ void __ISR_Handler(void)
|
||||
_Thread_Dispatch_increment_disable_level();
|
||||
|
||||
__IIC_Handler();
|
||||
|
||||
|
||||
/* Make sure that interrupts are disabled again */
|
||||
_CPU_ISR_Disable( level );
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 CPU Initialize
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Kolja Waschk (rtemsdev/ixo.de)
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 CPU ISR Install Raw Handler
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Kolja Waschk (rtemsdev/ixo.de)
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 CPU ISR Install Vector
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Kolja Waschk (rtemsdev/ixo.de)
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 ISR Set Level
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 embedded brains GmbH
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 MPU Descriptor
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 embedded brains GmbH. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS2 MPU Disable Protected
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 embedded brains GmbH. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief NIOS II Specific Thread Dispatch Disabled Indicator.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 embedded brains GmbH. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -290,7 +290,7 @@ uint32_t _CPU_ISR_Get_level( void );
|
||||
|
||||
/**
|
||||
* @brief Initializes the CPU context.
|
||||
*
|
||||
*
|
||||
* The following steps are performed:
|
||||
* - setting a starting address
|
||||
* - preparing the stack
|
||||
@@ -318,14 +318,26 @@ void _CPU_Context_Initialize(
|
||||
|
||||
void _CPU_Fatal_halt( uint32_t _error ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @brief CPU Initialize
|
||||
*
|
||||
*/
|
||||
void _CPU_Initialize( void );
|
||||
|
||||
/**
|
||||
* @brief CPU ISR Install Raw Handler
|
||||
*
|
||||
*/
|
||||
void _CPU_ISR_install_raw_handler(
|
||||
uint32_t vector,
|
||||
proc_ptr new_handler,
|
||||
proc_ptr *old_handler
|
||||
);
|
||||
|
||||
/**
|
||||
* @brief CPU ISR Install Vector.
|
||||
*
|
||||
*/
|
||||
void _CPU_ISR_install_vector(
|
||||
uint32_t vector,
|
||||
proc_ptr new_handler,
|
||||
|
||||
@@ -307,6 +307,10 @@ static inline bool _Nios2_Has_internal_interrupt_controller( void )
|
||||
return _Nios2_ISR_Get_status_mask() == NIOS2_ISR_STATUS_MASK_IIC;
|
||||
}
|
||||
|
||||
/*
|
||||
* @brief Nios2 ISR Set level
|
||||
*
|
||||
*/
|
||||
uint32_t _Nios2_ISR_Set_level( uint32_t new_level, uint32_t status );
|
||||
|
||||
typedef struct {
|
||||
@@ -399,6 +403,10 @@ bool _Nios2_MPU_Setup_region_registers(
|
||||
uint32_t *mpuacc
|
||||
);
|
||||
|
||||
/**
|
||||
* @brief Nios2 MPU Get region descriptor.
|
||||
*
|
||||
*/
|
||||
bool _Nios2_MPU_Get_region_descriptor(
|
||||
const Nios2_MPU_Configuration *config,
|
||||
int index,
|
||||
@@ -488,6 +496,10 @@ static inline void _Nios2_MPU_Restore( uint32_t config )
|
||||
_Nios2_Set_ctlreg_config( config );
|
||||
}
|
||||
|
||||
/*
|
||||
* @brief Nios2 MPU Disable Protected
|
||||
*
|
||||
*/
|
||||
uint32_t _Nios2_MPU_Disable_protected( void );
|
||||
|
||||
void _Nios2_MPU_Reset( const Nios2_MPU_Configuration *config );
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief SuperH CPU Context
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
|
||||
* Bernd Becker (becker@faw.uni-ulm.de)
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
/*
|
||||
* This file contains information pertaining to the Hitachi SH
|
||||
* processor.
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief SuperH CPU Support
|
||||
*
|
||||
* This file contains information pertaining to the Hitachi SH
|
||||
* processor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
|
||||
* Bernd Becker (becker@faw.uni-ulm.de)
|
||||
*
|
||||
|
||||
@@ -789,11 +789,12 @@ extern uint8_t _bit_set_table[];
|
||||
/* functions */
|
||||
|
||||
/*
|
||||
* @brief CPU Initialize
|
||||
*
|
||||
* _CPU_Initialize
|
||||
*
|
||||
* This routine performs CPU dependent initialization.
|
||||
*/
|
||||
|
||||
void _CPU_Initialize(void);
|
||||
|
||||
/*
|
||||
@@ -866,21 +867,21 @@ void _CPU_Context_restore(
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/*
|
||||
* @brief This routine saves the floating point context passed to it.
|
||||
*
|
||||
* _CPU_Context_save_fp
|
||||
*
|
||||
* This routine saves the floating point context passed to it.
|
||||
*/
|
||||
|
||||
void _CPU_Context_save_fp(
|
||||
Context_Control_fp **fp_context_ptr
|
||||
);
|
||||
|
||||
/*
|
||||
* @brief This routine restores the floating point context passed to it.
|
||||
*
|
||||
* _CPU_Context_restore_fp
|
||||
*
|
||||
* This routine restores the floating point context passed to it.
|
||||
*/
|
||||
|
||||
void _CPU_Context_restore_fp(
|
||||
Context_Control_fp **fp_context_ptr
|
||||
);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @file
|
||||
* @file
|
||||
*
|
||||
* v850 CPU Dependent Source
|
||||
* @brief v850 CPU Initialize
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@@ -1041,11 +1041,14 @@ void _CPU_Context_Initialize(
|
||||
/* functions */
|
||||
|
||||
/**
|
||||
* @brief CPU Initialize
|
||||
* This routine performs CPU dependent initialization.
|
||||
*
|
||||
* Port Specific Information:
|
||||
*
|
||||
* This is implemented in C.
|
||||
*
|
||||
* v850 CPU Dependent Source
|
||||
*/
|
||||
void _CPU_Initialize(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user