Mail Archives: djgpp/1997/07/26/06:17:59
Hello,
I am trying to detect and manage a PCI board.
I have found in http://www.surepath.ibm.com/documents/pcs/biospci.html description of PCIBIOS and how to do what I am interested in.
This document explains that various interfaces are provided (16 bits, 32 bits
interfaces). I allready have a 16 bits interface working, but I am interested in a real 32 bits interface.
The different steps to perform are:
1- Find the BIOS32 Data Structure that gives an Entry Point to the service directory (real 4 bytes address).
2- generate a call to this address to get 2 values to build code segment selector and data segment selector for accessing the requested service (PCI BIOS).
My current problem is to find how to generate the call to the physical address got in step 1.
I have tried __dpmi_simulate_real_mode_procedure_iret and ...._retf without success.
Does anybody have any idea, or, better of course, does anybody have some code implementing that ?
Thanks a lot.
Alain MERLE
CEA, France
email: alain DOT merle AT cea DOT fr
- Raw text -