Should I search all the files in kernel directory to find this function? I searched in pci32.inc but nothing, my goal is to find the io base address and irq line of the rtl8029 network card so I can write my own driver, so please would you give me a hint on how can I find those functions so I can understand every thing? Is there a way to debug the boot process and track every thing that happens from boot until all drivers are ready, this would help understanding the boot process and how is every thing set up especially the network drivers.
If you actually look at the files I pointed you to, you'll see that the name of the function in kernel is not always the same as the name that is used in the driver.
In exports.inc, you'll find the line
pci_read32, 'PciRead32', \ ; stdcall
The function in kernel is thus called 'pci_read32'.
Now you can use a tool to search inside the contents of the file (windows search even can do this for you...)
You will find 3 files now exports.inc, dll.inc and apic.inc. We know it's not in exports.inc