summaryrefslogtreecommitdiff
path: root/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.uni
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-10-04 20:03:24 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2016-10-07 14:56:29 -0700
commit29f169d17a0f09cd1e05c984da5965e08f2b696e (patch)
tree3986f5c721c7cf1a7e70b88b7560aa5f2bcaf87f /SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.uni
parentf9c3b1b5343f53705f1ab72c55c1db440b01f36f (diff)
downloadedk2-platforms-29f169d17a0f09cd1e05c984da5965e08f2b696e.tar.xz
QuarkSocPkg/QncSmmDispatcher: Fix context passed to SMI handlers
https://bugzilla.tianocore.org/show_bug.cgi?id=136 1) Add CallbackContext field to the DATABASE_RECORD structure that is set to the RegisterContent value passed to QNCSmmCoreRegister(). This is the content that must be passed to the SMI handler when its source is triggered. 2) Update usage of ChildContext field in the DATABASE_RECOD to use CopyMem() instead of structure assignments to avoid compiler use of memcpy() intrinsics This issue was reproduced using the unit test at: https://github.com/mdkinney/edk2/tree/Bug51/Reproduce An ASSERT() is generated the first time the periodic SMI handler is triggered. After applying this patch, the DEBUG() messages from the periodic SMI handler in this unit test are generated. Cc: Kelly Steele <kelly.steele@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Kelly Steele <kelly.steele@intel.com>
Diffstat (limited to 'SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib.uni')
0 files changed, 0 insertions, 0 deletions