From: Julien Grall Date: Fri, 7 Jun 2019 21:07:19 +0000 (+0100) Subject: xen/arm64: head: Document enable_mmu() X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1791 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2033833b87948c13201c83022bac76b758d8e4cb;p=xen.git xen/arm64: head: Document enable_mmu() Document the behavior and the main registers usage within enable_mmu(). Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index eddf663021..63563ef5e3 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -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")