pussuw commented on code in PR #9577: URL: https://github.com/apache/nuttx/pull/9577#discussion_r1277808028
########## arch/risc-v/include/irq.h: ########## @@ -562,9 +570,15 @@ struct xcptcontext #endif #endif - /* Register save area */ + /* Integer register save area */ uintptr_t *regs; + + /* FPU register save area */ + +#if defined(CONFIG_ARCH_FPU) && defined(CONFIG_ARCH_LAZYFPU) + uintptr_t fregs[FPU_XCPT_SIZE]; Review Comment: Just noticed that this needs to be fixed too, this now reserves 4-8 times more memory for the FPU regs than is needed. Should be FPU_XCPT_REGS -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org