Changeset 81414 in vbox
- Timestamp:
- Oct 21, 2019 1:49:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r81410 r81414 2286 2286 * @param cb The size of the fragment. 2287 2287 */ 2288 static DECLCALLBACK(void)e1kStoreRxFragment(PPDMDEVINS pDevIns, PE1KSTATE pThis, E1KRXDESC *pDesc, const void *pvBuf, size_t cb)2288 static void e1kStoreRxFragment(PPDMDEVINS pDevIns, PE1KSTATE pThis, E1KRXDESC *pDesc, const void *pvBuf, size_t cb) 2289 2289 { 2290 2290 STAM_PROFILE_ADV_START(&pThis->StatReceiveStore, a); … … 2292 2292 pThis->szPrf, cb, pDesc->u64BufAddr, pDesc->status.fEOP)); 2293 2293 PDMDevHlpPCIPhysWrite(pDevIns, pDesc->u64BufAddr, pvBuf, cb); 2294 pDesc->u16Length = (uint16_t)cb; Assert(pDesc->u16Length == cb); 2294 pDesc->u16Length = (uint16_t)cb; 2295 Assert(pDesc->u16Length == cb); 2295 2296 STAM_PROFILE_ADV_STOP(&pThis->StatReceiveStore, a); 2297 RT_NOREF(pThis); 2296 2298 } 2297 2299 … … 2312 2314 * @param cb The size of the fragment. 2313 2315 */ 2314 static DECLCALLBACK(void)e1kStoreRxFragment(PPDMDEVINS pDevIns, PE1KSTATE pThis, E1KRXDESC *pDesc, const void *pvBuf, size_t cb)2316 static void e1kStoreRxFragment(PPDMDEVINS pDevIns, PE1KSTATE pThis, E1KRXDESC *pDesc, const void *pvBuf, size_t cb) 2315 2317 { 2316 2318 STAM_PROFILE_ADV_START(&pThis->StatReceiveStore, a);
Note:
See TracChangeset
for help on using the changeset viewer.