[ros-kernel] [PATCH] IoAdjustPagingPathCount

Alex Ionescu ionucu at videotron.ca
Wed Jun 9 19:17:51 CEST 2004


Travis,

I had mentioned in the channel that AFAIK it was actually a Macro... I'll
try to find the definition of it and tell you if it's right.

Best regards,
Alex Ionescu

-----Original Message-----
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Travis Snoozy
Sent: June 9, 2004 6:01 PM
To: ReactOS Kernel List
Subject: RE: [ros-kernel] [PATCH] IoAdjustPagingPathCount

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

_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel



More information about the Ros-kernel mailing list