Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  pci-bridge.h   Sprache: C

 
/*
 * include/asm-xtensa/pci-bridge.h
 *
 * This file is subject to the terms and conditions of the GNU General
 * Public License.  See the file "COPYING" in the main directory of
 * this archive for more details.
 *
 * Copyright (C) 2005 Tensilica Inc.
 */


#ifndef _XTENSA_PCI_BRIDGE_H
#define _XTENSA_PCI_BRIDGE_H

struct device_node;
struct pci_controller;

/*
 * pciauto_bus_scan() enumerates the pci space.
 */


extern int pciauto_bus_scan(struct pci_controller *, int);

struct pci_space {
 unsigned long start;
 unsigned long end;
 unsigned long base;
};

/*
 * Structure of a PCI controller (host bridge)
 */


struct pci_controller {
 int index;   /* used for pci_controller_num */
 struct pci_controller *next;
 struct pci_bus *bus;
 void *arch_data;

 int first_busno;
 int last_busno;

 struct pci_ops *ops;
 volatile unsigned int *cfg_addr;
 volatile unsigned char *cfg_data;

 /* Currently, we limit ourselves to 1 IO range and 3 mem
 * ranges since the common pci_bus structure can't handle more
 */

 struct resource io_resource;
 struct resource mem_resources[3];
 int mem_resource_count;

 /* Host bridge I/O and Memory space
 * Used for BAR placement algorithms
 */

 struct pci_space io_space;
 struct pci_space mem_space;

 /* Return the interrupt number fo a device. */
 int (*map_irq)(struct pci_dev*, u8, u8);

};

static inline void pcibios_init_resource(struct resource *res,
  unsigned long start, unsigned long end, int flags, char *name)
{
 res->start = start;
 res->end = end;
 res->flags = flags;
 res->name = name;
 res->parent = NULL;
 res->sibling = NULL;
 res->child = NULL;
}

#endif /* _XTENSA_PCI_BRIDGE_H */

Messung V0.5
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge