diff options
Diffstat (limited to 'roms/edk2/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c')
-rw-r--r-- | roms/edk2/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/roms/edk2/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c b/roms/edk2/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c new file mode 100644 index 000000000..533b07859 --- /dev/null +++ b/roms/edk2/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.c @@ -0,0 +1,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;
+}
+
|