[HAL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 12 Sep 2011 09:46:20 +0000 (09:46 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 12 Sep 2011 09:46:20 +0000 (09:46 +0000)
commitd28eae967a04320931241f06c88c801aa86397bd
tree67a67783c86265522d647e9e84eb56e24cac27f2
parentff75ae1b72153ce0aee88eb92a04d7e84207d113
[HAL]
Implement lazy irql for APIC. This is useful for VMs, since APIC usually has high overhead due to the need of invoking the hypervisor on every irql raise and lower. With lazy irql we avoid that until absolutely neccessary. Note that we misuse the PCR's IRR field to save the current hardware irql. Its a huge performance boost (some parts take half the time), making APIC performance close to PIC performance on VBox. This is something that Windows doesn't have :)

svn path=/trunk/; revision=53695
reactos/hal/halx86/apic/apic.c
reactos/hal/halx86/apic/rtctimer.c