]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Remove PerformancePkg requirement and add the header itself.
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Mar 2013 20:17:47 +0000 (20:17 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 19 Mar 2013 20:17:47 +0000 (20:17 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14212 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiDpLib/Dp.c
ShellPkg/Library/UefiDpLib/PerformanceTokens.h [new file with mode: 0644]
ShellPkg/Library/UefiDpLib/UefiDpLib.inf

index 4fe9083b0033f2a9e5231c9f38b491558e854d6f..82701723c8944a846976fb37474d4bbc6721b11c 100644 (file)
@@ -38,7 +38,7 @@
 \r
 #include <Guid/Performance.h>\r
 \r
-#include <PerformanceTokens.h>\r
+#include "PerformanceTokens.h"\r
 #include "Dp.h"\r
 #include "Literals.h"\r
 #include "DpInternal.h"\r
diff --git a/ShellPkg/Library/UefiDpLib/PerformanceTokens.h b/ShellPkg/Library/UefiDpLib/PerformanceTokens.h
new file mode 100644 (file)
index 0000000..bbbc48d
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  ASCII String Literals with special meaning to Performance measurement and the Dp 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
+\r
+**/\r
+\r
+#ifndef __PERFORMANCE_TOKENS_H__\r
+#define __PERFORMANCE_TOKENS_H__\r
+\r
+#define SEC_TOK                         "SEC"             ///< SEC Phase\r
+#define DXE_TOK                         "DXE"             ///< DEC Phase\r
+#define SHELL_TOK                       "SHELL"           ///< Shell Phase\r
+#define PEI_TOK                         "PEI"             ///< PEI Phase\r
+#define BDS_TOK                         "BDS"             ///< BDS Phase\r
+#define DRIVERBINDING_START_TOK         "DB:Start:"       ///< Driver Binding Start() function call\r
+#define DRIVERBINDING_SUPPORT_TOK       "DB:Support:"     ///< Driver Binding Support() function call\r
+#define LOAD_IMAGE_TOK                  "LoadImage:"      ///< Load a dispatched module\r
+#define START_IMAGE_TOK                 "StartImage:"     ///< Dispatched Modules Entry Point execution\r
+\r
+#endif  // __PERFORMANCE_TOKENS_H__\r
index 43de57dcfc7df83e086c46b88ef71cd64587012e..931b4744b3eda895ed3a05a4dbe67e258722cf6f 100644 (file)
@@ -45,7 +45,6 @@
   MdePkg/MdePkg.dec\r
   ShellPkg/ShellPkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
-  PerformancePkg/PerformancePkg.dec\r
 \r
 [LibraryClasses]\r
   TimerLib\r