diff options
author | Mathew Kallada <matkallada@gmail.com> | 2012-12-02 15:23:57 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-12-02 15:23:57 -0600 |
commit | 43e05991513c9d3d494b88920c0fbf3ef5b547bb (patch) | |
tree | 661a18ab99e775a084b2ba71485fda3b798403c0 /cpukit/score/cpu/nios2/rtems/score | |
parent | score misc: Clean up Doxygen #12 (GCI 2012) (diff) | |
download | rtems-43e05991513c9d3d494b88920c0fbf3ef5b547bb.tar.bz2 |
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
Diffstat (limited to 'cpukit/score/cpu/nios2/rtems/score')
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 14 | ||||
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/nios2-utility.h | 12 |
2 files changed, 25 insertions, 1 deletions
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index 68ab01df34..7beb4ec06f 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -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, diff --git a/cpukit/score/cpu/nios2/rtems/score/nios2-utility.h b/cpukit/score/cpu/nios2/rtems/score/nios2-utility.h index 022990d919..b99dd02cd2 100644 --- a/cpukit/score/cpu/nios2/rtems/score/nios2-utility.h +++ b/cpukit/score/cpu/nios2/rtems/score/nios2-utility.h @@ -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 ); |