Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRarm64: fix `up_getsp()` to return the real stack pointer
arm64: fix up_getsp() to return the real stack pointer Summary Fix the ARM64 implementation of up_getsp() so that it returns the current stack pointer (SP) instead of the frame pointer (X29). The previous implementation used…
Apache NuttX#22173 · by hujun260 - Merged PRarm_m: consolidate IRQ and barrier headers
arm_m: consolidate IRQ and barrier headers Summary Merge the duplicated ARMv6-M, ARMv7-M, and ARMv8-M IRQ and memory-barrier headers into the common arch/arm/include/arm_m directory. The common headers retain the architectural differences…
Apache NuttX#22151 · by hujun260 - Merged PRarm64/imx95: enable SMP on i.MX95, expand DRAM to 512 MB, and align nsh_smp defconfig
Summary Five commits preparing imx95-a55-evk for a real SMP workload (FastDDS / C++ runtime, basePlateAPP, SQLite): arm64/cmake — set default LLVM arch/ABI so downstream WASM AOT tooling can generate native code for arm64 targets.…
Apache NuttX#22082 · by hujun260 - Merged PRarch/arm64: consolidate common boot sequence and centralize D-Cache lifecycle
Summary Two related cleanups to the arm64 boot path: Consolidate the duplicated boot sequence. Every SoC arm64_chip_boot() repeated the same MMU/MPU init, MTE init, FDT registration, per-CPU data copy, PSCI init and early serial init.…
Apache NuttX#22080 · by hujun260 - Merged PRarch/arm64: parenthesize MPU_REGION_ENTRY macro parameters
Summary Wrap the _name, _base and _size parameters of the MPU_REGION_ENTRY macro in parentheses at each point of expansion, clearing MISRA C:2012 Rule 20.7 findings reported by Coverity. The _attr parameter is deliberately left unwrapped.…
Apache NuttX#22090 · by hujun260 - Merged PRarch/arm64: gicv2: implement up_trigger_irq
Summary Replace the GICv2-private arm_cpu_sgi() and arm64_gic_raise_sgi() helpers with the generic up_trigger_irq() entry point that the other architectures already expose. GICv2 and GICv3 back ends then present the same interface, so…
Apache NuttX#22096 · by hujun260 - Merged PRarch/armv8-r: AArch32 support for QEMU Cortex-R52
Summary This pull request adds the missing ARMv8-R AArch32 support required to build and run the QEMU Cortex-R52 target. It also adds the QEMU ARMv8-R board configuration and aligns the Make and CMake build descriptions. Changes Add the…
Apache NuttX#21858 · by hujun260 - Merged PRarch/arm_m: merge ARM-M syscall dispatch implementation
Summary Merge the duplicated arm_dispatch_syscall.S implementation used by ARMv6-M, ARMv7-M, and ARMv8-M into the common arch/arm/src/arm_m directory. This keeps the syscall dispatch implementation in one place and reduces the maintenance…
Apache NuttX#22037 · by hujun260 - Merged PRarch/arm: unify ARM-M NVIC priority header and fix nxstyle issues in touched files
Summary This PR contains two commits: arch/arm: fix nxstyle issues in ARM-M IRQ sources — clean up existing nxstyle violations in the 15 files that commit 2 touches, plus one real compile error (else (cond)). arm_m: merge…
Apache NuttX#22038 · by hujun260 - Merged PRarch/arm64: add 16-byte alignment to struct arm_mmu_region
arch/arm64: add 16-byte alignment to struct arm_mmu_region Summary Add aligned_data(16) to struct arm_mmu_region so that every element of the g_mmu_regions[] array used by setup_page_tables() is naturally 16-byte aligned. This makes…
Apache NuttX#22048 · by hujun260 - Merged PRarch/arm64: stop storing exception_depth in tpidrro_el0
Summary tpidrro_el0 was used as per-CPU scratch storage for an "exception depth" counter: the vector entry macro read the previous value, stored it into the REG_SP_EL0 + 1 frame slot, incremented it and wrote it back; the exit path…
Apache NuttX#22043 · by hujun260 - Merged PRdrivers/tee: add dummy OP-TEE server driver
Summary Add a dummy OP-TEE driver for the server side of an OP-TEE deployment where the TEE shares memory with a Rich Execution Environment (REE) through RPMsg. The driver announces the OP-TEE RPMsg service channel so that the REE-side TEE…
Apache NuttX#21980 · by hujun260 - Merged PRarch/arm64: add dynamic MPU protection for FVP ARMv8-R
arm64: add dynamic MPU protection for FVP ARMv8-R Summary Add dynamic ARMv8-R AArch64 MPU protection for per-task heap and stack regions on the FVP platform. The implementation configures user heap and stack regions as user read/write…
Apache NuttX#21989 · by hujun260 - Merged PRarch/arm64: move gicv3_rdist_enable before gic_validate_redist_version
Summary Move the GICv3 redistributor power-up sequence before redistributor register validation. Problem The GIC redistributor may be powered down when the ARM64 GIC initialization starts. The previous order validated the redistributor…
Apache NuttX#21992 · by hujun260 - Merged PRarch/arm_m: add directory and move arm_tcbinfo into arm_m
arm_m: add common directory and move arm_tcbinfo.c into arm_m Summary Add the shared arm_m architecture directory and move the common ARM Cortex-M TCB register-offset implementation into it. The arm_m directory is shared by ARMv6-M,…
Apache NuttX#21997 · by hujun260