diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-27 08:57:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-29 10:04:37 +0200 |
commit | 8f035cb85aff739de9bd33c4ad20d2e26bc3fee5 (patch) | |
tree | b1f4197ad35a2d203b066bfd2db0fa896b225015 /cpukit/score/cpu/riscv/include/rtems/score/cpu.h | |
parent | riscv: Remove mstatus from thread context (diff) | |
download | rtems-8f035cb85aff739de9bd33c4ad20d2e26bc3fee5.tar.bz2 |
riscv: Implement _CPU_Context_volatile_clobber()
Update #3433.
Diffstat (limited to 'cpukit/score/cpu/riscv/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/riscv/include/rtems/score/cpu.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h index 8821c0e4ec..1329b3e724 100644 --- a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/riscv/include/rtems/score/cpu.h @@ -415,10 +415,7 @@ static inline uint32_t CPU_swap_u32( #define CPU_swap_u16( value ) \ (((value&0xff) << 8) | ((value >> 8)&0xff)) -static inline void _CPU_Context_volatile_clobber( uintptr_t pattern ) -{ - /* TODO */ -} +void _CPU_Context_volatile_clobber( uintptr_t pattern ); static inline void _CPU_Context_validate( uintptr_t pattern ) { |