diff options
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2012-02-14 11:52:49 +0000 |
---|---|---|
committer | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2012-02-14 11:52:49 +0000 |
commit | 679eb21dff26e0a16bb711869c26fdb109fa38c2 (patch) | |
tree | c5e441ed1d511908dac6d455c0d9d47b7f5c4ae6 | |
parent | d5a65b1d26a03e04dc26d84a368df9cb7490bcd3 (diff) |
Rename struct cache_geom member ccselr to csselr since it is related to CSSELR register.
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
-rw-r--r-- | big-little/virtualisor/include/cache_geom.h | 2 | ||||
-rw-r--r-- | big-little/virtualisor/virt_handle.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/big-little/virtualisor/include/cache_geom.h b/big-little/virtualisor/include/cache_geom.h index 758a8ed..359c480 100644 --- a/big-little/virtualisor/include/cache_geom.h +++ b/big-little/virtualisor/include/cache_geom.h @@ -75,7 +75,7 @@ typedef struct cache_geom { * One for each cpu to store the cache level * the OS thinks its operating on. */ - unsigned ccselr; + unsigned csselr; /* One for each cache level */ unsigned ccsidr[MAX_CACHE_LEVELS]; } cache_geometry; diff --git a/big-little/virtualisor/virt_handle.c b/big-little/virtualisor/virt_handle.c index 6485a14..3e3f3d7 100644 --- a/big-little/virtualisor/virt_handle.c +++ b/big-little/virtualisor/virt_handle.c @@ -187,7 +187,7 @@ void trap_cp15_mrc_mcr_handle(unsigned hsr, gp_regs * regs) target_cache_geometry[cpu_id]. ccsidr[get_cache_level (target_cache_geometry[cpu_id]. - ccselr)]; + csselr)]; break; case CLIDR: if (write) @@ -215,11 +215,11 @@ void trap_cp15_mrc_mcr_handle(unsigned hsr, gp_regs * regs) case CSSELR: if (write) target_cache_geometry[cpu_id]. - ccselr = regs->r[Rt]; + csselr = regs->r[Rt]; else regs->r[Rt] = target_cache_geometry[cpu_id]. - ccselr; + csselr; break; default: goto error; |