summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c
blob: 533b078593788bfcced5af736ee30e51eb871254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/** @file
  Platform CSM Support Library

  Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>

  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#include "CsmSupportLib.h"

/**
  The constructor function for the platform CSM support library

  @retval EFI_SUCCESS   The constructor always returns RETURN_SUCCESS.

**/
RETURN_STATUS
EFIAPI
CsmSupportLibConstructor (
  VOID
  )
{
  LegacyRegionInit ();

  LegacyInterruptInstall ();

  LegacyBiosPlatformInstall ();

  return EFI_SUCCESS;
}