EFI Driver Model Library.\r
\r
Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name: UefiDriverModelLib.c\r
\r
/**\r
The constructor function installs the standard EFI Driver Model Protocols.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always return EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiDriverModelLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
\r
//\r
// Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol\r
- // These are all checks against const pointers, so the optimizing compiler will only select one of the \r
+ // These are all checks against const pointers, so the optimizing compiler will only select one of the\r
// calls to InstallMultipleProtocolInterfaces()\r
//\r
if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) {\r
/**\r
The destructor function uninstalls the standard EFI Driver Model Protocols.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The destructor always return EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiDriverModelLibDestructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
\r
//\r
// Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol\r
- // These are all checks against const pointers, so the optimizing compiler will only select one of the \r
+ // These are all checks against const pointers, so the optimizing compiler will only select one of the\r
// calls to InstallMultipleProtocolInterfaces()\r
//\r
if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) {\r