\r
\r
EFI_SIMPLE_NETWORK_PROTOCOL gEmuSnpTemplate = {\r
- EFI_SIMPLE_NETWORK_PROTOCOL_REVISION, \r
- EmuSnpStart, \r
- EmuSnpStop, \r
- EmuSnpInitialize, \r
- EmuSnpReset, \r
- EmuSnpShutdown, \r
- EmuSnpReceiveFilters, \r
- EmuSnpStationAddress, \r
- EmuSnpStatistics, \r
- EmuSnpMcastIptoMac, \r
- EmuSnpNvdata, \r
- EmuSnpGetStatus, \r
- EmuSnpTransmit, \r
- EmuSnpReceive, \r
+ EFI_SIMPLE_NETWORK_PROTOCOL_REVISION,\r
+ EmuSnpStart,\r
+ EmuSnpStop,\r
+ EmuSnpInitialize,\r
+ EmuSnpReset,\r
+ EmuSnpShutdown,\r
+ EmuSnpReceiveFilters,\r
+ EmuSnpStationAddress,\r
+ EmuSnpStatistics,\r
+ EmuSnpMcastIptoMac,\r
+ EmuSnpNvdata,\r
+ EmuSnpGetStatus,\r
+ EmuSnpTransmit,\r
+ EmuSnpReceive,\r
NULL, // WaitForPacket\r
NULL // Mode\r
};\r
\r
\r
/**\r
- Resets a network adapter and allocates the transmit and receive buffers \r
- required by the network interface; optionally, also requests allocation \r
+ Resets a network adapter and allocates the transmit and receive buffers\r
+ required by the network interface; optionally, also requests allocation\r
of additional transmit and receive buffers.\r
\r
@param This Protocol instance pointer.\r
}\r
\r
/**\r
- Resets a network adapter and re-initializes it with the parameters that were \r
- provided in the previous call to Initialize(). \r
+ Resets a network adapter and re-initializes it with the parameters that were\r
+ provided in the previous call to Initialize().\r
\r
@param This Protocol instance pointer.\r
@param ExtendedVerification Indicates that the driver may perform a more\r
}\r
\r
/**\r
- Resets a network adapter and leaves it in a state that is safe for \r
+ Resets a network adapter and leaves it in a state that is safe for\r
another driver to initialize.\r
\r
@param This Protocol instance pointer.\r
\r
\r
/**\r
- Performs read and write operations on the NVRAM device attached to a \r
+ Performs read and write operations on the NVRAM device attached to a\r
network interface.\r
\r
@param This Protocol instance pointer.\r
\r
\r
/**\r
- Reads the current interrupt status and recycled transmit buffer status from \r
+ Reads the current interrupt status and recycled transmit buffer status from\r
a network interface.\r
\r
@param This Protocol instance pointer.\r
}\r
}\r
}\r
- \r
- \r
+\r
+\r
//\r
// Open the IO Abstraction(s) needed to perform the supported test\r
//\r
This->DriverBindingHandle,\r
ControllerHandle\r
);\r
- \r
- \r
+\r
+\r
//\r
// Open the EFI Device Path protocol needed to perform the supported test\r
//\r
Private->Snp.Mode = &Private->Mode;\r
Private->ControllerNameTable = NULL;\r
\r
- \r
+\r
Status = Private->Io->CreateMapping (Private->Io, &Private->Mode);\r
if (EFI_ERROR (Status)) {\r
goto Done;\r
EmuIoThunk->ConfigString,\r
TRUE\r
);\r
- \r
+\r
AddUnicodeString2 (\r
"en",\r
gEmuSnpDriverComponentName2.SupportedLanguages,\r
restrictions for this service. DisconnectController()\r
must follow these calling restrictions. If any other agent wishes\r
to call Stop() it must also follow these calling restrictions.\r
- \r
+\r
@param This Protocol instance pointer.\r
@param ControllerHandle Handle of device to stop driver on\r
@param NumberOfChildren Number of Handles in ChildHandleBuffer. If number of\r
}\r
\r
ASSERT (NumberOfChildren == 1);\r
- \r
- \r
+\r
+\r
//\r
// Get our context back.\r
//\r