Page 1 of 1

PCIE PRogramming.

Posted: Sun Mar 11, 2012 12:52 am
by Mahavir
I am developing a operating system it is a 64 bit operating system.
I want a library that does all the PCIE operations in C language.
But I do not want to take it from linux kernel.
I need separate library for PCIE programming.
Please help me for any resource available in internet.

With Regards,
Mahavir .D

Re: PCIE PRogramming.

Posted: Sun Mar 11, 2012 1:01 am
by Mahavir
Is it possible to program PCIE through BIOS interrupts.
Please Help...
I want to know details about the interrupts for PCIE programming.
If possible guide me by giving links in internet...

With Regards,
Mahavir .D

Re: PCIE PRogramming.

Posted: Sun Mar 11, 2012 1:13 am
by VolTeK
Image


Have you taken a look at that first?

Re: PCIE PRogramming.

Posted: Sun Mar 11, 2012 1:14 am
by Love4Boobies
There is such a thing as a PCI firmware, the description of which you will find in the appropriate specification, but as with everything else, you mostly want to stay away from the firmware's services except for the boot loader because the routines are typically not reentrant, they are not designed to perform well and are in fact often times buggy given that no one bothers to use them, they are not available in long mode, etc.

What you really want to do is to read the PCI specifications. A library is not really feasible beacuse each OS has its own design.