Revision: 14212
http://edk2.svn.sourceforge.net/edk2/?rev=14212&view=rev
Author: jcarsey
Date: 2013-03-19 20:17:47 +0000 (Tue, 19 Mar 2013)
Log Message:
-----------
ShellPkg: Remove PerformancePkg requirement and add the header itself.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <[email protected]>
Reviewed-by: Erik Bjorge <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Library/UefiDpLib/Dp.c
trunk/edk2/ShellPkg/Library/UefiDpLib/UefiDpLib.inf
Added Paths:
-----------
trunk/edk2/ShellPkg/Library/UefiDpLib/PerformanceTokens.h
Modified: trunk/edk2/ShellPkg/Library/UefiDpLib/Dp.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiDpLib/Dp.c 2013-03-19 07:10:51 UTC (rev
14211)
+++ trunk/edk2/ShellPkg/Library/UefiDpLib/Dp.c 2013-03-19 20:17:47 UTC (rev
14212)
@@ -38,7 +38,7 @@
#include <Guid/Performance.h>
-#include <PerformanceTokens.h>
+#include "PerformanceTokens.h"
#include "Dp.h"
#include "Literals.h"
#include "DpInternal.h"
Added: trunk/edk2/ShellPkg/Library/UefiDpLib/PerformanceTokens.h
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiDpLib/PerformanceTokens.h
(rev 0)
+++ trunk/edk2/ShellPkg/Library/UefiDpLib/PerformanceTokens.h 2013-03-19
20:17:47 UTC (rev 14212)
@@ -0,0 +1,28 @@
+/** @file
+ ASCII String Literals with special meaning to Performance measurement and
the Dp utility.
+
+Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD
License
+which accompanies this distribution. The full text of the license may be
found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __PERFORMANCE_TOKENS_H__
+#define __PERFORMANCE_TOKENS_H__
+
+#define SEC_TOK "SEC" ///< SEC Phase
+#define DXE_TOK "DXE" ///< DEC Phase
+#define SHELL_TOK "SHELL" ///< Shell Phase
+#define PEI_TOK "PEI" ///< PEI Phase
+#define BDS_TOK "BDS" ///< BDS Phase
+#define DRIVERBINDING_START_TOK "DB:Start:" ///< Driver Binding
Start() function call
+#define DRIVERBINDING_SUPPORT_TOK "DB:Support:" ///< Driver Binding
Support() function call
+#define LOAD_IMAGE_TOK "LoadImage:" ///< Load a
dispatched module
+#define START_IMAGE_TOK "StartImage:" ///< Dispatched
Modules Entry Point execution
+
+#endif // __PERFORMANCE_TOKENS_H__
Modified: trunk/edk2/ShellPkg/Library/UefiDpLib/UefiDpLib.inf
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiDpLib/UefiDpLib.inf 2013-03-19 07:10:51 UTC
(rev 14211)
+++ trunk/edk2/ShellPkg/Library/UefiDpLib/UefiDpLib.inf 2013-03-19 20:17:47 UTC
(rev 14212)
@@ -45,7 +45,6 @@
MdePkg/MdePkg.dec
ShellPkg/ShellPkg.dec
MdeModulePkg/MdeModulePkg.dec
- PerformancePkg/PerformancePkg.dec
[LibraryClasses]
TimerLib
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits