|
version 3.2, 1999/12/06 03:52:41
|
version 3.3, 2000/02/08 13:13:06
|
|
|
|
| } pciSave, *pciSavePtr; | } pciSave, *pciSavePtr; |
| | |
| typedef void (*SetBitsProcPtr)(PCITAG, int, CARD32, CARD32); | typedef void (*SetBitsProcPtr)(PCITAG, int, CARD32, CARD32); |
| |
typedef void (*WriteProcPtr)(PCITAG, int, CARD32); |
| | |
| typedef struct { | typedef struct { |
| PCITAG tag; | PCITAG tag; |
| |
#ifdef notanymore |
| SetBitsProcPtr func; | SetBitsProcPtr func; |
| |
#endif |
| |
WriteProcPtr func; |
| |
CARD32 ctrl; |
| } pciArg; | } pciArg; |
| | |
| typedef struct pci_io { | typedef struct pci_io { |
|
|
|
| xf86AccessRec io_memAccess; | xf86AccessRec io_memAccess; |
| xf86AccessRec memAccess; | xf86AccessRec memAccess; |
| pciSave save; | pciSave save; |
| |
#ifdef notanymore2 |
| pciSave restore; | pciSave restore; |
| |
#endif |
| Bool ctrl; | Bool ctrl; |
| } pciAccRec, *pciAccPtr; | } pciAccRec, *pciAccPtr; |
| | |
|
|
|
| void PciStateLeave(void); | void PciStateLeave(void); |
| void PciBusStateLeave(void); | void PciBusStateLeave(void); |
| resPtr ResourceBrokerInitPci(resPtr *osRes); | resPtr ResourceBrokerInitPci(resPtr *osRes); |
| |
void pciConvertRange2Host(int entityIndex, resRange *pRange); |
| |
void isaConvertRange2Host(resRange *pRange); |
| | |
| extern pciAccPtr * xf86PciAccInfo; | extern pciAccPtr * xf86PciAccInfo; |
| | |