RTEMS: cpukit/score/cpu/i386/cpu.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
cpu.c File Reference

Intel i386 Dependent Source. More...

`#include <inttypes.h>`
`#include <rtems.h>`
`#include <rtems/score/isr.h>`
`#include <rtems/score/idtr.h>`
`#include <rtems/score/tls.h>`
`#include <rtems/bspIo.h>`
`#include <rtems/score/percpu.h>`
`#include <rtems/score/thread.h>`

## Data Structures
struct | Frame_

## Macros
#define | I386_ASSERT_OFFSET(field, off)

## Functions
| I386_ASSERT_OFFSET (eflags, EFLAGS)
| I386_ASSERT_OFFSET (esp, ESP)
| I386_ASSERT_OFFSET (ebp, EBP)
| I386_ASSERT_OFFSET (ebx, EBX)
| I386_ASSERT_OFFSET (esi, ESI)
| I386_ASSERT_OFFSET (edi, EDI)
| RTEMS_STATIC_ASSERT (offsetof(Context_Control, gs)==I386_CONTEXT_CONTROL_GS_0_OFFSET, Context_Control_gs_0)
void | _CPU_Initialize (void)
| CPU initialization.
void | _CPU_Context_Initialize (Context_Control *the_context, void *_stack_base, size_t _size, uint32_t _isr, void(*_entry_point)(void), bool is_fp, void *tls_area)
| Initializes the CPU context.
uint32_t | _CPU_ISR_Get_level (void)
| Returns the interrupt level of the executing thread.
void | _CPU_Exception_frame_print (const CPU_Exception_frame *ctx)
| Prints the exception frame via printk().
void | rtems_exception_prologue_0 (void)
void | rtems_exception_prologue_1 (void)
void | rtems_exception_prologue_2 (void)
void | rtems_exception_prologue_3 (void)
void | rtems_exception_prologue_4 (void)
void | rtems_exception_prologue_5 (void)
void | rtems_exception_prologue_6 (void)
void | rtems_exception_prologue_7 (void)
void | rtems_exception_prologue_8 (void)
void | rtems_exception_prologue_9 (void)
void | rtems_exception_prologue_10 (void)
void | rtems_exception_prologue_11 (void)
void | rtems_exception_prologue_12 (void)
void | rtems_exception_prologue_13 (void)
void | rtems_exception_prologue_14 (void)
void | rtems_exception_prologue_16 (void)
void | rtems_exception_prologue_17 (void)
void | rtems_exception_prologue_18 (void)
void | rtems_exception_init_mngt (void)

## Variables
cpuExcHandlerType | _currentExcHandler = _defaultExcHandler

## Detailed Description

Intel i386 Dependent Source.

## Macro Definition Documentation

## ◆ I386_ASSERT_OFFSET

#define I386_ASSERT_OFFSET | ( |  | field,
|  |  | off
| ) |  |

Value:
RTEMS_STATIC_ASSERT( \
offsetof(Context_Control, field) \
== I386_CONTEXT_CONTROL_ ## off ## _OFFSET, \
Context_Control_ ## field \
)
Context_Control
Thread register context.
Definition: cpu.h:194