[edk2-devel] [PATCH 0/2] Reduce duplicate code in RTC modules

Nhi Pham via groups.io nhi=os.amperecomputing.com at groups.io
Wed Jan 6 10:55:56 UTC 2021


This patch series replaces all time checking functions and leverage
the helper function in TimeBaseLib library.

Cc: Leif Lindholm <leif at nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
Signed-off-by: Nhi Pham <nhi at os.amperecomputing.com>

Nhi Pham (2):
  EmbeddedPkg/TimeBaseLib: Add function to check Timezone and Daylight
  EmbeddedPkg/RealTimeClockRuntimeDxe: Use helper functions from
    TimeBaseLib

 .../RealTimeClockRuntimeDxe.inf               |  2 +
 EmbeddedPkg/Include/Library/TimeBaseLib.h     | 13 +++
 EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c | 47 +++++++---
 .../RealTimeClockRuntimeDxe/RealTimeClock.c   | 88 +------------------
 4 files changed, 51 insertions(+), 99 deletions(-)

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69810): https://edk2.groups.io/g/devel/message/69810
Mute This Topic: https://groups.io/mt/79472333/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list