]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
Add IntelFsp2Pkg and IntelFsp2WrapperPkg.
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / SecFspWrapperPlatformSecLibSample / SecFspWrapperPlatformSecLibSample.inf
diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf
new file mode 100644 (file)
index 0000000..10df778
--- /dev/null
@@ -0,0 +1,89 @@
+## @file\r
+#  Sample to provide FSP wrapper platform sec related function.\r
+#\r
+#  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+#\r
+#  This program and the accompanying materials\r
+#  are 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
+#  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
+################################################################################\r
+#\r
+# Defines Section - statements that will be processed to create a Makefile.\r
+#\r
+################################################################################\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = SecFspWrapperPlatformSecLibSample\r
+  FILE_GUID                      = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573\r
+  MODULE_TYPE                    = SEC\r
+  VERSION_STRING                 = 1.0\r
+  LIBRARY_CLASS                  = FspWrapperPlatformSecLib\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64\r
+#\r
+\r
+################################################################################\r
+#\r
+# Sources Section - list of files that are required for the build to succeed.\r
+#\r
+################################################################################\r
+\r
+[Sources]\r
+  FspWrapperPlatformSecLibSample.c\r
+  SecRamInitData.c\r
+  SecPlatformInformation.c\r
+  SecGetPerformance.c\r
+  SecTempRamDone.c\r
+  PlatformInit.c\r
+\r
+[Sources.IA32]\r
+  Ia32/SecEntry.asm\r
+  Ia32/PeiCoreEntry.asm\r
+  Ia32/Stack.asm\r
+  Ia32/Fsp.h\r
+  Ia32/SecEntry.S\r
+  Ia32/PeiCoreEntry.S\r
+  Ia32/Stack.S\r
+\r
+################################################################################\r
+#\r
+# Package Dependency Section - list of Package files that are required for\r
+#                              this module.\r
+#\r
+################################################################################\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  UefiCpuPkg/UefiCpuPkg.dec\r
+  IntelFsp2Pkg/IntelFsp2Pkg.dec\r
+  IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec\r
+\r
+[LibraryClasses]\r
+  LocalApicLib\r
+  SerialPortLib\r
+\r
+[Ppis]\r
+  gEfiSecPlatformInformationPpiGuid       ## CONSUMES\r
+  gPeiSecPerformancePpiGuid               ## CONSUMES\r
+  gTopOfTemporaryRamPpiGuid               ## PRODUCES\r
+\r
+[Pcd]\r
+  gFspWrapperTokenSpaceGuid.PcdFsptBaseAddress                  ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdFspmBaseAddress                  ## CONSUMES\r
+\r
+[FixedPcd]\r
+  gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress         ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize      ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdFlashMicrocodeOffset             ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress            ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize               ## CONSUMES\r