Re: [edk2] [Patch] SourceLevelDebugPkg/DebugAgent: Disable Debug Timer as early

2015-06-07 Thread Ni, Ruiyu
Reviewed-by: Ruiyu Ni > -Original Message- > From: Fan, Jeff > Sent: Friday, June 5, 2015 4:27 PM > To: edk2-devel@lists.sourceforge.net > Cc: Ni, Ruiyu > Subject: [Patch] SourceLevelDebugPkg/DebugAgent: Disable Debug Timer as > early > > InitializeApicTimer() will enable Local APIC time

[edk2] [Patch] SourceLevelDebugPkg/DebugAgent: Disable Debug Timer as early

2015-06-05 Thread Jeff Fan
InitializeApicTimer() will enable Local APIC timer interrupt. Even though we disable CPU interrupt at the beginning and enable CPU Interrupt after debug agent initialized completely, some Boot Service may invoke RestoreTpl () which may enable CPU interrupt. We should disable Local APIC timer in Ini