]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.inf
MdeModulePkg DxeCore/PiSmmCore: Add UEFI memory and SMRAM profile support.
[mirror_edk2.git] / MdeModulePkg / Application / MemoryProfileInfo / MemoryProfileInfo.inf
diff --git a/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.inf b/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.inf
new file mode 100644 (file)
index 0000000..6fd1f7b
--- /dev/null
@@ -0,0 +1,62 @@
+## @file\r
+#  Shell application to dump UEFI memory and SMRAM profile information.\r
+#\r
+#  Note that if the feature is not enabled by setting PcdMemoryProfilePropertyMask,\r
+#  the application will not display memory profile information.\r
+#\r
+#  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\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
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = MemoryProfileInfo\r
+  MODULE_UNI_FILE                = MemoryProfileInfo.uni\r
+  FILE_GUID                      = 21429B90-5F67-4e93-AF55-1D314D646E12\r
+  MODULE_TYPE                    = UEFI_APPLICATION\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = UefiMain\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources]\r
+  MemoryProfileInfo.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+\r
+[LibraryClasses]\r
+  UefiApplicationEntryPoint\r
+  BaseLib\r
+  BaseMemoryLib\r
+  UefiBootServicesTableLib\r
+  UefiRuntimeServicesTableLib\r
+  DebugLib\r
+  UefiLib\r
+  MemoryAllocationLib\r
+  DxeServicesLib\r
+  PeCoffGetEntryPointLib\r
+  PrintLib\r
+  \r
+[Guids]\r
+  ## SOMETIMES_CONSUMES   ## GUID # Locate protocol\r
+  ## SOMETIMES_CONSUMES   ## GUID # SmiHandlerRegister\r
+  gEdkiiMemoryProfileGuid\r
+  gZeroGuid                            ## SOMETIMES_CONSUMES   ## GUID\r
+\r
+[Protocols]\r
+  gEfiSmmCommunicationProtocolGuid     ## SOMETIMES_CONSUMES\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  MemoryProfileInfoExtra.uni\r