PCIE PRogramming.

Programming, for all ages and all languages.
Post Reply
Mahavir
Posts: 2
Joined: Sun Mar 11, 2012 12:45 am

PCIE PRogramming.

Post 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
Mahavir
Posts: 2
Joined: Sun Mar 11, 2012 12:45 am

Re: PCIE PRogramming.

Post 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
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: PCIE PRogramming.

Post by VolTeK »

Image


Have you taken a look at that first?
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: PCIE PRogramming.

Post 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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply