mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[HALx86] Mask profiling interrupt on init
This commit is contained in:
parent
36829a6bd9
commit
baa82a4d4f
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@ ApicSetTimerInterval(ULONG MicroSeconds)
|
|||
/* Set the count interval */
|
||||
ApicWrite(APIC_TICR, (ULONG)TimerInterval);
|
||||
|
||||
/* Set to periodic */
|
||||
/* Set to periodic / masked */
|
||||
LvtEntry.Long = 0;
|
||||
LvtEntry.TimerMode = 1;
|
||||
LvtEntry.Vector = APIC_PROFILE_VECTOR;
|
||||
LvtEntry.Mask = 0;
|
||||
LvtEntry.Mask = 1;
|
||||
ApicWrite(APIC_TMRLVTR, LvtEntry.Long);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue