[rtems commit] riscv: Fix _CPU_Context_Initialize() prototype

Sebastian Huber sebh at rtems.org
Fri Jun 29 10:00:29 UTC 2018


Module:    rtems
Branch:    master
Commit:    a8188730bfa2ebd71c3b239f8e9c90fb21aaa3fc
Changeset: http://git.rtems.org/rtems/commit/?id=a8188730bfa2ebd71c3b239f8e9c90fb21aaa3fc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jun 27 09:43:39 2018 +0200

riscv: Fix _CPU_Context_Initialize() prototype

Update #3433.

---

 cpukit/score/cpu/riscv/include/rtems/score/cpu.h  | 12 ++++++------
 cpukit/score/cpu/riscv/riscv-context-initialize.c | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
index 1a5dcbe..61d3ffa 100644
--- a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h
@@ -183,12 +183,12 @@ uint32_t _CPU_ISR_Get_level( void );
 
 void _CPU_Context_Initialize(
   Context_Control *context,
-  void *stack_area_begin,
-  size_t stack_area_size,
-  unsigned long new_level,
-  void (*entry_point)( void ),
-  bool is_fp,
-  void *tls_area
+  void            *stack_area_begin,
+  size_t           stack_area_size,
+  uint32_t         new_level,
+  void          ( *entry_point )( void ),
+  bool             is_fp,
+  void            *tls_area
 );
 
 #define _CPU_Context_Restart_self( _the_context ) \
diff --git a/cpukit/score/cpu/riscv/riscv-context-initialize.c b/cpukit/score/cpu/riscv/riscv-context-initialize.c
index 0dce495..9180c92 100644
--- a/cpukit/score/cpu/riscv/riscv-context-initialize.c
+++ b/cpukit/score/cpu/riscv/riscv-context-initialize.c
@@ -38,12 +38,12 @@
 
 void _CPU_Context_Initialize(
   Context_Control *context,
-  void *stack_area_begin,
-  size_t stack_area_size,
-  unsigned long new_level,
-  void (*entry_point)( void ),
-  bool is_fp,
-  void *tls_area
+  void            *stack_area_begin,
+  size_t           stack_area_size,
+  uint32_t         new_level,
+  void          ( *entry_point )( void ),
+  bool             is_fp,
+  void            *tls_area
 )
 {
   void *stack;




More information about the vc mailing list