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