Changeset 484 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 31, 2007 11:14:41 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18089
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r360 r484 141 141 uint16_t aMII[MII_MAX_REG]; 142 142 uint16_t u16CSR0LastSeenByGuest; /** @todo SSM!! */ 143 uint16_t Alignment0[HC_ARCH_BITS == 32 ? 2 : 4]; 143 144 /** Last time we polled the queues */ 144 145 uint64_t u64LastPoll; … … 168 169 169 170 /** Transmit signaller */ 171 GCPTRTYPE(PPDMQUEUE) pXmitQueueGC; 170 172 HCPTRTYPE(PPDMQUEUE) pXmitQueueHC; 171 GCPTRTYPE(PPDMQUEUE) pXmitQueueGC;172 173 173 174 /** Receive signaller */ 174 175 HCPTRTYPE(PPDMQUEUE) pCanRxQueueHC; 175 176 GCPTRTYPE(PPDMQUEUE) pCanRxQueueGC; 177 /** Pointer to the device instance. */ 178 GCPTRTYPE(PPDMDEVINS) pDevInsGC; 179 /** Pointer to the device instance. */ 180 HCPTRTYPE(PPDMDEVINS) pDevInsHC; 176 181 /** Restore timer. 177 182 * This is used to disconnect and reconnect the link after a restore. */ 178 183 PTMTIMERHC pTimerRestore; 179 /** Pointer to the device instance. */180 HCPTRTYPE(PPDMDEVINS) pDevInsHC;181 /** Pointer to the device instance. */182 GCPTRTYPE(PPDMDEVINS) pDevInsGC;183 184 /** Pointer to the connector of the attached network driver. */ 184 185 HCPTRTYPE(PPDMINETWORKCONNECTOR) pDrv; … … 232 233 bool fR0Enabled; 233 234 bool fAm79C973; 235 bool afAlignment[5]; 234 236 235 237 #ifdef VBOX_WITH_STATISTICS … … 525 527 #pragma pack() 526 528 529 530 #ifndef VBOX_DEVICE_STRUCT_TESTCASE 531 /******************************************************************************* 532 * Internal Functions * 533 *******************************************************************************/ 527 534 #define PRINT_TMD(T) Log(( \ 528 535 "TMD0 : TBADR=0x%08x\n" \ … … 925 932 } 926 933 927 /*******************************************************************************928 * Internal Functions *929 *******************************************************************************/930 934 __BEGIN_DECLS 931 935 PDMBOTHCBDECL(int) pcnetIOPortRead(PPDMDEVINS pDevIns, void *pvUser, … … 1231 1235 RTGCPHYS TDRAPageStart = pData->GCTDRA & ~PAGE_OFFSET_MASK; 1232 1236 RTGCPHYS TDRAPageEnd = (pcnetTdraAddr(pData, 0) - 1) & ~PAGE_OFFSET_MASK; 1233 1237 1234 1238 if ( RDRAPageStart > TDRAPageEnd 1235 1239 || TDRAPageStart > RDRAPageEnd) … … 4178 4182 4179 4183 #endif /* IN_RING3 */ 4184 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 4185
Note:
See TracChangeset
for help on using the changeset viewer.