int (*probe)(void); void (*setup_arch)(void); /* Optional, may be NULL */ /* Optional, may be NULL. */ void (*show_cpuinfo)(struct seq_file *m); /* Returns the current operating frequency of "cpu" in Hz */ unsignedlong (*get_proc_freq)(unsignedint cpu);
void (*init_IRQ)(void);
/* Return an irq, or 0 to indicate there are none pending. */ unsignedint (*get_irq)(void);
/* PCI stuff */ /* Called after allocating resources */ void (*pcibios_fixup)(void); void (*pci_irq_fixup)(struct pci_dev *dev); int (*pcibios_root_bridge_prepare)(struct pci_host_bridge
*bridge);
/* finds all the pci_controllers present at boot */ void (*discover_phbs)(void);
/* To setup PHBs when using automatic OF platform driver for PCI */ int (*pci_setup_phb)(struct pci_controller *host);
/* Exception handlers */ int (*system_reset_exception)(struct pt_regs *regs); int (*machine_check_exception)(struct pt_regs *regs); int (*handle_hmi_exception)(struct pt_regs *regs);
/* Early exception handlers called in realmode */ int (*hmi_exception_early)(struct pt_regs *regs); long (*machine_check_early)(struct pt_regs *regs);
/* Called during machine check exception to retrive fixup address. */ bool (*mce_check_early_recovery)(struct pt_regs *regs);
void (*machine_check_log_err)(void);
/* Motherboard/chipset features. This is a kind of general purpose * hook used to control some machine specific features (like reset * lines, chip power control, etc...).
*/ long (*feature_call)(unsignedint feature, ...);
/* Get legacy PCI/IDE interrupt mapping */ int (*pci_get_legacy_ide_irq)(struct pci_dev *dev, int channel);
/* Get access protection for /dev/mem */
pgprot_t (*phys_mem_access_prot)(unsignedlong pfn, unsignedlong size,
pgprot_t vma_prot);
/* * Function for waiting for work with reduced power in idle loop; * called with interrupts disabled.
*/ void (*power_save)(void);
/* Function to enable performance monitor counters for this
platform, called once per cpu. */ void (*enable_pmcs)(void);
/* Set DABR for this platform, leave empty for default implementation */ int (*set_dabr)(unsignedlong dabr, unsignedlong dabrx);
/* Set DAWR for this platform, leave empty for default implementation */ int (*set_dawr)(int nr, unsignedlong dawr, unsignedlong dawrx);
#ifdef CONFIG_PPC32 /* XXX for now */ /* A general init function, called by ppc_init in init/main.c.
May be NULL. */ void (*init)(void);
/* * optional PCI "hooks"
*/ /* Called at then very end of pcibios_init() */ void (*pcibios_after_init)(void);
#endif/* CONFIG_PPC32 */
/* Called in indirect_* to avoid touching devices */ int (*pci_exclude_device)(struct pci_controller *, unsignedchar, unsignedchar);
/* Called after PPC generic resource fixup to perform
machine specific fixups */ void (*pcibios_fixup_resources)(struct pci_dev *);
/* Called for each PCI bus in the system when it's probed */ void (*pcibios_fixup_bus)(struct pci_bus *);
/* Called after scan and before resource survey */ void (*pcibios_fixup_phb)(struct pci_controller *hose);
/* * Called after device has been added to bus and * before sysfs has been created.
*/ void (*pcibios_bus_add_device)(struct pci_dev *pdev);
#ifdef CONFIG_PCI_IOV void (*pcibios_fixup_sriov)(struct pci_dev *pdev);
resource_size_t (*pcibios_iov_resource_alignment)(struct pci_dev *, int resno); int (*pcibios_sriov_enable)(struct pci_dev *pdev, u16 num_vfs); int (*pcibios_sriov_disable)(struct pci_dev *pdev); #endif/* CONFIG_PCI_IOV */
/* Called to shutdown machine specific hardware not already controlled * by other drivers.
*/ void (*machine_shutdown)(void);
#ifdef CONFIG_KEXEC_CORE void (*kexec_cpu_down)(int crash_shutdown, int secondary);
/* Called to perform the _real_ kexec. * Do NOT allocate memory or fail here. We are past the point of * no return.
*/ void (*machine_kexec)(struct kimage *image); #endif/* CONFIG_KEXEC_CORE */
#ifdef CONFIG_SUSPEND /* These are called to disable and enable, respectively, IRQs when * entering a suspend state. If NULL, then the generic versions * will be called. The generic versions disable/enable the * decrementer along with interrupts.
*/ void (*suspend_disable_irqs)(void); void (*suspend_enable_irqs)(void); #endif
/* * ppc_md contains a copy of the machine description structure for the * current platform. machine_id contains the initial address where the * description was found during boot.
*/ externstruct machdep_calls ppc_md; externstruct machdep_calls *machine_id;
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.0Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.