Revision 5fafdf24 hw/apb_pci.c

b/hw/apb_pci.c
2 2
 * QEMU Ultrasparc APB PCI host
3 3
 *
4 4
 * Copyright (c) 2006 Fabrice Bellard
5
 * 
5
 *
6 6
 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 7
 * of this software and associated documentation files (the "Software"), to deal
8 8
 * in the Software without restriction, including without limitation the rights
......
233 233
    cpu_register_physical_memory(special_base + 0x2000000ULL, 0x10000, pci_ioport);
234 234
    cpu_register_physical_memory(mem_base, 0x10000000, pci_mem_data); // XXX size should be 4G-prom
235 235

  
236
    d = pci_register_device(s->bus, "Advanced PCI Bus", sizeof(PCIDevice), 
236
    d = pci_register_device(s->bus, "Advanced PCI Bus", sizeof(PCIDevice),
237 237
                            0, NULL, NULL);
238 238
    d->config[0x00] = 0x8e; // vendor_id : Sun
239 239
    d->config[0x01] = 0x10;

Also available in: Unified diff