Chameleon

Chameleon Svn Source Tree

Root/branches/meklort/i386/libsaio/pci_setup.c

Source at commit 840 created 12 years 11 months ago.
By azimutz, Following r820: - removed a duplicate "execute_hook("Kernel Start"..." - checked and added missing "boot_args/boot_args_pre_lion" stuff - small tweaks to "kDefaultCachePath..." and "gMacOSVersion" - enabled masking out of Pic interrupts on asm.s (thanks to DHP) - comment edits - reverted to XCode 3.2.6 build environment Folder is now on a working state :)
1#include "libsaio.h"
2#include "boot.h"
3#include "bootstruct.h"
4#include "pci.h"
5#include "modules.h"
6
7void setup_pci_devs(pci_dt_t *pci_dt)
8{
9pci_dt_t *current = pci_dt;
10
11
12while (current)
13{
14execute_hook("PCIDevice", current, NULL, NULL, NULL);
15
16setup_pci_devs(current->children);
17current = current->next;
18}
19}
20

Archive Download this file

Revision: 840