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