pci_mgr.bas

PCI Configuration Space Manager

Author

Marcel Sondaar

License

Public Domain

Summary
pci_mgr.basPCI Configuration Space Manager
Functions
ModMainInitialises the interface
pcimgr_handlerhandles the incoming calls
pcimgr_handlerstubconverts the register calling convention into a FB-compatible convention

Functions

ModMain

Public Sub ModMain CDecl Alias "main" ()

Initialises the interface

pcimgr_handler

Sub pcimgr_handler (ByVal f As Long,
ByVal device As Long,
ByVal param3 As Long,
ByVal param4 As Long)

handles the incoming calls

in

ffirst (mangled) parameter
devicesecond parameter
param3third parameter
param4fourth parameter

out

ffirst return paramter (success value)
devicesecond return parameter
param3third return parameter
param4fourth return parameter

pcimgr_handlerstub

Sub pcimgr_handlerstub()

converts the register calling convention into a FB-compatible convention

Public Sub ModMain CDecl Alias "main" ()
Initialises the interface
Sub pcimgr_handler (ByVal f As Long,
ByVal device As Long,
ByVal param3 As Long,
ByVal param4 As Long)
handles the incoming calls
Sub pcimgr_handlerstub()
converts the register calling convention into a FB-compatible convention