summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc/cpu.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-11-30 15:34:17 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-11-30 15:35:36 -0600
commite0f91da505b5c907b545016645c07a3132696236 (patch)
treea3cbe53af4f52687425266b19082eb42ce34218b /cpukit/score/cpu/sparc/cpu.c
parentsparc cpu.h: Correct spacing (diff)
downloadrtems-e0f91da505b5c907b545016645c07a3132696236.tar.bz2
score misc: Score misc: Clean up Doxygen #9 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. https://google-melange.appspot.com/gci/task/view/google/gci2012/7977211
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/sparc/cpu.c50
1 files changed, 6 insertions, 44 deletions
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c
index 78917261ea..baa15c0cbb 100644
--- a/cpukit/score/cpu/sparc/cpu.c
+++ b/cpukit/score/cpu/sparc/cpu.c
@@ -1,6 +1,10 @@
-/*
- * SPARC Dependent Source
+/**
+ * @file
*
+ * @brief SPARC CPU Dependent Source
+ */
+
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -70,15 +74,6 @@ void _CPU_Initialize(void)
_CPU_ISR_Dispatch_disable = 0;
}
-/*
- * _CPU_ISR_Get_level
- *
- * Input Parameters: NONE
- *
- * Output Parameters:
- * returns the current interrupt level (PIL field of the PSR)
- */
-
uint32_t _CPU_ISR_Get_level( void )
{
uint32_t level;
@@ -195,22 +190,6 @@ void _CPU_ISR_install_raw_handler(
}
-/*
- * _CPU_ISR_install_vector
- *
- * This kernel routine installs the RTEMS handler for the
- * specified vector.
- *
- * Input parameters:
- * vector - interrupt vector number
- * new_handler - replacement ISR for this vector number
- * old_handler - pointer to former ISR for this vector number
- *
- * Output parameters:
- * *old_handler - former ISR for this vector number
- *
- */
-
void _CPU_ISR_install_vector(
uint32_t vector,
proc_ptr new_handler,
@@ -247,23 +226,6 @@ void _CPU_ISR_install_vector(
_ISR_Vector_table[ real_vector ] = new_handler;
}
-/*
- * _CPU_Context_Initialize
- *
- * This kernel routine initializes the basic non-FP context area associated
- * with each thread.
- *
- * Input parameters:
- * the_context - pointer to the context area
- * stack_base - address of memory for the SPARC
- * size - size in bytes of the stack area
- * new_level - interrupt level for this context area
- * entry_point - the starting execution point for this this context
- * is_fp - TRUE if this context is associated with an FP thread
- *
- * Output parameters: NONE
- */
-
void _CPU_Context_Initialize(
Context_Control *the_context,
uint32_t *stack_base,