]> git.proxmox.com Git - mirror_qemu.git/blame - hw/ppc/e500.h
target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb
[mirror_qemu.git] / hw / ppc / e500.h
CommitLineData
e6eaabeb
SW
1#ifndef PPCE500_H
2#define PPCE500_H
3
92238367
MA
4#include "hw/boards.h"
5
e6eaabeb 6typedef struct PPCE500Params {
492ec48d
AG
7 int pci_first_slot;
8 int pci_nr_slots;
e6eaabeb 9
e6eaabeb
SW
10 /* required -- must at least add toplevel board compatible */
11 void (*fixup_devtree)(struct PPCE500Params *params, void *fdt);
f5fba9d2
SW
12
13 int mpic_version;
b88e77f4 14 bool has_mpc8xxx_gpio;
f7087343
AG
15 bool has_platform_bus;
16 hwaddr platform_bus_base;
17 hwaddr platform_bus_size;
18 int platform_bus_first_irq;
19 int platform_bus_num_irqs;
2eaaac1f
AG
20 hwaddr ccsrbar_base;
21 hwaddr pci_pio_base;
cb3778a0
AG
22 hwaddr pci_mmio_base;
23 hwaddr pci_mmio_bus_base;
2eaaac1f 24 hwaddr spin_base;
e6eaabeb
SW
25} PPCE500Params;
26
3ef96221 27void ppce500_init(MachineState *machine, PPCE500Params *params);
e6eaabeb 28
a36848ff
AL
29hwaddr booke206_page_size_to_tlb(uint64_t size);
30
e6eaabeb 31#endif