gpoulios commented on code in PR #16309:
URL: https://github.com/apache/nuttx/pull/16309#discussion_r2076562339


##########
drivers/misc/optee.h:
##########
@@ -64,6 +72,16 @@ extern "C"
 #define EXTERN extern
 #endif
 
+#ifdef CONFIG_ARCH_ADDRENV
+uintptr_t optee_va_to_pa(FAR void *va);
+#else
+#  define optee_va_to_pa(va)           ((uintptr_t)va)
+#endif
+int optee_shm_alloc(FAR struct optee_priv_data *priv, bool align,

Review Comment:
   The idea was to allow allocation of shm without alignment (registered shm 
doesn't have to be aligned). But we don't use it anywhere (would be kernel-only 
/ user allocates through memfd or other), so I'll remove it.



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

Reply via email to