Changeset b706b4a in rtems for cpukit/score/cpu/riscv/include/rtems
- Timestamp:
- Jun 27, 2018, 6:54:13 AM (3 years ago)
- Branches:
- 5, master
- Children:
- 8f035cb
- Parents:
- 2987c4f
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/27/18 06:54:13)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/29/18 08:04:37)
- Location:
- cpukit/score/cpu/riscv/include/rtems/score
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/riscv/include/rtems/score/cpu.h
r2987c4f rb706b4a 48 48 #define CPU_INLINE_ENABLE_DISPATCH FALSE 49 49 #define CPU_UNROLL_ENQUEUE_PRIORITY TRUE 50 #define CPU_ISR_PASSES_FRAME_POINTER 1 50 51 #define CPU_ISR_PASSES_FRAME_POINTER FALSE 52 51 53 #define CPU_HARDWARE_FP FALSE 52 54 #define CPU_SOFTWARE_FP FALSE … … 73 75 unsigned long x[32]; 74 76 75 /* Special purpose registers */76 unsigned long mstatus;77 unsigned long mcause;78 unsigned long mepc;79 77 uint32_t isr_dispatch_disable; 80 78 #ifdef RTEMS_SMP … … 90 88 double some_float_register; 91 89 } Context_Control_fp; 92 93 typedef Context_Control CPU_Interrupt_frame;94 90 95 91 #define CPU_CONTEXT_FP_SIZE 0 -
cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h
r2987c4f rb706b4a 39 39 #if __riscv_xlen == 32 40 40 41 #define RISCV_CONTEXT_ISR_DISPATCH_DISABLE 1 4041 #define RISCV_CONTEXT_ISR_DISPATCH_DISABLE 128 42 42 43 #define CPU_INTERRUPT_FRAME_SIZE 14 443 #define CPU_INTERRUPT_FRAME_SIZE 140 44 44 45 45 #elif __riscv_xlen == 64 46 46 47 #define RISCV_CONTEXT_ISR_DISPATCH_DISABLE 2 8047 #define RISCV_CONTEXT_ISR_DISPATCH_DISABLE 256 48 48 49 #define CPU_INTERRUPT_FRAME_SIZE 28 849 #define CPU_INTERRUPT_FRAME_SIZE 280 50 50 51 51 #endif /* __riscv_xlen */ … … 56 56 extern "C" { 57 57 #endif 58 59 typedef struct { 60 unsigned long x[32]; 61 unsigned long mstatus; 62 unsigned long mcause; 63 unsigned long mepc; 64 } CPU_Interrupt_frame; 58 65 59 66 #ifdef RTEMS_SMP
Note: See TracChangeset
for help on using the changeset viewer.