X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FUefiDriverModelLib%2FUefiDriverModelLib.c;h=5795e5ae50d459d2ba85c068c98617d9b6f3a386;hp=4550937efdae6977674000c0aff54d75b49b7d69;hb=a8e756dad00a922dabe8a9f7d67c25e0d637538f;hpb=2f2c367ad87e3f1d00cf26835c39800395e42b1a diff --git a/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c b/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c index 4550937efd..5795e5ae50 100644 --- a/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c +++ b/MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.c @@ -2,13 +2,13 @@ EFI Driver Model Library. Copyright (c) 2006, Intel Corporation
- All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. Module Name: UefiDriverModelLib.c @@ -19,13 +19,14 @@ /** The constructor function installs the standard EFI Driver Model Protocols. - @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] ImageHandle The firmware allocated handle for the EFI image. @param[in] SystemTable A pointer to the EFI System Table. - + @retval EFI_SUCCESS The constructor always return EFI_SUCCESS. **/ EFI_STATUS +EFIAPI UefiDriverModelLibConstructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable @@ -59,7 +60,7 @@ UefiDriverModelLibConstructor ( // // Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol - // These are all checks against const pointers, so the optimizing compiler will only select one of the + // These are all checks against const pointers, so the optimizing compiler will only select one of the // calls to InstallMultipleProtocolInterfaces() // if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) { @@ -230,13 +231,14 @@ UefiDriverModelLibConstructor ( /** The destructor function uninstalls the standard EFI Driver Model Protocols. - @param[in] ImageHandle The firmware allocated handle for the EFI image. + @param[in] ImageHandle The firmware allocated handle for the EFI image. @param[in] SystemTable A pointer to the EFI System Table. - + @retval EFI_SUCCESS The destructor always return EFI_SUCCESS. **/ EFI_STATUS +EFIAPI UefiDriverModelLibDestructor ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable @@ -269,7 +271,7 @@ UefiDriverModelLibDestructor ( // // Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol - // These are all checks against const pointers, so the optimizing compiler will only select one of the + // These are all checks against const pointers, so the optimizing compiler will only select one of the // calls to InstallMultipleProtocolInterfaces() // if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) {