Now that TPR isn't bogusly raised at boot, there is no need to clear

it at context switch.
This commit is contained in:
Peter Wemm 2003-01-23 01:01:35 +00:00
parent e0d92cd4d9
commit 2fbe601a5d
3 changed files with 0 additions and 24 deletions

View File

@ -238,14 +238,6 @@ sw1b:
pushl PCB_PSL(%edx)
popfl
#if defined(SMP) && defined(GRAB_LOPRIO)
/* Hold LOPRIO for interrupts. */
#ifdef CHEAP_TPR
movl $0, lapic+LA_TPR
#else
andl $~APIC_TPR_PRIO, lapic+LA_TPR
#endif
#endif
movl %edx, PCPU(CURPCB)
movl %ecx, PCPU(CURTHREAD) /* into next thread */

View File

@ -238,14 +238,6 @@ sw1b:
pushl PCB_PSL(%edx)
popfl
#if defined(SMP) && defined(GRAB_LOPRIO)
/* Hold LOPRIO for interrupts. */
#ifdef CHEAP_TPR
movl $0, lapic+LA_TPR
#else
andl $~APIC_TPR_PRIO, lapic+LA_TPR
#endif
#endif
movl %edx, PCPU(CURPCB)
movl %ecx, PCPU(CURTHREAD) /* into next thread */

View File

@ -238,14 +238,6 @@ sw1b:
pushl PCB_PSL(%edx)
popfl
#if defined(SMP) && defined(GRAB_LOPRIO)
/* Hold LOPRIO for interrupts. */
#ifdef CHEAP_TPR
movl $0, lapic+LA_TPR
#else
andl $~APIC_TPR_PRIO, lapic+LA_TPR
#endif
#endif
movl %edx, PCPU(CURPCB)
movl %ecx, PCPU(CURTHREAD) /* into next thread */