|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [RFC v2 PATCH 0/2] enable rtc and correct wall time for arm.
Currently, get wall time in arm will only return boot up time as
no rtc avalible.
pl031 is chose as the rtc device and its driver implemented here, then
correct the wall time by introduceing rtc_gettimeofday.
change log:
from v1 to v2:
(1) Add menuconfig for rtc pl031
Jianyong Wu (2):
enable rtc pl031 for arm
correct wall time for arm64
plat/Config.uk | 7 ++
plat/common/arm/generic_timer.c | 3 +-
plat/common/arm/rtc.c | 144 ++++++++++++++++++++++++++++++++
plat/common/arm/time.c | 12 +++
plat/common/include/arm/time.h | 1 +
plat/common/include/rtc.h | 48 +++++++++++
plat/kvm/Makefile.uk | 1 +
plat/kvm/arm/setup.c | 6 ++
8 files changed, 221 insertions(+), 1 deletion(-)
create mode 100644 plat/common/arm/rtc.c
create mode 100644 plat/common/include/rtc.h
--
2.17.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |