diff options
author | Appukuttan V K <appukuttan.vk@intel.com> | 2024-05-17 14:29:18 +0530 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-05-31 20:36:45 +0000 |
commit | c097c4788b4d9e770327193d26ea708f315d8307 (patch) | |
tree | 037fefaa38ac40eec80c67a91f01fb206d777afe /src/soc/intel/common/block/chip | |
parent | 1f97d801ce5a0908bbe6adaf4c4b7f656d40a198 (diff) |
soc/intel: Fix pointer size mismatch errors in crashlog
The crashlog code in intel/common/block and meteorlake soc
was casting integer addresses directly to pointer types,
which caused compilation errors in x86_64 bit builds.
This commit fixes the issue by using uintptr_t for casting
integer addresses to pointer types before dereferencing.
BUG=b:329034258
TEST=Successfully build Meteor Lake (rex) in both x86_32 and
x86_64 modes.
Change-Id: I2d0814a8b767270ec140341bfb51d0782469545d
Signed-off-by: Appukuttan V K <appukuttan.vk@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82481
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc/intel/common/block/chip')
0 files changed, 0 insertions, 0 deletions