Thank you, James.
[Quote]
For Windows 2003 SP2 and beyond, the IRQL is entirely software driven
[Quote End]
If IRQL is entiredly SOFTWARE driven, how could the operating system guarentee that a higher IRQL can’t be interrupted by lower IRQL?
IMHO, these kind of rules should be enfored by hardware.
Regards,
HW
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of James Harper
Sent: Wednesday, June 24, 2009 4:01 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How IRQL is reflected in hardware?
Dear Skywing,thanks for your kind reply.
Am I right to say: PASSIVE_LEVEL/APC_LEVEL are pure software issue and
handled by the OS kernel, they don’t correspond to any HW registers?
Am I right to sky: For DISPATCH_LEVEL and above, each IRQL has
correspondance with the actual interrput(and IDTs), IRQL changes will
reflected in HW registers such as IMR?
For XP, and for Windows 2003 before SP2, the TASKPRI (TPR) register was used to reflect the current IRQL.
For Windows 2003 SP2 and beyond, the IRQL is entirely software driven, which is a bit faster in normal operation (I think) but much much faster in a virtualised environment (every read and write to TPR gets ‘caught’
by the hypervisor and so has to be emulated, and it gets read and written many many times per second!)
James
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer