]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(el3-runtime): add prepare_el3_entry func
authorDaniel Boulby <daniel.boulby@arm.com>
Wed, 19 Jan 2022 11:20:05 +0000 (11:20 +0000)
committerDaniel Boulby <daniel.boulby@arm.com>
Mon, 31 Jan 2022 11:27:11 +0000 (11:27 +0000)
commit97215e0f25014864a4241bb3f992e5946b14dfd3
treebc6f558127b668c05d60bb701d68f9d794003f93
parent50e06da16edc8f7fd6196e8fe4d48835358f3fa1
refactor(el3-runtime): add prepare_el3_entry func

In the next patch we add an extra step of setting the PSTATE
registers to a known state on el3 entry. In this patch we create
the function prepare_el3_entry to wrap the steps needed for before
el3 entry. For now this is only save_gp_pmcr_pauth_regs.

Change-Id: Ie26dc8d89bfaec308769165d2649e84d41be196c
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
bl1/aarch64/bl1_exceptions.S
bl31/aarch64/ea_delegate.S
bl31/aarch64/runtime_exceptions.S
lib/el3_runtime/aarch64/context.S