]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/arm64: head: Document enable_mmu()
authorJulien Grall <julien.grall@arm.com>
Fri, 7 Jun 2019 21:07:19 +0000 (22:07 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 31 Jul 2019 19:33:07 +0000 (20:33 +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/arm64/head.S

index eddf66302179c6032faf3586d96ebcfb02e37e28..63563ef5e34120b7e2d4fa6fa5cca94e29121f29 100644 (file)
@@ -576,6 +576,13 @@ virtphys_clash:
         ret
 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 x0 - x3
+ */
 enable_mmu:
         PRINT("- Turning on paging -\r\n")