RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
cpukit
score
cpu
lm32
include
rtems
score
cpuimpl.h
Go to the documentation of this file.
1
6
7
/*
8
* Copyright (c) 2013 embedded brains GmbH & Co. KG
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
28
29
#define CPU_PER_CPU_CONTROL_SIZE 0
30
31
#define CPU_THREAD_LOCAL_STORAGE_VARIANT 10
32
33
#ifndef ASM
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
static
inline
void
_CPU_Context_volatile_clobber( uintptr_t pattern )
40
{
41
(void) pattern;
42
43
/* TODO */
44
}
45
46
static
inline
void
_CPU_Context_validate( uintptr_t pattern )
47
{
48
(void) pattern;
49
50
while
(1) {
51
/* TODO */
52
}
53
}
54
55
static
inline
void
_CPU_Instruction_illegal(
void
)
56
{
57
__asm__
volatile
(
".word 0"
);
58
}
59
60
static
inline
void
_CPU_Instruction_no_operation(
void
)
61
{
62
__asm__
volatile
(
"nop"
);
63
}
64
65
static
inline
void
_CPU_Use_thread_local_storage(
66
const
Context_Control
*
context
67
)
68
{
69
(void)
context
;
70
}
71
72
static
inline
void
*_CPU_Get_TLS_thread_pointer(
73
const
Context_Control
*
context
74
)
75
{
76
(void)
context
;
77
return
NULL;
78
}
79
80
#ifdef __cplusplus
81
}
82
#endif
83
84
#endif
/* ASM */
85
86
#endif
/* _RTEMS_SCORE_CPUIMPL_H */
87
Context_Control
Thread register context.
Definition
cpu.h:173
context
unsigned context
Definition
tlb.h:1
Generated by
1.18.0