anchao commented on code in PR #6286: URL: https://github.com/apache/incubator-nuttx/pull/6286#discussion_r875422995
########## arch/arm/include/irq.h: ########## @@ -29,6 +29,12 @@ * Included Files ****************************************************************************/ +#include <nuttx/config.h> +#ifndef __ASSEMBLY__ +# include <stdbool.h> +# include <sys/types.h> Review Comment: Done ########## arch/avr/include/irq.h: ########## @@ -55,19 +60,25 @@ * Public Types ****************************************************************************/ -/**************************************************************************** - * Inline functions - ****************************************************************************/ - /**************************************************************************** * Public Data ****************************************************************************/ +#ifndef __ASSEMBLY__ +/* This holds a references to the current interrupt level register storage + * structure. If is non-NULL only during interrupt processing. + */ + +#ifdef CONFIG_ARCH_FAMILY_AVR32 +extern volatile uint32_t *g_current_regs; 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org