bus_numa.h 625 B

1234567891011121314151617181920212223242526
  1. #ifdef CONFIG_X86_64
  2. /*
  3. * sub bus (transparent) will use entres from 3 to store extra from
  4. * root, so need to make sure we have enough slot there.
  5. */
  6. #define RES_NUM 16
  7. struct pci_root_info {
  8. char name[12];
  9. unsigned int res_num;
  10. struct resource res[RES_NUM];
  11. int bus_min;
  12. int bus_max;
  13. int node;
  14. int link;
  15. };
  16. /* 4 at this time, it may become to 32 */
  17. #define PCI_ROOT_NR 4
  18. extern int pci_root_num;
  19. extern struct pci_root_info pci_root_info[PCI_ROOT_NR];
  20. extern int found_all_numa_early;
  21. extern void update_res(struct pci_root_info *info, size_t start,
  22. size_t end, unsigned long flags, int merge);
  23. #endif