Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: dadd8c7a95bab7e17aaa0d5bbd6c40eaf461d434 https://github.com/tianocore/edk2/commit/dadd8c7a95bab7e17aaa0d5bbd6c40eaf461d434 Author: Jason1 Lin <jason1....@intel.com> Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths: M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c Log Message: ----------- MdeModulePkg/DxeCapsuleLibFmp: Change the Event Notify to Cache ESRT Table REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4831 In this patch introduced the below changes, [1] Add the event of system resource table installed callback. - Register the event in DxeRuntimeCapsuleLibConstructor () - Unregister the event in DxeRuntimeCapsuleLibDestructor () [2] Migrate the event to update the module variable to cache ESRT table from ReadyToBoot to system resource table installed. [3] Add the condition to free the pool of buffer when the "mEsrtTable" is not NULL. Co-authored-by: Dakota Chiang <dakota.chi...@intel.com> Signed-off-by: Jason1 Lin <jason1....@intel.com> Commit: 03c8ec6ce29e47abca2b598bba9a05ddd87afc17 https://github.com/tianocore/edk2/commit/03c8ec6ce29e47abca2b598bba9a05ddd87afc17 Author: Jason1 Lin <jason1....@intel.com> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleRuntime.c M MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf Log Message: ----------- MdeModulePkg/DxeCapsuleLibFmp: Check BootService Status to Use ESRT Cache - In c36414b131dfd0a1ca51f10f87a18955bc110ff2 change, it was introduced the ReadyToBoot event check to prevent the boot service got called in runtime to cause the issue. - In this patch introduced the ExitBootService event to replace it. It would be better to base on the BootService status to decide the source of ESRT table. - Based on the BootService availability to decide, - Exit : Use cache ESRT table in IF-condition - Not Exit: Use boot service to locate protocol in ELSE-condition Co-authored-by: Dakota Chiang <dakota.chi...@intel.com> Signed-off-by: Jason1 Lin <jason1....@intel.com> Compare: https://github.com/tianocore/edk2/compare/f2557032d61e...03c8ec6ce29e To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits