]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/PiSmmCore/PiSmmCore.h
1. Add two performance measurement points for SMM performance measurement;
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Aug 2011 02:58:20 +0000 (02:58 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Aug 2011 02:58:20 +0000 (02:58 +0000)
commit495797c5578e88cd1a769e918502cf426f08d6b0
tree207906493483b613c565321c95f7ab637d5009c6
parenta430bdb13215eac169cd1c7e3e2fe88124c84b8e
1. Add two performance measurement points for SMM performance measurement;
2. Introduce SmmCorePlatformHookLib library class defining two platform hook points. Update PI Smm Core to call the hook points before and after invoking registered SMI handlers. A NULL instance of this library class is implemented.

Note that after this check in, DSC files consuming the PiSmmCore.inf need to be updated to add a library instance for SmmCorePlatformHookLib library class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12140 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
MdeModulePkg/Core/PiSmmCore/PiSmmCore.h
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
MdeModulePkg/Include/Library/SmmCorePlatformHookLib.h [new file with mode: 0644]
MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.c [new file with mode: 0644]
MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.dsc