X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=UnixPkg%2FUnixBusDriverDxe%2FEntryPoint.c;fp=UnixPkg%2FUnixBusDriverDxe%2FEntryPoint.c;h=0000000000000000000000000000000000000000;hp=b226e29aa4eaf0b1bab61af91467f2cb515b350b;hb=5d71a30480bdf7081f72485d6bf48361c244c4d7;hpb=bf6ee6c7c33cf280cdfb2fd0e6b66a712b7aa4a1 diff --git a/UnixPkg/UnixBusDriverDxe/EntryPoint.c b/UnixPkg/UnixBusDriverDxe/EntryPoint.c deleted file mode 100644 index b226e29aa4..0000000000 --- a/UnixPkg/UnixBusDriverDxe/EntryPoint.c +++ /dev/null @@ -1,51 +0,0 @@ -/**@file - Entry Point Source file. - - This file contains the user entry point - - Copyright (c) 2006 - 2008, 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 - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -**/ - - - -#include "UnixBusDriver.h" - -/** - The user Entry Point for module UnixBusDriver. The user code starts with this function. - - @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 entry point is executed successfully. - @retval other Some error occurs when executing this entry point. - -**/ -EFI_STATUS -EFIAPI -InitializeUnixBusDriver( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -{ - EFI_STATUS Status; - - Status = EfiLibInstallAllDriverProtocols ( - ImageHandle, - SystemTable, - &gUnixBusDriverBinding, - ImageHandle, - &gUnixBusDriverComponentName, - NULL, - NULL - ); - ASSERT_EFI_ERROR (Status); - - - return Status; -}