Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2004, 13:54
peleon peleon is offline
Friend
 
Join Date: Sep 2003
Posts: 174
Rept. Given: 0
Rept. Rcvd 7 Times in 1 Post
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
peleon Reputation: 7
Hi,

When I was a little boy, I played with VxD. I remember that I coulndn't access to non present pages from certain parts in Ring-0. Example, when processing interrupt requests.

I guess that your problem might be in accesing those pages from a DEBUG_QUERY event, that as you well have read, it can cause page faults. (dunno about W32_DEVICEIOCONTROL)

It could be a similar mechanism like KMD with PassiveLevel, DispatchLevel....though VxD architecture is quite different from the NT one.

Could you first lock the pages with function like "PageLock", "LinPageLock" and friends?

Hope I'm right, hope it helps

Last edited by peleon; 05-20-2004 at 14:04.
Reply With Quote
  #2  
Old 05-20-2004, 16:55
ajron ajron is offline
Family
 
Join Date: Jan 2002
Location: Poland
Posts: 40
Rept. Given: 0
Rept. Rcvd 33 Times in 7 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
ajron Reputation: 33
Quote:
Originally Posted by peleon
I remember that I coulndn't access to non present pages from certain parts in Ring-0. Example, when processing interrupt requests.
I know that processing interrupts is the most restricted area .

Quote:
I guess that your problem might be in accesing those pages from a DEBUG_QUERY event, that as you well have read, it can cause page faults.
So I move code to other place, but with no positive result ;(.

Quote:
Could you first lock the pages with function like "PageLock", "LinPageLock" and friends?
I'll try with LinPageLock(), maybe it helps . Thanks.
Reply With Quote
  #3  
Old 05-20-2004, 17:53
ajron ajron is offline
Family
 
Join Date: Jan 2002
Location: Poland
Posts: 40
Rept. Given: 0
Rept. Rcvd 33 Times in 7 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
ajron Reputation: 33
Yeah, LinPageLock() solves problem . Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 19:41.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )