swapped out pci initialization into separate source file (still needs some testing bevore removing the original)

This commit is contained in:
Markus Fröschle
2013-10-21 10:03:00 +00:00
parent 33240aa13d
commit 22ee5f01c1
5 changed files with 45 additions and 21 deletions

View File

@@ -1,10 +1,13 @@
#ifndef _PCI_H_
#define _PCI_H_
#define PCI_MEMORY_OFFSET 0x80000000
#define PCI_MEMORY_SIZE 0x40000000
#define PCI_IO_OFFSET 0xB0000000
#define PCI_IO_SIZE 0x10000000
#define PCI_MEMORY_OFFSET (0x80000000)
#define PCI_MEMORY_SIZE (0x40000000)
#define PCI_IO_OFFSET (0xD0000000)
#define PCI_IO_SIZE (0x10000000)
extern void init_eport(void);
extern void init_xlbus_arbiter(void);
extern void init_pci(void);
#endif /* _PCI_H_ */