mirror of https://github.com/acidanthera/audk.git
Do not clear debug register. New performance code does not use Debug register to log performance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2077 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b96ad3ace8
commit
060919cc05
|
@ -23,17 +23,6 @@ Abstract:
|
|||
|
||||
#include "Performance.h"
|
||||
|
||||
VOID
|
||||
ClearDebugRegisters (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
// BugBug: We should not need to do this. We need to root cause this bug!!!!
|
||||
//
|
||||
AsmWriteDr0 (0);
|
||||
AsmWriteDr1 (0);
|
||||
}
|
||||
|
||||
STATIC
|
||||
VOID
|
||||
|
@ -374,8 +363,6 @@ Returns:
|
|||
|
||||
Done:
|
||||
|
||||
ClearDebugRegisters ();
|
||||
|
||||
mPerfHeader.Signiture = 0x66726550;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue