RTEMS CPU Kit with SuperCore
Data Structures | Macros | Functions | Variables
i386/cpu.c File Reference

Intel i386 Dependent Source. More...

#include <rtems.h>
#include <rtems/system.h>
#include <rtems/score/types.h>
#include <rtems/score/isr.h>
#include <rtems/score/idtr.h>
#include <rtems/bspIo.h>
#include <rtems/score/percpu.h>
#include <rtems/score/thread.h>
Include dependency graph for i386/cpu.c:

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)
 
void _CPU_Initialize (void)
 CPU initialization. More...
 
uint32_t _CPU_ISR_Get_level (void)
 Return the current interrupt disable level for this task in the format used by the interrupt level portion of the task mode. More...
 
void * _CPU_Thread_Idle_body (uintptr_t ignored)
 This routine is the CPU dependent IDLE thread body. More...
 
void _CPU_Exception_frame_print (const CPU_Exception_frame *ctx)
 Prints the exception frame via printk(). More...
 
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 \
)
This defines the minimal set of integer and processor state registers that must be saved during a vol...
Definition: score/cpu/arm/rtems/score/cpu.h:248