Projects
home:dongzhihai
qemu
_service:tar_scm:freeclock-set-rtc_date_diff-fo...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:freeclock-set-rtc_date_diff-for-arm.patch of Package qemu
From 156be254a48d1d9b7aadcbfa4423485c592bc75d Mon Sep 17 00:00:00 2001 From: "shenghualong@huawei.com" <shenghualong@huawei.com> Date: Thu, 21 Mar 2024 11:21:14 +0800 Subject: [PATCH] freeclock: set rtc_date_diff for arm Set rtc_date_diff in pl031. Signed-off-by: Peng Liang <liangpeng10@huawei.com> Signed-off-by: zhangxinhao <zhangxinhao1@huawei.com> Signed-off-by: Yuan Zhang <zhangyuan162@huawei.com> --- hw/rtc/pl031.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/rtc/pl031.c b/hw/rtc/pl031.c index b01d0e75d1..f2e6baebba 100644 --- a/hw/rtc/pl031.c +++ b/hw/rtc/pl031.c @@ -144,7 +144,8 @@ static void pl031_write(void * opaque, hwaddr offset, s->tick_offset += value - pl031_get_count(s); qemu_get_timedate(&tm, s->tick_offset); - qapi_event_send_rtc_change(qemu_timedate_diff(&tm), qom_path); + set_rtc_date_diff(qemu_timedate_diff(&tm)); + qapi_event_send_rtc_change(get_rtc_date_diff(), qom_path); pl031_set_alarm(s); break; -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2