From 7e1543c23b34fa590b636d26b94b7a8e8673569d Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 30 Jun 2007 17:32:17 +0000 Subject: ARM PL031 RTC emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3037 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/realview.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hw/realview.c') diff --git a/hw/realview.c b/hw/realview.c index 4f4858990c..1ca02d5e2b 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -57,6 +57,8 @@ static void realview_init(int ram_size, int vga_ram_size, int boot_device, pl181_init(0x10005000, sd_bdrv, pic[17], pic[18]); + pl031_init(0x10017000, pic[10]); + pci_bus = pci_vpb_init(pic, 48, 1); if (usb_enabled) { usb_ohci_init_pci(pci_bus, 3, -1); @@ -102,7 +104,7 @@ static void realview_init(int ram_size, int vga_ram_size, int boot_device, /* 0x10014000 GPIO 1. */ /* 0x10015000 GPIO 2. */ /* 0x10016000 Reserved. */ - /* 0x10017000 RTC. */ + /* 0x10017000 RTC. */ /* 0x10018000 DMC. */ /* 0x10019000 PCI controller config. */ /* 0x10020000 CLCD. */ -- cgit v1.2.3