]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.h
OvmfPkg: Add CsmSupportLib
[mirror_edk2.git] / OvmfPkg / Csm / CsmSupportLib / CsmSupportLib.h
diff --git a/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.h b/OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.h
new file mode 100644 (file)
index 0000000..e3b6e8c
--- /dev/null
@@ -0,0 +1,55 @@
+/** @file\r
+  Platform CSM Support Library\r
+\r
+  Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>\r
+\r
+  This program and the accompanying materials are\r
+  licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef _CSM_SUPPORT_LIB_H_\r
+#define _CSM_SUPPORT_LIB_H_\r
+\r
+#include <Uefi.h>\r
+\r
+/**\r
+  Initialize Legacy Region support\r
+\r
+  @retval EFI_SUCCESS   Successfully initialized\r
+\r
+**/\r
+EFI_STATUS\r
+LegacyRegionInit (\r
+  VOID\r
+  );\r
+\r
+/**\r
+  Initialize Legacy Interrupt support\r
+\r
+  @retval EFI_SUCCESS   Successfully initialized\r
+\r
+**/\r
+EFI_STATUS\r
+LegacyInterruptInstall (\r
+  VOID\r
+  );\r
+\r
+/**\r
+  Initialize Legacy Platform support\r
+\r
+  @retval EFI_SUCCESS   Successfully initialized\r
+\r
+**/\r
+EFI_STATUS\r
+LegacyBiosPlatformInstall (\r
+  VOID\r
+  );\r
+\r
+#endif\r
+\r