RTEMS  5.0.0
cpuimpl.h
Go to the documentation of this file.
1 
7 /*
8  * Copyright (c) 2013 embedded brains GmbH
9  *
10  * The license and distribution terms for this file may be
11  * found in the file LICENSE in this distribution or at
12  * http://www.rtems.org/license/LICENSE.
13  */
14 
15 #ifndef _RTEMS_SCORE_CPUIMPL_H
16 #define _RTEMS_SCORE_CPUIMPL_H
17 
18 #include <rtems/score/cpu.h>
19 
30 #define CPU_PER_CPU_CONTROL_SIZE 0
31 
32 #ifndef ASM
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 void _CPU_Context_volatile_clobber( uintptr_t pattern );
39 
40 void _CPU_Context_validate( uintptr_t pattern );
41 
43 {
44  __asm__ volatile ( ".word 0" );
45 }
46 
48 {
49  __asm__ volatile ( "l.nop" );
50 }
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif /* ASM */
57 
60 #endif /* _RTEMS_SCORE_CPUIMPL_H */
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation(void)
Emits a no operation instruction (nop).
Definition: cpuimpl.h:132
register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__("g6")
The pointer to the current per-CPU control is available via register g6.
RTEMS_INLINE_ROUTINE void _CPU_Instruction_illegal(void)
Emits an illegal instruction.
Definition: cpuimpl.h:122