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

Nhi Pham via groups.io posted 2 patches 3 months, 4 weeks ago
Failed in applying to current master (apply log)
.../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(-)

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

Posted by Nhi Pham via groups.io 3 months, 4 weeks ago
This patch series replaces all time checking functions and leverage
the helper function in TimeBaseLib library.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Nhi Pham <nhi@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-