xiaoxiang781216 commented on code in PR #7288:
URL: https://github.com/apache/incubator-nuttx/pull/7288#discussion_r992963782


##########
arch/arm/src/armv7-a/mmu.h:
##########
@@ -907,6 +914,21 @@ struct section_mapping_s
   uint32_t mmuflags;   /* MMU settings for the region (e.g., cache-able) */
   uint32_t nsections;  /* Number of mappings in the region */
 };
+
+struct page_entry_s
+{
+  uint32_t physbase;        /* Physical address of the region to be mapped */
+  uint32_t virtbase;        /* Virtual address of the region to be mapped */
+  uint32_t mmuflags;        /* MMU settings for the region (e.g., cache-able) 
*/
+  uint32_t npages;          /* Number of mappings in the region */
+};
+
+struct page_mapping_s
+{
+  uint32_t l2table;           /* Virtual address of l2 table */
+  uint32_t entrynum;          /* Page entry number */
+  struct page_entry_s *entry; /* Page entry */

Review Comment:
   add const?



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