]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Dp_App/Dp.h
MdePkg: add missing #defines for decoding PCIe 2.1 extended capability structures
[mirror_edk2.git] / PerformancePkg / Dp_App / Dp.h
index eb0537345b62b0053a042997f6991a95e6ecba5e..5fc3335279e712ef5531927e5c16184a17ad35cd 100644 (file)
@@ -1,19 +1,21 @@
 /** @file\r
-  Common declarations for the Dp Performance Reporting Utility.\r
-  *\r
-  * Copyright (c) 2009-2010, 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
-  *\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
+  Common declarations for the Dp Performance Reporting Utility.\r
+\r
+  Copyright (c) 2009 - 2012, 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
+\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
 #ifndef _EFI_APP_DP_H_\r
 #define _EFI_APP_DP_H_\r
 \r
+#include <Library/ShellLib.h>\r
+\r
 #define DP_MAJOR_VERSION        2\r
 #define DP_MINOR_VERSION        3\r
 \r
@@ -76,11 +78,12 @@ typedef struct {
 } PERF_SUMMARY_DATA;\r
 \r
 typedef struct {\r
-  VOID                  *Handle;\r
-  CHAR8                 *Token;           ///< Measured token string name.\r
-  CHAR8                 *Module;          ///< Module string name.\r
+  CONST VOID            *Handle;\r
+  CONST CHAR8           *Token;           ///< Measured token string name.\r
+  CONST CHAR8           *Module;          ///< Module string name.\r
   UINT64                StartTimeStamp;   ///< Start time point.\r
   UINT64                EndTimeStamp;     ///< End time point.\r
+  UINT32                Identifier;       ///< Identifier.\r
 } MEASUREMENT_RECORD;\r
 \r
 typedef struct {\r
@@ -91,4 +94,8 @@ typedef struct {
   UINT32                Count;            ///< Number of measurements accumulated.\r
 } PROFILE_RECORD;\r
 \r
+typedef struct {\r
+  UINT16             Token;\r
+  SHELL_PARAM_TYPE   Type;\r
+} PARAM_ITEM_LIST;\r
 #endif  // _EFI_APP_DP_H_\r