audk/UefiPayloadPkg/PayloadLoaderPeim
Guomin Jiang 497ac7b6d7 UefiPayloadPkg/PayloadLoaderPeim: Use INT64 as input parameter
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3818

It will have some potential issue when memory larger than 2G because
the high memory address will be fill with 0xFFFFFFFF when do the
operation of INTN + INT64 but it is 32 bit normal data in fact.

Should use same data type INT64 + INT64.

V3:
1. Use INT64 as input parameter because all date type is 64 bit
V2:
1. Force the data type to UINTN to avoid high dword be filled with
0xFFFFFFFF
2. Keep INTN because the offset may postive or negative.

Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
2022-03-01 02:45:28 +00:00
..
ElfLib UefiPayloadPkg/PayloadLoaderPeim: Use INT64 as input parameter 2022-03-01 02:45:28 +00:00
ElfLib.h UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PayloadLoaderPeim.c UefiPayloadPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PayloadLoaderPeim.inf