mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
8f39ba6ae4
When supporting high-priority interrupts, updating the g_running_tasks within a high-priority interrupt may be cause problems. The g_running_tasks should only be updated when it is determined that a task context switch has occurred. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
arch/x86/src/README.txt ^^^^^^^^^^^^^^^^^^^^^^^ This directory holds x86-specific source files. All x86 source reside in lower-level common, chip-specific, and architecture-specific directories. common/ Directory ^^^^^^^^^^^^^^^^^ This directory holds source files common to all x86 architectures. Architecture-Specific Directories ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Architecture-specific directories hold common source files shared for by implementations of specific x86 architectures. i486 This directory holds logic appropriate for any instantiation of the 32-bit i486 architecture. Chip-Specific directories ^^^^^^^^^^^^^^^^^^^^^^^^^ The same x86 architecture may be realized in different chip implementations. For SoC chips, in particular, on-chip devices and differing interrupt structures may require special, chip-specific definitions in these chip- specific directories. qemu This is the implementation of NuttX on the QEMU x86 simulation.