Ouss4 commented on a change in pull request #1958:
URL: https://github.com/apache/incubator-nuttx/pull/1958#discussion_r504024420



##########
File path: arch/xtensa/include/arch.h
##########
@@ -91,6 +91,18 @@ extern "C"
 #define EXTERN extern
 #endif
 
+#ifdef CONFIG_XTENSA_USE_SEPERATE_IMEM
+
+struct mallinfo; /* Forward reference, see malloc.h */
+
+void      up_imm_initialize(void);
+FAR void *up_imm_malloc(size_t size);
+void      up_imm_free(FAR void *mem);
+FAR void *up_imm_memalign(size_t alignment, size_t size);
+bool up_imm_heapmember(FAR void *mem);
+int up_imm_mallinfo(FAR struct mallinfo *info);
+#endif
+

Review comment:
       Originally I had in mind that maybe other architectures would need the 
same functionality and that prototypes would go to one of the locations you 
mentioned. 
   But I didn't follow with that and forgot to rename the functions.  Thanks 
for the reminder. Fixed!




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to