Changeset 77662 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/VirtioNetDxe/VirtioNet.h
- Timestamp:
- Mar 12, 2019 12:40:12 PM (6 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776 /vendor/edk2/current 103735-103757,103769-103776,129194-129237
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/VirtioNetDxe/VirtioNet.h
r58464 r77662 5 5 6 6 Copyright (C) 2013, Red Hat, Inc. 7 Copyright (c) 2017, AMD Inc, All rights reserved.<BR> 7 8 8 9 This program and the accompanying materials are licensed and made available … … 26 27 #include <Protocol/DriverBinding.h> 27 28 #include <Protocol/SimpleNetwork.h> 29 #include <Library/OrderedCollectionLib.h> 28 30 29 31 #define VNET_SIG SIGNATURE_32 ('V', 'N', 'E', 'T') … … 83 85 84 86 VRING RxRing; // VirtioNetInitRing 87 VOID *RxRingMap; // VirtioRingMap and 88 // VirtioNetInitRing 85 89 UINT8 *RxBuf; // VirtioNetInitRx 86 90 UINT16 RxLastUsed; // VirtioNetInitRx 91 UINTN RxBufNrPages; // VirtioNetInitRx 92 EFI_PHYSICAL_ADDRESS RxBufDeviceBase; // VirtioNetInitRx 93 VOID *RxBufMap; // VirtioNetInitRx 87 94 88 95 VRING TxRing; // VirtioNetInitRing 96 VOID *TxRingMap; // VirtioRingMap and 97 // VirtioNetInitRing 89 98 UINT16 TxMaxPending; // VirtioNetInitTx 90 99 UINT16 TxCurPending; // VirtioNetInitTx 91 100 UINT16 *TxFreeStack; // VirtioNetInitTx 92 VIRTIO_NET_REQ TxSharedReq; // VirtioNetInitTx 101 VIRTIO_1_0_NET_REQ *TxSharedReq; // VirtioNetInitTx 102 VOID *TxSharedReqMap; // VirtioNetInitTx 93 103 UINT16 TxLastUsed; // VirtioNetInitTx 104 ORDERED_COLLECTION *TxBufCollection; // VirtioNetInitTx 94 105 } VNET_DEV; 95 106 … … 264 275 ); 265 276 277 VOID 278 EFIAPI 279 VirtioNetUninitRing ( 280 IN OUT VNET_DEV *Dev, 281 IN OUT VRING *Ring, 282 IN VOID *RingMap 283 ); 284 285 // 286 // utility functions to map caller-supplied Tx buffer system physical address 287 // to a device address and vice versa 288 // 289 EFI_STATUS 290 EFIAPI 291 VirtioNetMapTxBuf ( 292 IN VNET_DEV *Dev, 293 IN VOID *Buffer, 294 IN UINTN NumberOfBytes, 295 OUT EFI_PHYSICAL_ADDRESS *DeviceAddress 296 ); 297 298 EFI_STATUS 299 EFIAPI 300 VirtioNetUnmapTxBuf ( 301 IN VNET_DEV *Dev, 302 OUT VOID **Buffer, 303 IN EFI_PHYSICAL_ADDRESS DeviceAddress 304 ); 305 306 INTN 307 EFIAPI 308 VirtioNetTxBufMapInfoCompare ( 309 IN CONST VOID *UserStruct1, 310 IN CONST VOID *UserStruct2 311 ); 312 313 INTN 314 EFIAPI 315 VirtioNetTxBufDeviceAddressCompare ( 316 IN CONST VOID *StandaloneKey, 317 IN CONST VOID *UserStruct 318 ); 319 320 266 321 // 267 322 // event callbacks
Note:
See TracChangeset
for help on using the changeset viewer.