Hi,
I like to know equivalent calls for KeEnterCriticalRegion() and
KeLeaveCriticalRegion() in win 98 and Win Me.
regards.
----- Original Message -----
From: “Norbert Kawulski”
To: “NT Developers Interest List”
Sent: Thursday, October 04, 2001 5:57 PM
Subject: [ntdev] Re: SoftIce Windows 98
> I also see this behaviour of SoftIce on W9x.
> I have no cure/explanation for it but it goes away if you
> use a ‘reboot’ and not a ‘restart’.
> I guess it has something to do with the real-mode startup from DOS
> which is skipped when you restart (warm-boot) Win9X.
>
> -----------------------------------------------------------------
> | Norbert Kawulski | mailto:xxxxx@stollmann.de |
> | Stollmann T.P.GmbH, Development | http://www.stollmann.de |
> --If it’s ISDN or Bluetooth, make sure it’s driven by Stollmann–
>
> “He who wishes to secure the good of others has already secured his
> own. - Confucius”
>
>
> > Hi
>
> > I installed SoftIce coming with Driver Studio 2.0 in a Windows 98 SE
> > machine. After restarting system gives the following error.
>
> > VxD Call to devnumber 3 serice B failed…
>
>
> > Any Idead…?
>
> > Bye
> > SanWind
>
> > —
> > You are currently subscribed to ntdev as: xxxxx@stollmann.de
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
>
> —
> 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 your free @yahoo.com address at http://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
Hi,
Thursday, October 04, 2001, 5:32:04 PM, you wrote:
s> Hi,
s> I like to know equivalent calls for KeEnterCriticalRegion() and
s> KeLeaveCriticalRegion() in win 98 and Win Me.
s> regards.
s> ----- Original Message -----
s> From: “Norbert Kawulski”
s> To: “NT Developers Interest List”
s> Sent: Thursday, October 04, 2001 5:57 PM
s> Subject: [ntdev] Re: SoftIce Windows 98
>> I also see this behaviour of SoftIce on W9x.
>> I have no cure/explanation for it but it goes away if you
>> use a ‘reboot’ and not a ‘restart’.
>> I guess it has something to do with the real-mode startup from DOS
>> which is skipped when you restart (warm-boot) Win9X.
>>
>> -----------------------------------------------------------------
>> | Norbert Kawulski | mailto:xxxxx@stollmann.de |
>> | Stollmann T.P.GmbH, Development | http://www.stollmann.de |
>> --If it’s ISDN or Bluetooth, make sure it’s driven by Stollmann–
>>
>> “He who wishes to secure the good of others has already secured his
>> own. - Confucius”
>>
>>
>> > Hi
>>
>> > I installed SoftIce coming with Driver Studio 2.0 in a Windows 98 SE
>> > machine. After restarting system gives the following error.
>>
>> > VxD Call to devnumber 3 serice B failed…
>>
>>
>> > Any Idead…?
>>
>> > Bye
>> > SanWind
>>
>> > —
>> > You are currently subscribed to ntdev as: xxxxx@stollmann.de
>> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>
>>
>>
>> —
>> 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
s> _________________________________________________________
s> Do You Yahoo!?
s> Get your free @yahoo.com address at http://mail.yahoo.com
s> —
s> You are currently subscribed to ntdev as: xxxxx@infpres.com
s> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Roughly speaking, you can write something like this:
KIRQL oldIrql;
…
PAGED_CODE(); // To make sure we’re below DISPATCH_LEVEL
KeRaiseIrql(APC_LEVEL,&oldIrql); // KeEnterCriticalRegion()
…
…
…
KeLowerIrql(oldIrql); // KeLeaveCriticalRegion()
Windows ME and Windows 98SE do support this function, but Windows 98
doesn’t.
Original function KeEnterCriticalRegion() in WinME increments a count
of Critical Region entering in the current KTHREAD and if it’s above 1
simply quits. If not, it raises IRQL to APC_LEVEL and stores an old
IRQL in the current KTHREAD structure. KeLeaveCriticalRegion()
function decrements a count of Critical Region entering in the current
KTHREAD and if it’s above 0 simply quits. If not, it lowers IRQL to
an IRQL obtained from the current KTHREAD structure.
–
Best regards,
Konstantin Manurin (aka NizeG) xxxxx@infpres.com
xxxxx@beep.ru
xxxxx@mail.ru
—
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