How can I allocate some memory in my VxD driver and use it not only in the VxD but in my win 32 application also? How to share a block of memory in a ring 0 Vxd and ring 3 application?
Should be no problem. Memory in range 80000000-FFFFFFFF is global and can be accessed by win32 apps.
Ring 0 memory can be made to be read by ring 3 code --
however, I don't think ring 3 code can write
to ring 0 memory. IMHO
Try this link for a discussion of the timer for insight.
http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0397/hood/hood0397.htm&nav=/msj/0397/newnav.htm
however, I don't think ring 3 code can write
to ring 0 memory. IMHO
Try this link for a discussion of the timer for insight.
http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0397/hood/hood0397.htm&nav=/msj/0397/newnav.htm
Are you trying to say that linear addresses over 80000000 are the same and valid for all applications no matter what dlls or other shared stuff they use?
:stupid:
:stupid: