/** @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
} 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
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