]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/EntryPoint.c
Fixed a typo in PCD autogen template string
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / Ps2MouseDxe / 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
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 #include "Ps2Mouse.h"
19
20 /**
21 The user Entry Point for module Ps2Mouse. The user code starts with this function.
22
23 @param[in] ImageHandle The firmware allocated handle for the EFI image.
24 @param[in] SystemTable A pointer to the EFI System Table.
25
26 @retval EFI_SUCCESS The entry point is executed successfully.
27 @retval other Some error occurs when executing this entry point.
28
29 **/
30 EFI_STATUS
31 EFIAPI
32 InitializePs2Mouse(
33 IN EFI_HANDLE ImageHandle,
34 IN EFI_SYSTEM_TABLE *SystemTable
35 )
36 {
37 EFI_STATUS Status;
38
39 //
40 // Install driver model protocol(s).
41 //
42 Status = EfiLibInstallAllDriverProtocols (
43 ImageHandle,
44 SystemTable,
45 &gPS2MouseDriver,
46 ImageHandle,
47 &gPs2MouseComponentName,
48 NULL,
49 NULL
50 );
51 ASSERT_EFI_ERROR (Status);
52
53
54 return Status;
55 }