[edk2-devel] [PATCH v2 0/4] EmbeddedPkg/TimeBaseLib: Reduce duplicate code in RTC modules

Nhi Pham via groups.io nhi=os.amperecomputing.com at groups.io
Wed Jan 6 16:08:59 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 (4):
  EmbeddedPkg/TimeBaseLib: Update comment blocks for API functions
  EmbeddedPkg/TimeBaseLib: Fix for minor code formatting
  EmbeddedPkg/TimeBaseLib: Add function to check Timezone and Daylight
  EmbeddedPkg/RealTimeClockRuntimeDxe: Use helper functions from
    TimeBaseLib

 .../RealTimeClockRuntimeDxe.inf               |   2 +
 EmbeddedPkg/Include/Library/TimeBaseLib.h     |  90 +++++++++++-
 EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c | 134 +++++++++++++++---
 .../RealTimeClockRuntimeDxe/RealTimeClock.c   |  88 +-----------
 4 files changed, 201 insertions(+), 113 deletions(-)

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69841): https://edk2.groups.io/g/devel/message/69841
Mute This Topic: https://groups.io/mt/79477827/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