| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch/init: call up_color_intstack before up_irq_enable Make sure interrupt stack is colored before IRQ is enabled. Currently, after calling irq_initialize in nx_start to enable interrupts, there is still a period of execution path before the interrupt stack is colored. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@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 个月前 | |
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 个月前 | |
arch:use memcpy xcp inside of syscall copy Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
stack: update up_get_intstackbase API to support cpu id For crash dump all the CPU intstack Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
protect: move us_heap to userspace_data_s Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch/init: call up_color_intstack before up_irq_enable Make sure interrupt stack is colored before IRQ is enabled. Currently, after calling irq_initialize in nx_start to enable interrupts, there is still a period of execution path before the interrupt stack is colored. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 | |
arch/init: call up_color_intstack before up_irq_enable Make sure interrupt stack is colored before IRQ is enabled. Currently, after calling irq_initialize in nx_start to enable interrupts, there is still a period of execution path before the interrupt stack is colored. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 | |
modifyreg16: use small lock in modifyreg16 reason: We would like to replace the big lock with a small lock. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
modifyreg[8|32]: use small lock in modifyreg[8|32] reason: We would like to replace the big lock with a small lock. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
modifyreg[8|32]: use small lock in modifyreg[8|32] reason: We would like to replace the big lock with a small lock. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch: up_getusrsp change to inline and implement in irq.h 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 个月前 | |
syslog: remove unsed check Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
Revert "Reduce the size of tcb by four bytes." This reverts commit 893c5e92c28aca338b38a3d85bd232f9a25a5b56. Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> | 2 个月前 | |
Revert "Reduce the size of tcb by four bytes." This reverts commit 893c5e92c28aca338b38a3d85bd232f9a25a5b56. Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch: Make STACK_ALIGNMENT consistent with TLS_STACK_ALIGNMENT when CONFIG_TLS_ALIGNED=y Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS reason: 1 On different architectures, we can utilize more optimized strategies to implement up_current_regs/up_set_current_regs. eg. use interrupt registersor percpu registers. code size before text data bss dec hex filename 262848 49985 63893 376726 5bf96 nuttx after text data bss dec hex filename 262844 49985 63893 376722 5bf92 nuttx size change -4 Configuring NuttX and compile: $ ./tools/configure.sh -l qemu-armv8a:nsh_smp $ make Running with qemu $ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \ -machine virt,virtualization=on,gic-version=3 \ -net none -chardev stdio,id=con,mux=on -serial chardev:con \ -mon chardev=con,mode=readline -kernel ./nuttx Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
arch: use nxsched_supend and nxsched_resume directly After unifying suspend and resume, it was found that it was no longer possible to guarantee that both from and to at the call point were valid. This actually changed the semantics of the nxsched_switch_context, so we need to separate them again. We've completely integrated the nxsched_supend and nxsched_resume calls into sched, so arch will no longer call them. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 2 个月前 | |
lib_cxx_initialize:remove global variables and lock Flat will call in nx_bringup Protect will call in userspace_entrypoint Kernel build will in ctr0 So, no need global variables and lock Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
arch/stack_align: decrease the stack align requirements. Add ttype in up_use_stack API. We can always get tls by tcb if Flat, and through syscall if no aligned, so don't need to make kstack aligned with TLS_STACK_ALIGN. If always stack aligned will very easy to cause memory fragment when long time used. For BMP case, _percpu_size don't have to align with TLS_STACK_ALIGN after this patch, as .percpu.bss stack don't have to TLS_STACK_ALIGN. TLS_ALIGNED depends on BUILD_KERNEL || BUILD_PROTECTED. We can suppose TLS_ALIGNED will never defined in BUILD_FLAT. Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 2 个月前 | |
arch/armv7-a: unify switch context from software interrupt Signed-off-by: chao.an <anchao@xiaomi.com> | 2 个月前 | |
arch/armv7-a: unify switch context from software interrupt Signed-off-by: chao.an <anchao@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |