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 <[email protected]> Sent: Thursday, April 18, 2024 9:18 PM To: [email protected]; Bi, Dandan <[email protected]> Cc: Taylor Beebe <[email protected]>; Huang, Yanbo <[email protected]>; Wang, Jian J <[email protected]>; Gao, Liming <[email protected]>; Zhou, Jianfeng <[email protected]> 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 <[email protected]> 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: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
