pussuw commented on code in PR #5985: URL: https://github.com/apache/incubator-nuttx/pull/5985#discussion_r847026388
########## arch/risc-v/src/mpfs/chip.h: ########## @@ -29,4 +29,33 @@ #include "mpfs_memorymap.h" +#include "riscv_percpu.h" + +/**************************************************************************** + * Macro Definitions + ****************************************************************************/ + +#ifdef __ASSEMBLY__ + +/**************************************************************************** + * Name: setintstack + * + * Description: + * Set the current stack pointer to the "top" the correct interrupt stack + * for the current CPU. + * + ****************************************************************************/ + +#if CONFIG_ARCH_INTERRUPTSTACK > 15 +.macro setintstack tmp0, tmp1 +#ifndef CONFIG_ARCH_USE_S_MODE Review Comment: Done ########## arch/risc-v/src/qemu-rv/Make.defs: ########## @@ -34,8 +34,7 @@ CMN_CSRCS += riscv_releasepending.c riscv_reprioritizertr.c CMN_CSRCS += riscv_releasestack.c riscv_stackframe.c riscv_schedulesigaction.c CMN_CSRCS += riscv_sigdeliver.c riscv_unblocktask.c riscv_usestack.c CMN_CSRCS += riscv_idle.c riscv_tcbinfo.c riscv_cpuidlestack.c -CMN_CSRCS += riscv_exception.c riscv_getnewintctx.c riscv_doirq.c -CMN_CSRCS += riscv_cpuindex.c +CMN_CSRCS += riscv_fault.c riscv_getnewintctx.c riscv_doirq.c Review Comment: Done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
