This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cleanup of ntdll.h


On Thu, May 30, 2002 at 06:04:19PM +1000, Robert Collins wrote:
> > [mailto:cygwin-patches-owner@cygwin.com] On Behalf Of Corinna Vinschen
> > I changed that now so that all functions are called with Nt prefix.
> 
> This is incorrect. BOTH definitions should exist. NtXXX are kernel mode
> calls, ZwXXX are user mode calls that gate through to kernel mode calls
> via int 2eh.

Nope.  From user mode both call types are identical.  There's no need
to use both forms in Cygwin and since the header is only used inside
of Cygwin there's also no need to define both variations.  One is enough.
It's all one to me if it's the Zw or Nt version but we should at least
use always the same.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]