IRQL

Hello every, you know Windows NT,Windows 2000 and Windows 98 support KeRaiseIrql() and KeLowerIrql() function.
My question is how can I implement the same function in Windows 95. Windows 95 DDK doesn’t provide this kind
of functions. In other words how can I change the interrupt IRQ in a Vxd. My object is to prevent my thread
from being interrupted by other threads in the system.

Any idea will be appreciated.

Michael
b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?…???l??ܢ

I do not believe thaqt 95 has the concept of IRQL, since it is realy nothing
more than a TSR sitting ontop of DOS. Given that however, a simple

pushfd
cli

popfd

will give your code the “critical section” it needs.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@Broadstor.com
xxxxx@inland.net

-----Original Message-----
From: Michael Zhu [mailto:xxxxx@bigfoot.com]
Sent: Monday, June 25, 2001 7:20 AM
To: NT Developers Interest List
Subject: [ntdev] IRQL

Hello every, you know Windows NT,Windows 2000 and Windows 98 support
KeRaiseIrql() and KeLowerIrql() function.
My question is how can I implement the same function in Windows 95. Windows
95 DDK doesn’t provide this kind
of functions. In other words how can I change the interrupt IRQ in a Vxd. My
object is to prevent my thread
from being interrupted by other threads in the system.

Any idea will be appreciated.

Michael
b???.???????v??ׯj???ey??i???(?.?˛???m??֛???zf???y?ޞ?^?~w?b??(??(


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I think VMM must have a kind of such “disable preemption” calls.
----- Original Message -----
From: Michael Zhu
To: NT Developers Interest List
Sent: Monday, June 25, 2001 6:19 PM
Subject: [ntdev] IRQL

Hello every, you know Windows NT,Windows 2000 and Windows 98 support KeRaiseIrql() and KeLowerIrql() function.
My question is how can I implement the same function in Windows 95. Windows 95 DDK doesn’t provide this kind
of functions. In other words how can I change the interrupt IRQ in a Vxd. My object is to prevent my thread
from being interrupted by other threads in the system.

Any idea will be appreciated.

Michael
b???{.n???wZnV???h??{]z??b?(?(


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

In the VxD systems, kernel mode code is not preempted, unless it itself
chooses to yield, either explicitly, for example, entering a wait on a
synchronization object, or implicitly, for example touching pageable
code/data or calling a kernel function that yields. If you code an
endless loop that does not touch pageable memory, doesn’t call functions
that yield, and is itself in locked memory, it will execute forever
without preemption, except for servicing hardware interrupts (these
can be disabled with CLI)

— “Maxim S. Shatskih” wrote:
> I think VMM must have a kind of such “disable preemption” calls.
> ----- Original Message -----
> From: Michael Zhu
> To: NT Developers Interest List
> Sent: Monday, June 25, 2001 6:19 PM
> Subject: [ntdev] IRQL
>
>
> Hello every, you know Windows NT,Windows 2000 and Windows 98 support
> KeRaiseIrql() and KeLowerIrql() function.
> My question is how can I implement the same function in Windows 95. Windows
> 95 DDK doesn’t provide this kind
> of functions. In other words how can I change the interrupt IRQ in a Vxd.
> My object is to prevent my thread
> from being interrupted by other threads in the system.
>
> Any idea will be appreciated.
>
> Michael
> b???{.n???wZnV???h??{]z??b?(?(
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@yahoo.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com