]>
Commit | Line | Data |
---|---|---|
8016da21 | 1 | /** @file\r |
2 | Platform CSM Support Library\r | |
3 | \r | |
4 | Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | \r | |
6 | This program and the accompanying materials are\r | |
7 | licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #include "CsmSupportLib.h"\r | |
17 | \r | |
18 | /**\r | |
19 | The constructor function for the platform CSM support library\r | |
20 | \r | |
21 | @retval EFI_SUCCESS The constructor always returns RETURN_SUCCESS.\r | |
22 | \r | |
23 | **/\r | |
24 | RETURN_STATUS\r | |
25 | EFIAPI\r | |
26 | CsmSupportLibConstructor (\r | |
27 | VOID\r | |
28 | )\r | |
29 | {\r | |
30 | LegacyRegionInit ();\r | |
31 | \r | |
32 | LegacyInterruptInstall ();\r | |
33 | \r | |
34 | LegacyBiosPlatformInstall ();\r | |
35 | \r | |
36 | return EFI_SUCCESS;\r | |
37 | }\r | |
38 | \r |