You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "GUIDINGLI (via GitHub)" <gi...@apache.org> on 2023/03/15 13:54:39 UTC
[GitHub] [nuttx] GUIDINGLI commented on a diff in pull request #8730: cache: add up_get_xcache_linesize() support
GUIDINGLI commented on code in PR #8730:
URL: https://github.com/apache/nuttx/pull/8730#discussion_r1137114393
##########
arch/arm/src/armv7-a/l2cc.h:
##########
@@ -70,6 +70,22 @@ extern "C"
void arm_l2ccinitialize(void);
#endif
+/****************************************************************************
+ * Name: l2cc_get_linesize
+ *
+ * Description:
+ * Get L2CC-P310 L2 cache linesize
+ *
+ * Input Parameters:
+ * None
+ *
+ * Returned Value:
+ * L2 cache linesize
+ *
+ ****************************************************************************/
+
+uint32_t l2cc_get_linesize(void);
Review Comment:
l2cc_get_linesize() is a function in l2cc.h, but the MARCO is in l2cc_pl310.h,
l2cc.h is hard to directly include l2cc_pl310.h
--
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-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org