path: root/docs
diff options
authorAchin Gupta <achin.gupta@arm.com>2013-12-02 17:33:04 +0000
committerDan Handley <dan.handley@arm.com>2013-12-05 12:28:50 +0000
commit0959db5c99b189a1b04515050ef64348de6a2503 (patch)
tree2b5a151d7b9810cab6de7ad26e96321fed431a9d /docs
parent3140a9e5c7d524eb1ea1648ae7c26e61fe7d740c (diff)
psci: rectify and homogenise generic code
This patch performs a major rework of the psci generic implementation to achieve the following: 1. replace recursion with iteration where possible to aid code readability e.g. affinity instance states are changed iteratively instead of recursively. 2. acquire pointers to affinity instance nodes at the beginning of a psci operation. All subsequent actions use these pointers instead of calling psci_get_aff_map_node() repeatedly e.g. management of locks has been abstracted under functions which use these pointers to ensure correct ordering. Helper functions have been added to create these abstractions. 3. assertions have been added to cpu level handlers to ensure correct state transition 4. the affinity level extents specified to various functions have the same meaning i.e. start level is always less than the end level. Change-Id: If0508c3a7b20ea3ddda2a66128429382afc3dfc8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions