Skip to content

Commit

Permalink
target/arm: Reduce dcz_blocksize to uint8_t
Browse files Browse the repository at this point in the history
This value is only 4 bits wide.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230811214031.171020-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
rth7680 authored and pm215 committed Aug 31, 2023
1 parent 156618d commit ae4acc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/arm/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,8 @@ struct ArchCPU {
bool prop_lpa2;

/* DCZ blocksize, in log_2(words), ie low 4 bits of DCZID_EL0 */
uint32_t dcz_blocksize;
uint8_t dcz_blocksize;

uint64_t rvbar_prop; /* Property/input signals. */

/* Configurable aspects of GIC cpu interface (which is part of the CPU) */
Expand Down

0 comments on commit ae4acc6

Please sign in to comment.