From: Pete Batard <pete@akeo.ie>
To: edk2-devel@lists.01.org
Subject: [PATCH 0/1] EmbeddedPkg/Library: Add VirtualRealTimeClockLib
Date: Mon, 4 Feb 2019 12:47:35 +0000 [thread overview]
Message-ID: <20190204124736.124-1-pete@akeo.ie> (raw)
This is work, which was requested as part of the Raspberry Pi 3 platform
integration, is designed to remove the need to provide various custom RTC
implementations for platforms that don't have a real RTC.
The library, which is arch-agnostic (through usage of the perf counter) is
designed to emulate as much as it can as of a hardware backed RTC, including
time zones, daylight savings and nanosecond precision.
Note that, since it relies on automatically setting of the epoch value at
compilation-time, it is currently only meant to support gcc based build
environments and relies on UNIX-like shells that provide a 'date' command.
For other environments, the compilation is designed to break in a manner that
will direct the builder to contact the edk2 mailing list, so that we can look
at adding support for their setup.
Regards,
/Pete
Pete Batard (1):
EmbeddedPkg/Library: Add VirtualRealTimeClockLib
.../VirtualRealTimeClockLib.c | 400 ++++++++++++++++++
.../VirtualRealTimeClockLib.inf | 43 ++
2 files changed, 443 insertions(+)
create mode 100644 EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c
create mode 100644 EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
--
2.17.0.windows.1
next reply other threads:[~2019-02-04 12:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 12:47 Pete Batard [this message]
2019-02-04 12:47 ` [PATCH 1/1] EmbeddedPkg/Library: Add VirtualRealTimeClockLib Pete Batard
2019-02-05 19:57 ` Philippe Mathieu-Daudé
2019-02-15 0:09 ` Pete Batard
2019-02-12 18:14 ` Leif Lindholm
2019-02-15 0:12 ` Pete Batard
2019-02-15 9:57 ` Leif Lindholm
2019-02-15 10:07 ` Ard Biesheuvel
2019-02-15 13:39 ` Ard Biesheuvel
2019-02-15 14:57 ` Pete Batard
2019-02-15 15:09 ` Ard Biesheuvel
2019-02-20 7:42 ` Ard Biesheuvel
2020-05-14 7:45 ` [edk2] " Philippe Mathieu-Daudé
2020-05-14 13:14 ` Pete Batard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190204124736.124-1-pete@akeo.ie \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox