| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
perf: add noinstrument_function to up_perf_gettime and related functions Add noinstrument_function attribute to up_perf_gettime and its helper functions (like cp15_pmu_rdccr) across all architectures. These functions are called by perf_gettime which is used in the instrument callback path, and must not be instrumented to avoid infinite recursion when CONFIG_ARCH_INSTRUMENT_ALL is enabled. Signed-off-by: yezhonghui <yezhonghui@xiaomi.com> | 2 个月前 | |
sched/event: fix event module for MISRA compliance fix multiple implicit casting issues, and use single return pattern Signed-off-by: Gao Jiawei <gaojiawei@xiaomi.com> | 2 个月前 | |
sched/atomic: fix the param defined but not use atomic API. Cause if we try use the not-toolchain implement, try link to the toolchain version. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
sched/atomic: fix the param defined but not use atomic API. Cause if we try use the not-toolchain implement, try link to the toolchain version. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/smp: update g_running_tasks to percpu/g_running_task If remove whole g_running_tasks, or replace it self as a macrro, will cause the gdb plugin not working. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
Revert "fs/procfs: fix format warning in proc_groupstatus" This reverts commit 20f173e120850331e1fc002d709e116f072e34ba. Reason for revert: revert type warning process Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
sched/misc: fix stack dump format and update parser Add colon separator after address in stack dump output to improve readability and distinguish the address field from stack values. Update the nxstub parser regex to handle flexible whitespace before the address, ensuring it correctly parses the updated stack dump format. Signed-off-by: xuxingliang <xuxingliang@xiaomi.com> | 2 个月前 | |
Renaming "modlib" to "libelf" is more in line with the implementation content, which makes it easier for individual developers to understand the capabilities of this module. CONFIG_LIBC_MODLIB -> CONFIG_LIBC_ELF Signed-off-by: chao an <anchao.archer@bytedance.com> | 2 个月前 | |
bmp/sched: add bmp support Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
fixtypo: fix the typo Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
sched/atomic: fix the param defined but not use atomic API. Cause if we try use the not-toolchain implement, try link to the toolchain version. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
sched/atomic: fix the param defined but not use atomic API. Cause if we try use the not-toolchain implement, try link to the toolchain version. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
sched/task: skip uninitialized TCB in nxtask_argvstr When pthread_create adds a TCB to g_pidhash via nxtask_assign_pid(), the TCB becomes visible to other threads before its flags and stack are fully initialized. If ps command reads this TCB during the race window, nxtask_argvstr() may access uninitialized stack data (0xdeadbeef from stack coloration) and crash in strmlen(). Add task_state == TSTATE_TASK_INVALID check to nxtask_argvstr() to skip TCBs that have not been fully initialized yet. Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
tls: split tls.h to tls.h and tls_task.h Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
sched/sched: Change the return value semantics. This commit changed the return value semantics. In past designs, timers that were expected to fire immediately were delayed by at least one tick, resulting in a decrease in real-time performance. This commit re-encoded the return value to allow the timers fire immediately. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
sched/wqueue: Align the work_queue_next and work_queue. This commit aligned the semantics for work_queue_next and work_queue. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
sched: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
irq: Modify the behavior of irq_unexpected_isr. Whether an unexpected irq caused by software or hardware, sometimes we don't want the system to panic immediately. Instead, we try to output an error log and close this irq. Signed-off-by: yukangzhi <yukangzhi@xiaomi.com> | 2 个月前 | |
environ: move the environ from sched/environ to libc/environ change the environ implementation from sched/environ to libc/environ, thus we can access the environ related API can vai libc directl, which could improve the access speed in kernel build. And in order to support this modification, we change the struct task_info_s's ta_lock from nxmutex_t to nxrmutex_t, this is because the env_*-related APIs require the ta_lock to be reentrant. If recursive locks are not supported, it may lead to deadlocks in certain scenarios. For example, during initialization on the qemu-miwear platform, it is necessary to call getenv while already holding the ta_lock. To support such cases, we need to change the ta_lock from nxmutex_t to nxrmutex_t. Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 |