]> git.baikalelectronics.ru Git - arm-tf.git/commit
context_mgmt: Make cm_init_context_common public
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 22 May 2018 09:09:10 +0000 (10:09 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 23 May 2018 12:50:18 +0000 (13:50 +0100)
commit1634cae89d0e62853f6addbbaef8557893ee5613
treef2ae030a37ab96c7ba2ba04905087d82e7a77997
parent41e48fed9a2ccecf7e8a53b8ad5574d038176dd7
context_mgmt: Make cm_init_context_common public

This function can be currently accessed through the wrappers
cm_init_context_by_index() and cm_init_my_context(). However, they only
work on contexts that are associated to a CPU.

By making this function public, it is possible to set up a context that
isn't associated to any CPU. For consistency, it has been renamed to
cm_setup_context().

Change-Id: Ib2146105abc8137bab08745a8adb30ca2c4cedf4
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
include/lib/el3_runtime/context_mgmt.h
lib/el3_runtime/aarch32/context_mgmt.c
lib/el3_runtime/aarch64/context_mgmt.c