提交 6b85677c 编写于 作者: M Marc Zyngier 提交者: Christoffer Dall

ARM: Update cpu_v7_reset documentation

cpu_v7_reset() now takes a second parameter indicating whether
we should reboot in HYP or not. Update the documentation to
reflect this.
Tested-by: NKeerthy <j-keerthy@ti.com>
Acked-by: NRussell King <rmk+kernel@armlinux.org.uk>
Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: NChristoffer Dall <cdall@linaro.org>
上级 467f97b7
...@@ -39,13 +39,14 @@ ENTRY(cpu_v7_proc_fin) ...@@ -39,13 +39,14 @@ ENTRY(cpu_v7_proc_fin)
ENDPROC(cpu_v7_proc_fin) ENDPROC(cpu_v7_proc_fin)
/* /*
* cpu_v7_reset(loc) * cpu_v7_reset(loc, hyp)
* *
* Perform a soft reset of the system. Put the CPU into the * Perform a soft reset of the system. Put the CPU into the
* same state as it would be if it had been reset, and branch * same state as it would be if it had been reset, and branch
* to what would be the reset vector. * to what would be the reset vector.
* *
* - loc - location to jump to for soft reset * - loc - location to jump to for soft reset
* - hyp - indicate if restart occurs in HYP mode
* *
* This code must be executed using a flat identity mapping with * This code must be executed using a flat identity mapping with
* caches disabled. * caches disabled.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册