diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-15 04:38:15 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-15 04:38:15 +0000 |
commit | ffa1e7834cbe4c747f1a832c3bc1615b1ee64982 (patch) | |
tree | 31e71b1600eebe7516e54bb5b697eaf9302f870f /PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe | |
parent | 50fe73a1aa8599e31af9ed8f59fcf95e8c58642a (diff) | |
download | edk2-platforms-ffa1e7834cbe4c747f1a832c3bc1615b1ee64982.tar.xz |
PcAtChipsetPkg/RTC: Fix a bug in RtcGetWakeUpTime() which may cause its return value wrong
Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Jin Eric <Eric.Jin@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13637 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe')
-rw-r--r-- | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c index b999a2eafe..50e0e26030 100644 --- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -514,6 +514,7 @@ PcRtcGetWakeupTime ( //
// Get the alarm info from variable
//
+ DataSize = sizeof (EFI_TIME);
Status = EfiGetVariable (
L"RTCALARM",
&gEfiCallerIdGuid,
|