X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=hw%2Frealview.c;h=375f78acd762bbc601ee5b4d603bdce014836ca1;hb=cd346349b45ef056f138a184f660b8c34c3213cc;hp=c15c231528f480b17c41147ed8818ece130cc2c8;hpb=d537cf6c8624b27ce2b63431d2f8937f6356f652;p=qemu diff --git a/hw/realview.c b/hw/realview.c index c15c231..375f78a 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -1,4 +1,4 @@ -/* +/* * ARM RealView Baseboard System emulation. * * Copyright (c) 2006-2007 CodeSourcery. @@ -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. */ @@ -131,7 +133,7 @@ static void realview_init(int ram_size, int vga_ram_size, int boot_device, /* 0x6c000000 PCI mem 2. */ arm_load_kernel(env, ram_size, kernel_filename, kernel_cmdline, - initrd_filename, 0x33b); + initrd_filename, 0x33b, 0x0); } QEMUMachine realview_machine = {