]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/EmuSnpDxe/EmuSnpDxe.c
EmulatorPkg: Remove all trailing whitespace
[mirror_edk2.git] / EmulatorPkg / EmuSnpDxe / EmuSnpDxe.c
index 4432218b511e0500ba3773ac82c89af3341d2d46..7f8a643e8a3abf74a074b223c23f5acc8078aad6 100644 (file)
@@ -24,20 +24,20 @@ Abstract:
 \r
 \r
 EFI_SIMPLE_NETWORK_PROTOCOL gEmuSnpTemplate = {\r
 \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
   NULL,                     // WaitForPacket\r
   NULL                      // Mode\r
  };\r
@@ -94,8 +94,8 @@ EmuSnpStop (
 \r
 \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
   of additional transmit and receive buffers.\r
 \r
   @param  This              Protocol instance pointer.\r
@@ -131,8 +131,8 @@ EmuSnpInitialize (
 }\r
 \r
 /**\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
   @param  This                 Protocol instance pointer.\r
   @param  ExtendedVerification Indicates that the driver may perform a more\r
@@ -159,7 +159,7 @@ EmuSnpReset (
 }\r
 \r
 /**\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
   another driver to initialize.\r
 \r
   @param  This Protocol instance pointer.\r
@@ -334,7 +334,7 @@ EmuSnpMcastIptoMac (
 \r
 \r
 /**\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
   network interface.\r
 \r
   @param  This         Protocol instance pointer.\r
@@ -370,7 +370,7 @@ EmuSnpNvdata (
 \r
 \r
 /**\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
   a network interface.\r
 \r
   @param  This            Protocol instance pointer.\r
@@ -568,8 +568,8 @@ EmuSnpDriverBindingSupported (
       }\r
     }\r
   }\r
       }\r
     }\r
   }\r
-  \r
-  \r
+\r
+\r
   //\r
   // Open the IO Abstraction(s) needed to perform the supported test\r
   //\r
   //\r
   // Open the IO Abstraction(s) needed to perform the supported test\r
   //\r
@@ -602,8 +602,8 @@ EmuSnpDriverBindingSupported (
         This->DriverBindingHandle,\r
         ControllerHandle\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
   //\r
   // Open the EFI Device Path protocol needed to perform the supported test\r
   //\r
@@ -724,7 +724,7 @@ EmuSnpDriverBindingStart (
   Private->Snp.Mode     = &Private->Mode;\r
   Private->ControllerNameTable = NULL;\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
   Status = Private->Io->CreateMapping (Private->Io, &Private->Mode);\r
   if (EFI_ERROR (Status)) {\r
     goto Done;\r
@@ -760,7 +760,7 @@ EmuSnpDriverBindingStart (
     EmuIoThunk->ConfigString,\r
     TRUE\r
     );\r
     EmuIoThunk->ConfigString,\r
     TRUE\r
     );\r
-    \r
+\r
   AddUnicodeString2 (\r
     "en",\r
     gEmuSnpDriverComponentName2.SupportedLanguages,\r
   AddUnicodeString2 (\r
     "en",\r
     gEmuSnpDriverComponentName2.SupportedLanguages,\r
@@ -819,7 +819,7 @@ Done:
   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
   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
   @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
@@ -867,8 +867,8 @@ EmuSnpDriverBindingStop (
   }\r
 \r
   ASSERT (NumberOfChildren == 1);\r
   }\r
 \r
   ASSERT (NumberOfChildren == 1);\r
-  \r
-  \r
+\r
+\r
   //\r
   // Get our context back.\r
   //\r
   //\r
   // Get our context back.\r
   //\r