mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-12 02:43:15 +01:00
- archContextSwitch stores address of new thread's struct reent in ctx_switch_info - pend_sv_handler uses address in ctx_switch_info.reent instead of fixed offset into atom_tcb - added header with defines for offsets into struct ctx_switch_info used in assembler code. Also added compile time verification for this offsets
--------------------------------------------------------------------------- Library: Atomthreads Author: Kelvin Lawson <info@atomthreads.com> Website: http://atomthreads.com License: BSD Revised --------------------------------------------------------------------------- KERNEL SOURCES This folder contains the core Atomthreads operating system modules. * atomkernel.c: Core scheduler facilities * atommutex.c: Mutual exclusion * atomqueue.c: Queue / message-passing * atomsem.c: Semaphore * atomtimer.c: Timer facilities and system clock management Each module source file contains detailed documentation including an introduction to usage of the module and full descriptions of each API. Refer to the sources for further documentation. --------------------------------------------------------------------------- BUILDING THE KERNEL The kernel is built from the architecture port folder. Build instructions are included in the README file for each port. ---------------------------------------------------------------------------