| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch/arm_m: merge src/x_fault.c systemreset triggerirq into arm_m Remove dup to reducethe maintain cost Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/arm_m: merge systick Move SYSTICK from v7/8m into arm_m For compatible, keep ARMV7M_SYSTICK and ARMV8M_SYSTICK, reduce the change of defconfig and Kconfig Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/arm_m: merge src/x_fault.c systemreset triggerirq into arm_m Remove dup to reducethe maintain cost Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
toolchain/arm/clang:Update clang compilation specifications Delete the specified --config, clang can automatically find the library file through the set -march, -mcpu, and -mfpu Otherwise, different versions of clang support different special cfg settings. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> | 2 个月前 | |
armv7-m:support armv7-m flat protect by addrenv Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
armv7m: fix stuck in whlie loop with inaccurate clean timing Currently, the stack is allocated in the SRAM, which by default is cacheable. when call this api, variables such as ccsidr, ccr, sshift, wshift, sw, sets, and ways may have already been cached. Following the disablement, the kernel then fetches data directly from the physical address. However, at this point, the data on the physical address has not been synchronized with the cache, and the cache has not performed a write-back, leading to data inconsistency. This inconsistency causes the while loop to become inescapable. Signed-off-by: wanggang26 <wanggang26@xiaomi.com> | 2 个月前 | |
cpuinfo: Decouple the fetch cpuinfo from up_perf_getfreq Summary: Add the default CPU frequency configuration. Signed-off-by: wangming9 <wangming9@xiaomi.com> Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
arch/arm-m: fix when rtcb->sigdeliver inprogress savedregs overlap. When first rtcb->sigdeliver in process in thread. High priority thread sched, and cause a new pendsv, at this time, the arm_doirq will trigger a new up_schedule_sigaction, and cause the signal in-process regs overlay the saved_regs. And not able to back to the thread again. Fix by only delivery when saved_regs NULL. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/arm: only compare callee-saved registers for fpu Registers S0-S15 (D0-D7, Q0-Q3) do not need to be preserved. They can be used for passing arguments or returning results in standard procedure-call variants. Registers D16-D31 (Q8-Q15), do not need to be preserved. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch/arm: Remove all lazy fpu related code since it is broken and inefficient, and then removed by: commit dc961baaea17107109d94575e9bb5d9fb725b801 Author: chao.an <anchao@xiaomi.com> Date: Thu Apr 14 18:07:14 2022 +0800 arm/armv7-[a|r]: move fpu save/restore to assembly handler Save/Restore FPU registers in C environment is dangerous practive, which cannot guarantee the compiler won't generate the assembly code with float point registers, especially in interrupt handling Signed-off-by: chao.an <anchao@xiaomi.com> commit 8d66dbc0680cb81f91674ace814b2b8a94c49cd2 Author: chao.an <anchao@xiaomi.com> Date: Thu Apr 7 13:48:04 2022 +0800 arm/armv[7|8]-m: skip the fpu save/restore if stack frame is integer-only Signed-off-by: chao.an <anchao@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
armv7-m:support armv7-m flat protect by addrenv Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch: Merge up_arch.h into up_internal.h neededby:partner_4262 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled move all private channel define from data to rodata Signed-off-by: chao an <anchao@lixiang.com> | 2 个月前 | |
armv7-m:add mpu_enable_region Signed-off-by: anjiahao <anjiahao@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 个月前 | |
libc: add instrument api support Add registration function instrumentation API, which can achieve instrumentation of entering and exiting functions through the compiler's functionality. We can use CONFIG_ARCH_INSTRUMENT_ALL to add instrumentation for all source, or add '-finstrument-functions' to CFLAGS for Part of the source. Notice: 1. use CONFIG_ARCH_INSTRUMENT_ALL must mark _start or entry noinstrument_function, becuase bss not set. 2. Make sure your callbacks are not instrumented recursively. use instrument_register to register entry function and exit function. They will be called by the instrumented function Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
armv7-m:add mpu_enable_region Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |