Changeset 151 for sbliveos2/trunk/drv16/rm.hpp
- Timestamp:
- May 28, 2000, 6:50:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbliveos2/trunk/drv16/rm.hpp
r142 r151 83 83 84 84 85 typedef struct 86 { 87 USHORT VendorID; 88 USHORT DeviceID; 89 USHORT Command; 90 USHORT Status; 91 UCHAR RevisionID; 92 UCHAR filler1[7]; 93 ULONG Bar0; 94 ULONG Bar1; 95 ULONG filler2[5]; 96 USHORT SubsystemVendorID; 97 USHORT SubsystemID; 98 ULONG filler3[3]; 99 UCHAR InterruptLine; 100 UCHAR InterruptPin; 101 UCHAR Max_Gnt; 102 UCHAR Max_Lat; 103 UCHAR TRDY_Timeout; 104 UCHAR Retry_Timeout; 105 UCHAR filler4[0x9a]; 106 UCHAR CapabilityID; 107 UCHAR NextItemPtr; 108 USHORT PowerMgtCapability; 109 USHORT PowerMgtCSR; 110 } PCIConfigData; 111 85 112 // This value indicates an empty entry in an LDev_Resource data item. 86 113 const USHORT NoIOValue = 0xffff; … … 126 153 public: // at bottom of file. 127 154 128 ResourceManager ( void );155 ResourceManager ( ULONG pciId ); 129 156 // Register the device driver (this activates the RM interface). 130 157 // Intention is that only one ResourceManager object is created … … 185 212 APIRET _rmCreateDevice( PSZ pszName, NPAHRESOURCE pahResource ); 186 213 214 BOOL getPCIConfiguration(ULONG pciId); 215 216 ULONG PCIConfig[64]; 217 PCIConfigData *pciConfigData; 218 187 219 }; 188 220
Note:
See TracChangeset
for help on using the changeset viewer.