X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=QuarkSocPkg%2FQuarkNorthCluster%2FSmm%2FDxeSmm%2FQncSmmDispatcher%2FQNC%2FQNCSmmPeriodicTimer.c;h=670ca91c5c95a67bdefa39f100e271609c2221fe;hp=1d1030c0ae42d1dcf9215920bbc1e52726d96ed2;hb=29f169d17a0f09cd1e05c984da5965e08f2b696e;hpb=f9c3b1b5343f53705f1ab72c55c1db440b01f36f;ds=sidebyside diff --git a/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/QNCSmmPeriodicTimer.c b/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/QNCSmmPeriodicTimer.c index 1d1030c0ae..670ca91c5c 100644 --- a/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/QNCSmmPeriodicTimer.c +++ b/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/QNCSmmPeriodicTimer.c @@ -1,7 +1,7 @@ /** @file File to contain all the hardware specific stuff for the Periodical Timer dispatch protocol. -Copyright (c) 2013-2015 Intel Corporation. +Copyright (c) 2013-2016 Intel Corporation. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -177,7 +177,7 @@ PeriodicTimerGetContext ( // Update the elapsed time w/ the data from our tables // Record->CommBuffer.PeriodicTimer.ElapsedTime += TimerInterval->Interval; - *HwContext = Record->ChildContext; + CopyMem (HwContext, &Record->ChildContext, sizeof (QNC_SMM_CONTEXT)); } }