]> xenbits.xensource.com Git - people/julieng/boot-wrapper-aarch64.git/commit
AArch64: extract common utilities from PSCI
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Mon, 14 Dec 2015 19:39:46 +0000 (19:39 +0000)
committerMark Rutland <mark.rutland@arm.com>
Tue, 14 Jun 2016 16:49:25 +0000 (17:49 +0100)
commit8fe23b296fb92637458e8f05c3f02efb58367fec
tree883dddf939d8a5f34bebc5f806eeb5371e189b91
parent23cc2e03e2d0354a0a61d1f11ac704381475757b
AArch64: extract common utilities from PSCI

Helpers find_logical_id and setup_vector, as well as the number of
expected CPUs, will be needed outside of PSCI during future refactoring
work. This patch puts them into utils.S, and moves the number of CPUs
one level up, in a macro defined by the Makefile.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Makefile.am
arch/aarch64/common.S
arch/aarch64/psci.S
arch/aarch64/utils.S [new file with mode: 0644]