diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-30 17:32:17 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-30 17:32:17 +0000 |
commit | 7e1543c23b34fa590b636d26b94b7a8e8673569d (patch) | |
tree | 2aefaaff84c7a6badf248d8083b2ea74134974d6 /hw/realview.c | |
parent | 64075cd76a1d78f37e4e436bd1e7d2376f6bd7c9 (diff) |
ARM PL031 RTC emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3037 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/realview.c')
-rw-r--r-- | hw/realview.c | 4 |
1 files changed, 3 insertions, 1 deletions
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. */ |