diff options
author | Paul Burton <[email protected]> | 2024-05-11 12:43:29 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2024-07-09 10:48:28 +0200 |
commit | 680e7863de0c3d3551d247200fd1cb41ec874650 (patch) | |
tree | 2c70fc629edda2791b9a7bc0ca2684836471f69a /scripts | |
parent | 36675ac2a759c6dc99e3155fd6b9ebcc75ef8a45 (diff) |
MIPS: GIC: Generate redirect block accessors
With CM 3.5 the "core-other" register block evolves into the "redirect"
register block, which is capable of accessing not only the core local
registers of other cores but also the shared/global registers of other
clusters.
This patch generates accessor functions for shared/global registers
accessed via the redirect block, with "redir_" inserted after "gic_" in
their names. For example the accessor function:
read_gic_config()
...accesses the GIC_CONFIG register of the GIC in the local cluster.
With this patch a new function:
read_gic_redir_config()
...is added which accesses the GIC_CONFIG register of the GIC in
whichever cluster the GCR_CL_REDIRECT register is configured to access.
This mirrors the similar redirect block accessors already provided for
the CM & CPC.
Reviewed-by: Jiaxun Yang <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Signed-off-by: Chao-ying Fu <[email protected]>
Signed-off-by: Dragan Mladjenovic <[email protected]>
Signed-off-by: Aleksandar Rikalo <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions