You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
5d573cf55e
In 32 bit SBL, when PCI PMEM64 exists, the OsLoader will hang during boot in CreateIdentityMappingPageTables(). The function is inteneded to be used in X64 mode only, and cannot handle 32bit well. So OsLoader should not call it for 32 bit build. This patch also zeroed the allcated memory to ensure the unused entries are all 0. Signed-off-by: Maurice Ma <maurice.ma@intel.com>