]> git.baikalelectronics.ru Git - arm-tf.git/commit
Move static vars into functions in bl1
authorJimmy Brisson <jimmy.brisson@arm.com>
Tue, 4 Aug 2020 21:27:51 +0000 (16:27 -0500)
committerJimmy Brisson <jimmy.brisson@arm.com>
Mon, 31 Aug 2020 16:11:48 +0000 (11:11 -0500)
commita14988c6613d396293fd13eb052178a7e8e0d036
tree249d6c088adbe08d7f0f6a32239bbc61589069ae
parent859df7d55bc5176c8c1dac69920de22809fa600d
Move static vars into functions in bl1

This reduces the scope of these variables and resolves Misra violations
such as:
    bl1/aarch64/bl1_context_mgmt.c:21:[MISRA C-2012 Rule 8.9 (advisory)]
    "bl1_cpu_context" should be defined at block scope.

Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
Change-Id: I9b0b26395bce07e10e61d10158c67f9c22ecce44
bl1/aarch64/bl1_context_mgmt.c
bl1/bl1_main.c