]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/EntryPoint.c
Update to BSD license header.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / Ps2MouseDxe / EntryPoint.c
CommitLineData
05fbd06d 1/**@file\r
2 Entry Point Source file.\r
3\r
4 This file contains the user entry point \r
5\r
92a428e1 6Copyright (c) 2006 - 2007, Intel Corporation\r
7All rights reserved. This program and the accompanying materials\r
8are licensed and made available under the terms and conditions of the BSD License\r
9which accompanies this distribution. The full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
05fbd06d 15**/\r
16\r
17\r
18//\r
19// Include common header file for this module.\r
20//\r
21#include "CommonHeader.h"\r
22\r
23/**\r
24 The user Entry Point for module Ps2Mouse. 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
35InitializePs2Mouse(\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 &gPS2MouseDriver,\r
49 ImageHandle,\r
50 &gPs2MouseComponentName,\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