| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
arch/intel64: Added clkdev driver for TSC-deadline. This commit added clkdev driver for TSC-deadline. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/intel64: ARCH_HAVE_RNG depends on RDRAND support ARCH_HAVE_RNG should be set only when RDRAND instruction is supported. This prevents the use of a hardware RNG for /dev/random and /dev/urandom when it's not supported by CPU. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/intel64: Added clkdev driver for TSC-deadline. This commit added clkdev driver for TSC-deadline. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
intel64/Toolchain.defs: move toolchain releated option to Toolchain.defs Follow other arch does, move common toolchain option to Toolchain.defs Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 3 个月前 | |
dns: fix dns failed when ipv4/6 dual stack enable The ipv6 address filled the cache, and the ipv4 address did not have a place to store it, causing the resolution to fail. so if IPV6 has already filled the buffer, rewrite ipv4 DNS results from half of the buffer. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 3 个月前 | |
intel64: add header for intel64_lowsetup Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arm: skip backtrace asan check Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 3 个月前 | |
arch: support customized up_cpu_index() in AMP mode Some app with same code runs on different cores in AMP mode, need the physical core on which the function is called. Signed-off-by: fangxinyong <fangxinyong@xiaomi.com> Signed-off-by: hujun5 <hujun5@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 个月前 | |
sched/irq: add a check for the interrupt stack in irq_dispatch After irq_dispatch finished, the interrupt stack will be checked to determine whether overflow occurs. The relevant configuration reuses the configuration of stack overflow detection during context switching. Since the interrupt stack is calculated differently in different architectures, I specifically set the case where check_size is 0 to calculate the entire interrupt stack to ensure that each architecture can use its own implementation to calculate the size of the entire stack. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 3 个月前 | |
arch/x86-64: replace SMP_NCPUS to percpu Signed-off-by: buxiasen <buxiasen@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 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
arch/x86_64: Fix compilation error. This commit fixed a compilation error about the undefined sizeof(struct tls_info_s). Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 3 个月前 | |
fix the compilation error caused by 'DEBUGASSERT' error: implicit declaration of function 'DEBUGASSERT' [-Werror=implicit-function-declaration] Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 3 个月前 | |
arch/x86_64: Fix fb_putc for early-print. This commit fixed fb_putc for early-print. - Modified fb_putc to return an int instead of void. - Handled error cases where the character is not found by replacing it with a '.'. - Ensured cursor position is updated correctly after each character is processed. - Fixed above 4G framebuffer memory mapping. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@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 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
x86_64: support for stack canaries add support for stack canaries which includes fixes for TLS Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
sched/arch: move suspend/resume scheduler to arch irq handler Move nxsched_suspend_scheduler/nxsched_resume_scheduler from nxsched_switch to arch-specific IRQ handlers. This change: 1. Fixes missing suspend/resume in SMP sched IPI handler (arm_smp_sched_handler calls nxsched_switch_running directly without going through nxsched_switch) 2. Avoids spurious suspend/resume when ISR triggers multiple context switches (e.g., sem_post to tasks A->B->C only records suspend(old)->resume(C), not intermediate transitions) Signed-off-by: ligd <liguiding1@xiaomi.com> | 3 个月前 | |
arch/x64:qemu chip modification Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x86_64: Move some x86_64 specific inline functions to internal header file Move x86_64 platform-specific inline functions from public irq.h header to the internal x86_64_internal.h header file to avoid exposing implementation details in public API. Cleaned up public API by removing implementation-specific functions Updated files that need these functions to include x86_64_internal.h Improved code organization by keeping platform-specific functions in internal headers Signed-off-by: Huang Qi <huangqi3@xiaomi.com> | 3 个月前 | |
arch/intel64: add HPET timer support as oneshot timer Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/intel64: add timer initialization for the secondary CPUs. This commit added timer initialization for the secondary CPUs. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/intel64/intel64_hwp.c: fix hwp request reserved part of hwp request must be zeros, otherwise we get GP(0) exception. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x86_64: Initial support for Intel64 HWP. To avoid different CPU frequencies affecting benchmark results, this commit adds initial support for Intel64 HardWare-controlled Performance-state (HWP). It queries the HWP capability register to get the highest and lowest available performance levels and sets them to the HWP request register. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
xtensa: sync with github and resolve conflicts Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com> | 3 个月前 | |
arch/x64:Fix incorrect FCW setup. If the FCW is configured incorrectly, FPU operations may cause exceptions Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
arch/x86_64/intel64: fix revoke_low_memory fix revoke_low_memory, problem found by Xiangzhen Ouyang. g_pt_low mapping is removed during revoke_low_memory so we can't access this memory are which is wrong, but for some reson works without any problems. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/intel64: add timer initialization for the secondary CPUs. This commit added timer initialization for the secondary CPUs. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
arch/intel64/hpet: add FSB interrupts support and support for 32-bit mode These are changes to make HPET work with ACRN hypervisor: - FSB interrupt delivery (which works like PCI MSI) - 32-bit mode support Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
userspace: Exclude nuttx/arch.h This patch fixed userspace headers conflict. Architecture-related definition and API should not be exposed to users. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/intel64: Added clkdev driver for oneshot_lower. This commit addedd clkdev driver for oneshot_lower. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
arch/intel64: add support for MM_PGALLOC add support for MM_PGALLOC for x86_64 Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch: up_getusrsp change to inline and implement in irq.h Signed-off-by: buxiasen <buxiasen@xiaomi.com> | 3 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 3 个月前 | |
arch/intel64: Disable set_pcid if CPU does not support. This commit disabled set_pcid function if CPU does not support. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
Remove the unnecessary NULL fields in global instance definition of file_operations Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 3 个月前 | |
up_rtc_gettime: add spinlock to protect up_rtc_gettime reason: We have removed the critical section protection for the up_rtc_gettime function in common code. Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
arch/x64:Syscall support is enabled by default Syscall enablement is controlled by CONFIG_ARCH_HAVE_SYSCALL Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
Revert "Reduce the size of tcb by four bytes." This reverts commit 893c5e92c28aca338b38a3d85bd232f9a25a5b56. Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> | 3 个月前 | |
arch/x86_64: Initialize framebuffer early-print. This commit initialized framebuffer early-print if CONFIG_MULTBOOT2_FB_TERM is defined. This enabled early_kprintf to output debug information using framebuffer. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
sched: Shorten the scope of critical section protection Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
arch/x86_64/intel64: fix warnings Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch: Make STACK_ALIGNMENT consistent with TLS_STACK_ALIGNMENT when CONFIG_TLS_ALIGNED=y Signed-off-by: hujun5 <hujun5@xiaomi.com> | 3 个月前 | |
qemu-intel64: fix compile error intel64/intel64_start.c: In function '__nxstart': intel64/intel64_start.c:169:35: error: invalid application of 'sizeof' to incomplete type 'struct tls_info_s' 169 | sizeof(struct tls_info_s) + | ^~~~~~ make[1]: *** [Makefile:114: intel64_start.o] Error 1 Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com> | 3 个月前 | |
arch/x86_64: add poweroff functionality Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
arch/x86_64: convert all asm() to __asm__() asm() is not supported by -std=c99, __asm__() is more portable Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com> | 3 个月前 | |
arch/x64:Record the TSC frequency using a separate variable The frequency of the APIC timer is different from the TSC and needs to be recorded separately. Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
driver/timers: Simplify the up_timer_initialize. This commit simplified the up_timer_initialize. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 3 个月前 | |
arch/x86_64:x2APIC supports automatically obtaining the LAPIC timer frequency QEMU needs to be started with the parameters -enable-kvm -cpu xxx,hv_vapic Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 | |
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> | 3 个月前 | |
arch/x64: Solve the sig_nest hang issue When an interrupt occurs, the hardware automatically pushes the current RIP/RSP onto the interrupt stack. During the interrupt return, the iretq instruction pops them back. The problem is that the RIP/RSP modified by the signal is stored in the XCP context, whereas iretq operates on the interrupt stack. As a result, the RIP/RSP modified by the signal does not take effect in the iretq instruction, causing the task receiving the signal to fail to jump correctly to the signal handler. This behavior appears as if the signal is lost Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com> | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 |