mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
d2ef1fdb62567ab8ba42fdb39d51c92d2e864dca
Move Local APIC initialization, IPI, and utility functions out of smp-imps.c into a file bsps/i386/shared/irq/apic.c for lapic driver. This decouples the LAPIC driver from the MPS table parsing code. - Add apic.c with lapic_initialize(), lapic_enable(), lapic_send_ipi(), lapic_clear_errors(), lapic_reset_and_start_ap(), and lapic_reset_ap() - Extend apic.h with LAPIC register offset macros, inline helpers lapic_get_id() and lapic_send_eoi(), and function declarations - Add accessor functions lapic_get_cpu_index(), lapic_get_lapic_id(), lapic_set_cpu_index(), and lapic_set_lapic_id() to encapsulate the CPU/APIC ID mapping tables - Replace IMPS_LAPIC_READ/WRITE macros with direct register access through the i386_lapic_base pointer - Remove send_ipi(), imps_lapic_addr, and related globals from smp-imps.c and smp-imps.h - Update bspsmp.c and asm.h to use the new LAPIC API While this refactoring centralizes the Local APIC implementation behind a common interface for C code, some assembly paths continue to access LAPIC state directly (e.g. CPU identification through i386_lapic_base and i386_lapic_to_cpu_map). These accesses are retained to preserve the existing assembly interface and can be revisited in a follow-up change if the assembly is refactored to use a different mechanism. Closes #5518
…
…
…
…
Real-Time Executive for Multiprocessing Systems
RTEMS is a real-time executive (kernel) which provides a high performance environment for embedded applications with the following features:
- Standards based user interfaces.
- Multitasking capabilities.
- Homogeneous and heterogeneous multiprocessor systems.
- Symmetric Multiprocessing (SMP):
- Cluster scheduling: Job-level fixed prority scheduler (EDF) with support for one-to-one and one-to-all thread to processor affinities.
- Locking protocols with transitive priority inheritance, priority ceiling, MRsP and OMIP.
- Event-driven, priority-based, preemptive scheduling.
- Scalable timer and timeout support.
- Optional rate monotonic scheduling.
- Intertask communication and synchronisation.
- Priority inheritance.
- Responsive interrupt management.
- Dynamic memory allocation.
- Dynamic code loading using run-time link editing.
- File systems, IMFS, FAT, RFS, JFFS, NSFv4 (with LibBSD)
- High level of user configurability.
- Link-time configurable schedulers.
- Linker-set based initialization (similar to global C++ constructors).
- Drivers for I2C, SPI and LibBSD has NIC, USB, SD/MMC and Framebuffer.
- Open source with a friendly user license.
RTEMS Project:
Project git repositories are located at:
Online documentation is available at:
RTEMS Doxygen for CPUKit:
RTEMS POSIX 1003.1 Compliance Guide:
RTEMS Discourse User forum for questions, answers and examples:
RTEMS Discord for support:
RTEMS Mailing Lists for general purpose use the users list and for developers use the devel list.
The version number for this software in releases is located in the VERSION file if present.
Description
RTEMS is a real-time executive in use by embedded systems applications around the world and beyond
141 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
93.9%
Assembly
3.4%
Ada
1.4%
Python
0.3%
HTML
0.3%
Other
0.4%