RTEMS: CPU_Per_CPU_control Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
CPU_Per_CPU_control Struct Reference
Internal » SuperCore » CPU Architecture Support » Example | Internal » SuperCore » CPU Architecture Support » RISC-V | Internal » SuperCore » CPU Architecture Support » SPARC

The CPU specific per-CPU control. More...

`#include <cpuimpl.h>`

## Data Fields
volatile RISCV_PLIC_hart_regs * | plic_hart_regs
volatile uint32_t * | plic_m_ie
volatile RISCV_CLINT_timer_reg * | clint_mtimecmp
volatile uint32_t * | clint_msip

## Detailed Description

The CPU specific per-CPU control.

The CPU port can place here all state information that must be available and maintained for each processor in the system. This structure must contain at least one field for C/C++ compatibility. In GNU C empty structures have a size of zero. In C++ structures have a non-zero size. In case CPU_PER_CPU_CONTROL_SIZE is defined to zero, then this structure is not used.

The documentation for this struct was generated from the following files:

- cpukit/score/cpu/no_cpu/include/rtems/score/cpuimpl.h
- cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h