rtc: add RTC_ISA_BASE
commitba480fa6264b161697009448c3cbc0730485379e
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Apr 2020 13:59:54 +0000 (29 15:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 May 2020 14:25:02 +0000 (4 10:25 -0400)
treeeee451812681fa8d1eb06c44bc11a8f882f25df2
parenta53e581ee818d44bea9dcd2c543c2d08a5934fae
rtc: add RTC_ISA_BASE

Add and use RTC_ISA_BASE define instead of hardcoding 0x70.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20200429140003.7336-7-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/rtc/mc146818rtc.c
include/hw/rtc/mc146818rtc.h