Oopenvela-robotsched: unify the thread exit running task behavior.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch/x86: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 3 个月前 | |
arch/x86_64: Add ARCH_X86_64_IDLE_NOP and ARCH_X86_64_IDLE_MWAIT Using the HLT instruction in VM usually traps into the Hypervisor and releases CPU control. This will result in real-time performance degradation. Using the NOP or MWAIT instruction for an IDLE loop can reduce energy consumption while not trapping into the Hypervisor. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/x86: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 3 个月前 | |
x86_64 Toolchain.def(bufix):fix default Toolchain select option Signed-off-by: xuxin19 <xuxin19@xiaomi.com> | 3 个月前 | |
arch: move some macros to public code. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
elf:use SUBALIGN(SECTIONS_ALIGN) set elf section sh_aligment Some architectures of the MPU have alignment requirements for the starting position, so use SUBALGIN to set the alignment. Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 3 个月前 | |
arch/x64: Fix crash issue after enabling KASAN After up_fork calls the x86_64_fork function, the rsp must be 16-byte aligned; otherwise, the movaps %xmm0, (%rsp) instruction may cause a crash. Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x64:Cmake add multiboot1 Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
fix cmake goldfish-x86_64 compile error Signed-off-by: xuxin19 <xuxin19@xiaomi.com> | 3 个月前 | |
arch/x86_64: Reimplement the NuttX32 multiboot1 wrapper. This commit reimplemented the NuttX32 multiboot1 wrapper: 1. Fixed the issue of SMP AP booting. 2. Reduced memory copy overhead. We only need to copy .realmode section now. 3. Move the multiboot1 header to intel64_head.S. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/x86_64/common/pgalloc.h: fix compilation error fix compilation error for CONFIG_ARCH_PGPOOL_MAPPING=y: /arch/x86_64/src/common/pgalloc.h:65:52: error: ‘CONFIG_ARCH_PGPOOL_PEND’ undeclared /arch/x86_64/src/common/pgalloc.h:82:52: error: ‘CONFIG_ARCH_PGPOOL_VEND’ undeclared Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x64:Fix the issue of dereferencing before null check Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x64:fix overflow constant Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x86_64: handle TLB shootdown Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch: up_addrenv_kstackfree use delayfree Only nxsched_release_tcb call up_addrenv_kstackfree, nxsched_releasetcb should use mm_delayfree instead of mm_free, because mm_free will assert for sem_wait in IDLELOOP. Signed-off-by: guanyi3 <guanyi3@xiaomi.com> | 3 个月前 | |
arch/x86_64: addrenv support Add addrenv support for x86_64. For now we support mapping on PT level, so PD, PDT and PML4 are static Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x86_64: add kernel build support Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch: Fix the mismath in comment Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 3 个月前 | |
sched: unify the thread exit running task behavior. We already split switch_context into nxsched_suspend_scheduler and nxsched_resume_scheduler, when task_exit, set running = NULL for more compatible. The switch context is much more frequency than task_exit, we should prefer decrease the switch_context record time cost. Also the x_doirq xcp.regs save will be more unified. Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> Signed-off-by: ligd <liguiding1@xiaomi.com> | 3 个月前 | |
sched:use tcb_s inside of task_tcb_s , remove all cast Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 3 个月前 | |
arch/x86_64: Add vfork support Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/intel64: add cpu specific data and per-cpu interrupt stacks Use GS base regsiter to store reference to CPU private data. Then we can easily refer to private CPU data using the GS segment. Required for SMP support. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
arch/x86_64: add debug interface add hardware debug interface for x86_64 Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x64: add acpi procfs Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x86_64: add support for xAPIC Add support for legacy xAPIC alongside x2APIC. This way we can run nuttx x86_64 on qemu without the --enable-kvm option Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 3 个月前 | |
arch/x86_64:Add nanosecond delay interface to TSC Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
arch/x86_64: add MMU interface add MMU api for x86_64 Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
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> | 3 个月前 | |
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> | 3 个月前 | |
arch: rename arch special function name neededby:880149 Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
group:move addrenv to group struct addrenv is for task group so move it to group Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 3 个月前 | |
arch/x86_64: add kernel stack support Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x86: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
arch/x86: support decouple signal related function from arch code Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 3 个月前 | |
arch/x86_64: add kernel stack support Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
reginfo: add coredump register offset The reginfo struct is used for both coredump and gdbstub. GDB stub needs information of the register value offset in g/G packet. Coredump needs information of register offset in register field. They are not in same order for some of the architecture, thus we add goffset and coffset in reginfo to describe it. Signed-off-by: xuxingliang <xuxingliang@xiaomi.com> | 3 个月前 | |
arch/x86_64: handle TLB shootdown Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
add sched note for littlefs/romfs/rpmsgfs/yaffs in cmake build Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com> | 3 个月前 | |
arch/x86_64:Add nanosecond delay interface to TSC Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 |