[ros-kernel] [PATCH] IoAdjustPagingPathCount

Travis Snoozy ai2097 at yahoo.com
Wed Jun 9 16:00:43 CEST 2004


On Wed, 2004-06-09 at 13:54, Alex Ionescu wrote:
> Well, why doesn't someone try it on NT with a NULL and see what happens?
> That way we don't have to look at the ASM.
> 

I tried, but I couldn't find any library that exported it. My guess is
that it's either a macro or an inline static in the SDK headers (which I
do not have [EULA]).

The latter (static inline VOID IoAdjustPagingPathCount) is actually what
I would recommend. It makes sure that we have all the data on our own
stack (sidestepping other issues with being atomic) and avoids the
potential nastiness that C macros can induce (name collisions, for one).
We need to make this available in "wdm.h" and "ntddk.h", too.

-- Travis



More information about the Ros-kernel mailing list