X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSimpleNetwork.h;h=74c5163fbb9006940412d33a13e23f62e502c186;hp=a1a9224704534c357319d759685846b677b49518;hb=4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086;hpb=bb80e3b213f1d9409cd97a63e4d40191ce502912 diff --git a/MdePkg/Include/Protocol/SimpleNetwork.h b/MdePkg/Include/Protocol/SimpleNetwork.h index a1a9224704..74c5163fbb 100644 --- a/MdePkg/Include/Protocol/SimpleNetwork.h +++ b/MdePkg/Include/Protocol/SimpleNetwork.h @@ -8,7 +8,7 @@ MCast - MultiCast ... - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -565,6 +565,75 @@ EFI_STATUS // #define EFI_SIMPLE_NETWORK_INTERFACE_REVISION EFI_SIMPLE_NETWORK_PROTOCOL_REVISION +/** + @par Protocol Description: + The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access + to a network adapter. Once the network adapter initializes, + the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that + allow packets to be transmitted and received. + + @param Revision + Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must + be backwards compatible. If a future version is not backwards compatible + it is not the same GUID. + + @param Start + Prepares the network interface for further command operations. + No other EFI_SIMPLE_NETWORK_PROTOCOL interface functions will operate + until this call is made. + + @param Stop + Stops further network interface command processing. + No other EFI_SIMPLE_NETWORK_PROTOCOL interface functions will operate + after this call is made until another Start() call is made. + + @param Initialize + Resets the network adapter and allocates the transmit and receive buffers. + + @param Reset + Resets the network adapter and reinitializes it with the parameters + provided in the previous call to Initialize(). + + @param Shutdown + Resets the network adapter and leaves it in a state safe for another driver + to initialize. The memory buffers assigned in the Initialize() call are released. + After this call, only the Initialize() or Stop() calls may be used. + + @param ReceiveFilters + Enables and disables the receive filters for the network interface and, + if supported, manages the filtered multicast + HW MAC (Hardware Media Access Control) address list. + + @param StationAddress + Modifies or resets the current station address, if supported. + + @param Statistics + Collects statistics from the network interface and allows the statistics to be reset. + + @param MCastIpToMac + Maps a multicast IP address to a multicast HW MAC address. + + @param NvData + Reads and writes the contents of the NVRAM devices attached to the network interface. + + @param GetStatus + Reads the current interrupt status and the list of recycled transmit + buffers from the network interface. + + @param Transmit + Places a packet in the transmit queue. + + @param Receive + Retrieves a packet from the receive queue, along with the status + flags that describe the packet type. + + @param WaitForPacket + Event used with WaitForEvent() to wait for a packet to be received. + + @param Mode + Pointer to the EFI_SIMPLE_NETWORK_MODE data for the device. + +**/ struct _EFI_SIMPLE_NETWORK_PROTOCOL { UINT64 Revision; EFI_SIMPLE_NETWORK_START Start;