The PCD PcdPlatformEfiRtCodeMemorySize is used in https://github.com/tianocore/edk2-platforms/blob/master/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.c This PCD seems defined the size allocated for run time services code, and the similar PCD is PcdPlatformEfiRtDataMemorySize, seems defined the size allocated for run time services data. I guess dandan means if the runtime services code size is small than the PCD defined, then the " Extra EfiRuntimeServicesCode regions which aren't part of loaded runtime images." size should be FixedPcdGet32 (PcdPlatformEfiRtCodeMemorySize) - the actual runtime image code size?
Best Regards, Yanbo Huang -----Original Message----- From: Ard Biesheuvel <a...@kernel.org> Sent: Thursday, April 18, 2024 9:18 PM To: devel@edk2.groups.io; Bi, Dandan <dandan...@intel.com> Cc: Taylor Beebe <taylor.d.be...@gmail.com>; Huang, Yanbo <yanbo.hu...@intel.com>; Wang, Jian J <jian.j.w...@intel.com>; Gao, Liming <gaolim...@byosoft.com.cn>; Zhou, Jianfeng <jianfeng.z...@intel.com> Subject: Re: [edk2-devel] MdeModulePkg: Fix MAT SplitRecord() Logic introduce one bug and will cause SUT reset when boot to windows Hello Dandan, On Thu, 18 Apr 2024 at 15:03, Dandan Bi <dandan...@intel.com> wrote: > > Hi Taylor, > > > > >>Extra EfiRuntimeServicesCode regions which aren't part of loaded runtime > >>images. > > This may be related to the original size of EfiRuntimeServicesCode in memory > map, and the size can be configured via PcdPlatformEfiRtCodeMemorySize. > That PCD does not exist in EDK2. Can you explain what it does on your platform? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117992): https://edk2.groups.io/g/devel/message/117992 Mute This Topic: https://groups.io/mt/105477564/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-