diff options
author | Rebecca Cran <rebecca@nuviainc.com> | 2021-02-07 17:52:39 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-02-08 19:35:23 +0000 |
commit | 93ff7a4e8e11d25f523dbddeecf20ed591297cc1 (patch) | |
tree | f18dc167eff8b42cfba7ccf36eee68ba12708268 /BaseTools/Source/Python/AutoGen/BuildEngine.py | |
parent | 827a71cc9efb2d10733cfa59590b4d205ba97abe (diff) | |
download | edk2-93ff7a4e8e11d25f523dbddeecf20ed591297cc1.tar.gz edk2-93ff7a4e8e11d25f523dbddeecf20ed591297cc1.tar.bz2 edk2-93ff7a4e8e11d25f523dbddeecf20ed591297cc1.zip |
ArmPkg: Fix the return type of the ReadCCSIDR function
When CCIDX is supported, the Current Cache Size ID Register contains
data above 32 bits: namely the number of sets. Avoid truncating this
by returning a UINTN instead of UINT32. On AARCH32, the expanded
number of sets data can be read via the CCSIDR2 register.
Also, add Doxygen comments for the function.
Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/BuildEngine.py')
0 files changed, 0 insertions, 0 deletions