]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/EntryPoint.c
Update to BSD license header.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / IsaBusDxe / EntryPoint.c
CommitLineData
c3902377 1/**@file\r
2 Entry Point Source file.\r
3\r
4 This file contains the user entry point \r
5\r
3e0578d2 6 Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
7 All rights reserved. This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
c3902377 15**/\r
16\r
17\r
18//\r
19// Include common header file for this module.\r
20//\r
21#include "InternalIsaBus.h"\r
22\r
23/**\r
24 The user Entry Point for module IsaBus. The user code starts with this function.\r
25\r
26 @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
27 @param[in] SystemTable A pointer to the EFI System Table.\r
28 \r
29 @retval EFI_SUCCESS The entry point is executed successfully.\r
30 @retval other Some error occurs when executing this entry point.\r
31\r
32**/\r
33EFI_STATUS\r
34EFIAPI\r
35InitializeIsaBus(\r
36 IN EFI_HANDLE ImageHandle,\r
37 IN EFI_SYSTEM_TABLE *SystemTable\r
38 )\r
39{\r
40 EFI_STATUS Status;\r
41\r
42 //\r
43 // Install driver model protocol(s).\r
44 //\r
45 Status = EfiLibInstallAllDriverProtocols (\r
46 ImageHandle,\r
47 SystemTable,\r
48 &gIsaBusControllerDriver,\r
49 ImageHandle,\r
50 &gIsaBusComponentName,\r
51 NULL,\r
52 NULL\r
53 );\r
54 ASSERT_EFI_ERROR (Status);\r
55\r
56\r
57 return Status;\r
58}\r