Revision 3cbee15b vl.h

b/vl.h
859 859
/* prep_pci.c */
860 860
PCIBus *pci_prep_init(qemu_irq *pic);
861 861

  
862
/* grackle_pci.c */
863
PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic);
864

  
865
/* unin_pci.c */
866
PCIBus *pci_pmac_init(qemu_irq *pic);
867

  
868 862
/* apb_pci.c */
869 863
PCIBus *pci_apb_init(target_phys_addr_t special_base, target_phys_addr_t mem_base,
870 864
                     qemu_irq *pic);
......
892 886
qemu_irq *openpic_init (PCIBus *bus, int *pmem_index, int nb_cpus,
893 887
                        qemu_irq **irqs, qemu_irq irq_out);
894 888

  
895
/* heathrow_pic.c */
896
qemu_irq *heathrow_pic_init(int *pmem_index);
897

  
898 889
/* gt64xxx.c */
899 890
PCIBus *pci_gt64120_init(qemu_irq *pic);
900 891

  
......
1004 995
                        qemu_irq *pic);
1005 996
void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
1006 997
                        qemu_irq *pic);
1007
int pmac_ide_init (BlockDriverState **hd_table, qemu_irq irq);
1008 998

  
1009 999
/* cdrom.c */
1010 1000
int cdrom_read_toc(int nb_sectors, uint8_t *buf, int msf, int start_track);
......
1242 1232
void ppc40x_core_reset (CPUState *env);
1243 1233
void ppc40x_chip_reset (CPUState *env);
1244 1234
void ppc40x_system_reset (CPUState *env);
1245
#endif
1246 1235
void PREP_debug_write (void *opaque, uint32_t addr, uint32_t val);
1247 1236

  
1248 1237
extern CPUWriteMemoryFunc *PPC_io_write[];
1249 1238
extern CPUReadMemoryFunc *PPC_io_read[];
1250 1239
void PPC_debug_write (void *opaque, uint32_t addr, uint32_t val);
1240
#endif
1251 1241

  
1252 1242
/* sun4m.c */
1253 1243
extern QEMUMachine ss5_machine, ss10_machine;
......
1327 1317
extern QEMUMachine sun4u_machine;
1328 1318

  
1329 1319
/* NVRAM helpers */
1320
typedef uint32_t (*nvram_read_t)(void *private, uint32_t addr);
1321
typedef void (*nvram_write_t)(void *private, uint32_t addr, uint32_t val);
1322
typedef struct nvram_t {
1323
    void *opaque;
1324
    nvram_read_t read_fn;
1325
    nvram_write_t write_fn;
1326
} nvram_t;
1327

  
1330 1328
#include "hw/m48t59.h"
1331 1329

  
1332
void NVRAM_set_byte (m48t59_t *nvram, uint32_t addr, uint8_t value);
1333
uint8_t NVRAM_get_byte (m48t59_t *nvram, uint32_t addr);
1334
void NVRAM_set_word (m48t59_t *nvram, uint32_t addr, uint16_t value);
1335
uint16_t NVRAM_get_word (m48t59_t *nvram, uint32_t addr);
1336
void NVRAM_set_lword (m48t59_t *nvram, uint32_t addr, uint32_t value);
1337
uint32_t NVRAM_get_lword (m48t59_t *nvram, uint32_t addr);
1338
void NVRAM_set_string (m48t59_t *nvram, uint32_t addr,
1330
void NVRAM_set_byte (nvram_t *nvram, uint32_t addr, uint8_t value);
1331
uint8_t NVRAM_get_byte (nvram_t *nvram, uint32_t addr);
1332
void NVRAM_set_word (nvram_t *nvram, uint32_t addr, uint16_t value);
1333
uint16_t NVRAM_get_word (nvram_t *nvram, uint32_t addr);
1334
void NVRAM_set_lword (nvram_t *nvram, uint32_t addr, uint32_t value);
1335
uint32_t NVRAM_get_lword (nvram_t *nvram, uint32_t addr);
1336
void NVRAM_set_string (nvram_t *nvram, uint32_t addr,
1339 1337
                       const unsigned char *str, uint32_t max);
1340
int NVRAM_get_string (m48t59_t *nvram, uint8_t *dst, uint16_t addr, int max);
1341
void NVRAM_set_crc (m48t59_t *nvram, uint32_t addr,
1338
int NVRAM_get_string (nvram_t *nvram, uint8_t *dst, uint16_t addr, int max);
1339
void NVRAM_set_crc (nvram_t *nvram, uint32_t addr,
1342 1340
                    uint32_t start, uint32_t count);
1343
int PPC_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size,
1341
int PPC_NVRAM_set_params (nvram_t *nvram, uint16_t NVRAM_size,
1344 1342
                          const unsigned char *arch,
1345 1343
                          uint32_t RAM_size, int boot_device,
1346 1344
                          uint32_t kernel_image, uint32_t kernel_size,
......
1388 1386
void adb_kbd_init(ADBBusState *bus);
1389 1387
void adb_mouse_init(ADBBusState *bus);
1390 1388

  
1391
/* cuda.c */
1392

  
1393 1389
extern ADBBusState adb_bus;
1394
int cuda_init(qemu_irq irq);
1395 1390

  
1396 1391
#include "hw/usb.h"
1397 1392

  

Also available in: Unified diff