]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
xen/arm32: head: Document enable_mmu()
authorJulien Grall <julien.grall@arm.com>
Sat, 20 Apr 2019 12:33:31 +0000 (13:33 +0100)
committerJulien Grall <julien.grall@arm.com>
Sat, 7 Sep 2019 11:10:51 +0000 (12:10 +0100)
Document the behavior and the main registers usage within enable_mmu().

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S

index 83f8774e2a7f5bbc02d09ffa504550871665c8ff..f8603051e43779c2dc5af83a07169e5ac513996a 100644 (file)
@@ -423,6 +423,13 @@ virtphys_clash:
         b     fail
 ENDPROC(create_page_tables)
 
+/*
+ * Turn on the Data Cache and the MMU. The function will return on the 1:1
+ * mapping. In other word, the caller is responsible to switch to the runtime
+ * mapping.
+ *
+ * Clobbers r0 - r3
+ */
 enable_mmu:
         PRINT("- Turning on paging -\r\n")