arm-trusted-firmware/lib/gpt_rme
johpow01 322b344e30 fix(rme): fixes a shift by 64 bits bug in the RME GPT library
Under certain configurations of PPS and L0GPTSZ a macro could result in
a right shift by 64 bits. This patch removes that possibility by
limiting the total size of each shift to the maximum width of the L0 or
L1 index field in a physical address. In addition, it adds more detail
about how these values are calculated.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: Ie71c8e6f922a5bb522a6169701bfc36fc99f765a
2021-11-16 17:41:43 +01:00
..
gpt_rme.c fix(gpt_rme): use correct print format for uint64_t 2021-11-09 20:58:03 +00:00
gpt_rme.mk refactor(gpt): productize and refactor GPT library 2021-10-05 16:24:57 -05:00
gpt_rme_private.h fix(rme): fixes a shift by 64 bits bug in the RME GPT library 2021-11-16 17:41:43 +01:00