mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 21:54:27 +02:00
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"
|
#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
|
STATIC
|
||||||
VOID
|
VOID
|
||||||
@ -374,8 +363,6 @@ Returns:
|
|||||||
|
|
||||||
Done:
|
Done:
|
||||||
|
|
||||||
ClearDebugRegisters ();
|
|
||||||
|
|
||||||
mPerfHeader.Signiture = 0x66726550;
|
mPerfHeader.Signiture = 0x66726550;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user