Subversion Repositories HelenOS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. #include "pci.h"
  5. #include "pci_bus.h"
  6.  
  7. int main(int argc, char **argv)
  8. {
  9.     printf("PCI bus driver\n");
  10.    
  11.     if (!pci_bus_init()) {
  12.         printf("PCI bus initialization failed.\n");
  13.         return 1;
  14.     }
  15.    
  16.     // TODO: write driver of some device and initialize it here
  17.    
  18.     return 0;
  19. }
  20.