]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Hand.h
Code Scrub for Dxe Core.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Hand.h
index e119b9339e89166f88583958f12bbd56968dfacf..b187336ba041334c4712ccdaa7c6c379869a33e1 100644 (file)
@@ -25,7 +25,7 @@ typedef struct {
   UINTN               Signature;\r
   LIST_ENTRY          AllHandles;     // All handles list of IHANDLE\r
   LIST_ENTRY          Protocols;      // List of PROTOCOL_INTERFACE's for this handle\r
-  UINTN               LocateRequest;  // \r
+  UINTN               LocateRequest;  //\r
   UINT64              Key;            // The Handle Database Key value when this handle was last created or modified\r
 } IHANDLE;\r
 \r
@@ -33,7 +33,7 @@ typedef struct {
 \r
 \r
 //\r
-// PROTOCOL_ENTRY - each different protocol has 1 entry in the protocol \r
+// PROTOCOL_ENTRY - each different protocol has 1 entry in the protocol\r
 // database.  Each handler that supports this protocol is listed, along\r
 // with a list of registered notifies.\r
 //\r
@@ -60,10 +60,10 @@ typedef struct {
   LIST_ENTRY                  ByProtocol; // Link on PROTOCOL_ENTRY.Protocols\r
   PROTOCOL_ENTRY              *Protocol;  // The protocol ID\r
   VOID                        *Interface; // The interface value\r
-                                          \r
+\r
   LIST_ENTRY                  OpenList;       // OPEN_PROTOCOL_DATA list.\r
-  UINTN                       OpenListCount;  \r
-  \r
+  UINTN                       OpenListCount;\r
+\r
   EFI_HANDLE                  ControllerHandle;\r
 \r
 } PROTOCOL_INTERFACE;\r
@@ -104,8 +104,8 @@ typedef struct {
   Finds the protocol entry for the requested protocol.\r
   The gProtocolDatabaseLock must be owned\r
 \r
-  @param  Protocol               The ID of the protocol \r
-  @param  Create                 Create a new entry if not found \r
+  @param  Protocol               The ID of the protocol\r
+  @param  Create                 Create a new entry if not found\r
 \r
   @return Protocol entry\r
 \r
@@ -134,9 +134,9 @@ CoreNotifyProtocolEntry (
   Note: This function doesn't do parameters checking, it's caller's responsibility\r
   to pass in valid parameters.\r
 \r
-  @param  Handle                 The handle to search the protocol on \r
-  @param  Protocol               GUID of the protocol \r
-  @param  Interface              The interface for the protocol being searched \r
+  @param  Handle                 The handle to search the protocol on\r
+  @param  Protocol               GUID of the protocol\r
+  @param  Interface              The interface for the protocol being searched\r
 \r
   @return Protocol instance (NULL: Not found)\r
 \r
@@ -152,9 +152,9 @@ CoreFindProtocolInterface (
 /**\r
   Removes Protocol from the protocol list (but not the handle list).\r
 \r
-  @param  Handle                 The handle to remove protocol on. \r
-  @param  Protocol               GUID of the protocol to be moved \r
-  @param  Interface              The interface of the protocol \r
+  @param  Handle                 The handle to remove protocol on.\r
+  @param  Protocol               GUID of the protocol to be moved\r
+  @param  Interface              The interface of the protocol\r
 \r
   @return Protocol Entry\r
 \r
@@ -170,8 +170,8 @@ CoreRemoveInterfaceFromProtocol (
 /**\r
   Removes all the events in the protocol database that match Event.\r
 \r
-  @param  Event                  The event to search for in the protocol \r
-                                 database. \r
+  @param  Event                  The event to search for in the protocol\r
+                                 database.\r
 \r
   @return EFI_SUCCESS when done searching the entire database.\r
 \r
@@ -184,29 +184,29 @@ CoreUnregisterProtocolNotify (
 /**\r
   Connects a controller to a driver.\r
 \r
-  @param  ControllerHandle                      Handle of the controller to be \r
-                                                connected. \r
-  @param  ContextDriverImageHandles             DriverImageHandle A pointer to an \r
-                                                ordered list of driver image \r
-                                                handles. \r
-  @param  RemainingDevicePath                   RemainingDevicePath A pointer to \r
-                                                the device path that specifies a \r
-                                                child  of the controller \r
-                                                specified by ControllerHandle. \r
-\r
-  @retval EFI_SUCCESS                           One or more drivers were \r
-                                                connected to ControllerHandle. \r
-  @retval EFI_OUT_OF_RESOURCES                  No enough system resources to \r
-                                                complete the request. \r
-  @retval EFI_NOT_FOUND                         No drivers were connected to \r
+  @param  ControllerHandle                      Handle of the controller to be\r
+                                                connected.\r
+  @param  ContextDriverImageHandles             DriverImageHandle A pointer to an\r
+                                                ordered list of driver image\r
+                                                handles.\r
+  @param  RemainingDevicePath                   RemainingDevicePath A pointer to\r
+                                                the device path that specifies a\r
+                                                child  of the controller\r
+                                                specified by ControllerHandle.\r
+\r
+  @retval EFI_SUCCESS                           One or more drivers were\r
+                                                connected to ControllerHandle.\r
+  @retval EFI_OUT_OF_RESOURCES                  No enough system resources to\r
+                                                complete the request.\r
+  @retval EFI_NOT_FOUND                         No drivers were connected to\r
                                                 ControllerHandle.\r
 \r
 **/\r
-EFI_STATUS \r
+EFI_STATUS\r
 CoreConnectSingleController (\r
   IN  EFI_HANDLE                ControllerHandle,\r
   IN  EFI_HANDLE                *ContextDriverImageHandles OPTIONAL,\r
-  IN  EFI_DEVICE_PATH_PROTOCOL  *RemainingDevicePath       OPTIONAL     \r
+  IN  EFI_DEVICE_PATH_PROTOCOL  *RemainingDevicePath       OPTIONAL\r
   );\r
 \r
 /**\r
@@ -215,11 +215,11 @@ CoreConnectSingleController (
   Note: This function doesn't do parameters checking, it's caller's responsibility\r
   to pass in valid parameters.\r
 \r
-  @param  UserHandle             The handle on which the protocol is installed \r
-  @param  Prot                   The protocol to disconnect drivers from \r
+  @param  UserHandle             The handle on which the protocol is installed\r
+  @param  Prot                   The protocol to disconnect drivers from\r
 \r
-  @retval EFI_SUCCESS            Drivers using the protocol interface are all \r
-                                 disconnected \r
+  @retval EFI_SUCCESS            Drivers using the protocol interface are all\r
+                                 disconnected\r
   @retval EFI_ACCESS_DENIED      Failed to disconnect one or all of the drivers\r
 \r
 **/\r
@@ -253,9 +253,9 @@ CoreReleaseProtocolLock (
 /**\r
   Check whether a handle is a valid EFI_HANDLE\r
 \r
-  @param  UserHandle             The handle to check \r
+  @param  UserHandle             The handle to check\r
 \r
-  @retval EFI_INVALID_PARAMETER  The handle is NULL or not a valid EFI_HANDLE. \r
+  @retval EFI_INVALID_PARAMETER  The handle is NULL or not a valid EFI_HANDLE.\r
   @retval EFI_SUCCESS            The handle is valid EFI_HANDLE.\r
 \r
 **/\r