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
\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
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
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
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
/**\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
/**\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
/**\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
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
/**\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