<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
"Umtypes is only included for user-mode, not for drivers."<br><br>ketypes.h imports umtypes.h --<br><br>#include <umtypes.h><br>#ifndef NTOS_MODE_USER<br>#include <haltypes.h><br>#include <potypes.h><br>#include <ifssupp.h><br>#endif<br><br>"Drivers do not import winnt.h"<br>they (still) do in ros as winddk.h imports winnt.h...<br><br>> Date: Sun, 31 Aug 2008 22:35:45 +0200<br>> From: ionucu@videotron.ca<br>> To: ros-dev@reactos.org<br>> Subject: Re: [ros-dev] [ros-diffs] [sginsberg] 35819: - CACHE_DESCRIPTOR and        PROCESSOR_CACHE_TYPE are public and defined in winnt.h,        so no need to define them in the NDK (the NDK includes winnt.h        through windef.h, so this breaks build)<br>> <br>> Umtypes is only included for user-mode, not for drivers.<br>> <br>> My e-mail was about drivers.<br>> <br>> Drivers do not import winnt.h<br>> <br>> Drivers import ntifs, wdm and ntddk.<br>> <br>> Ntifs, wdm and ntddk are the headers that drivers import.<br>> <br>> Not winnt.h.<br>> <br>> My e-mail specifically listed those three headers and talked about drivers.<br>> <br>> You guys come back saying "it's in winnt.h so it's okay!"<br>> <br>> Are you blind, illiterate, or what?<br>> <br>> Best regards,<br>> Alex Ionescu<br>> <br>> <br>> <br>> On Sun, Aug 31, 2008 at 10:35 PM, Alex Ionescu <aionescu@gmail.com> wrote:<br>> > Umtypes is only included for user-mode, not for drivers.<br>> ><br>> > My e-mail was about drivers.<br>> ><br>> > Drivers do not import winnt.h<br>> ><br>> > Drivers import ntifs, wdm and ntddk.<br>> ><br>> > Ntifs, wdm and ntddk are the headers that drivers import.<br>> ><br>> > Not winnt.h.<br>> ><br>> > My e-mail specifically listed those three headers and talked about drivers.<br>> ><br>> > You guys come back saying "it's in winnt.h so it's okay!"<br>> ><br>> > Are you blind, illiterate, or what?<br>> ><br>> > Best regards,<br>> > Alex Ionescu<br>> ><br>> ><br>> ><br>> > 2008/8/31 Stefan Ginsberg <stefan__100__@hotmail.com>:<br>> >> The NDK includes winnt.h through umtypes.h -> windef.h -> winnt.h (MS PSDK's<br>> >> windef.h includes winnt.h too, so I assumed this was correct).<br>> >> If this is wrong then how should it be done?<br>> >><br>> >>> Date: Sun, 31 Aug 2008 01:00:18 +0200<br>> >>> From: ionucu@videotron.ca<br>> >>> To: ros-dev@reactos.org<br>> >>> Subject: Re: [ros-dev] [ros-diffs] [sginsberg] 35819: - CACHE_DESCRIPTOR<br>> >>> and PROCESSOR_CACHE_TYPE are public and defined in winnt.h, so no need to<br>> >>> define them in the NDK (the NDK includes winnt.h through windef.h, so this<br>> >>> breaks build)<br>> >>><br>> >>> Please make sure that these types are available for DRIVERS as well --<br>> >>> otherwise, they belong in the NDK. (Check with WDK<br>> >>> wdm.h/ntddk.h/ntifs.h -- if it's not there, and drivers can access<br>> >>> pointers/structures of this type, it must be in the NDK).<br>> >>><br>> >>> Also, the NDK does not include winnt.h -- at least it's not supposed<br>> >>> to, unless someone broke it.<br>> >>><br>> >>> For the future, please make suer to review NDK changes with me, since<br>> >>> I'm still its owner.<br>> >>><br>> >>> Best regards,<br>> >>> Alex Ionescu<br>> >>><br>> >>><br>> >>><br>> >>> On Sat, Aug 30, 2008 at 11:34 PM, <sginsberg@svn.reactos.org> wrote:<br>> >>> > Author: sginsberg<br>> >>> > Date: Sat Aug 30 16:34:56 2008<br>> >>> > New Revision: 35819<br>> >>> ><br>> >>> > URL: http://svn.reactos.org/svn/reactos?rev=35819&view=rev<br>> >>> > Log:<br>> >>> > - CACHE_DESCRIPTOR and PROCESSOR_CACHE_TYPE are public and defined in<br>> >>> > winnt.h, so no need to define them in the NDK (the NDK includes winnt.h<br>> >>> > through windef.h, so this breaks build)<br>> >>> ><br>> >>> > Modified:<br>> >>> > trunk/reactos/include/ndk/ketypes.h<br>> >>> ><br>> >>> > Modified: trunk/reactos/include/ndk/ketypes.h<br>> >>> > URL:<br>> >>> > http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/ketypes.h?rev=35819&r1=35818&r2=35819&view=diff<br>> >>> ><br>> >>> > ==============================================================================<br>> >>> > --- trunk/reactos/include/ndk/ketypes.h [iso-8859-1] (original)<br>> >>> > +++ trunk/reactos/include/ndk/ketypes.h [iso-8859-1] Sat Aug 30 16:34:56<br>> >>> > 2008<br>> >>> > @@ -542,17 +542,6 @@<br>> >>> > } KAPC_ENVIRONMENT;<br>> >>> ><br>> >>> > //<br>> >>> > -// CPU Cache Types<br>> >>> > -//<br>> >>> > -typedef enum _PROCESSOR_CACHE_TYPE<br>> >>> > -{<br>> >>> > - CacheUnified,<br>> >>> > - CacheInstruction,<br>> >>> > - CacheData,<br>> >>> > - CacheTrace,<br>> >>> > -} PROCESSOR_CACHE_TYPE;<br>> >>> > -<br>> >>> > -//<br>> >>> > // PRCB DPC Data<br>> >>> > //<br>> >>> > typedef struct _KDPC_DATA<br>> >>> > @@ -571,18 +560,6 @@<br>> >>> > struct _GENERAL_LOOKASIDE *P;<br>> >>> > struct _GENERAL_LOOKASIDE *L;<br>> >>> > } PP_LOOKASIDE_LIST, *PPP_LOOKASIDE_LIST;<br>> >>> > -<br>> >>> > -//<br>> >>> > -// CPU Cache Descriptor<br>> >>> > -//<br>> >>> > -typedef struct _CACHE_DESCRIPTOR<br>> >>> > -{<br>> >>> > - UCHAR Level;<br>> >>> > - UCHAR Associativity;<br>> >>> > - USHORT LineSize;<br>> >>> > - ULONG Size;<br>> >>> > - PROCESSOR_CACHE_TYPE Type;<br>> >>> > -} CACHE_DESCRIPTOR, *PCACHE_DESCRIPTOR;<br>> >>> ><br>> >>> > //<br>> >>> > // Architectural Types<br>> >>> ><br>> >>> ><br>> >>> _______________________________________________<br>> >>> Ros-dev mailing list<br>> >>> Ros-dev@reactos.org<br>> >>> http://www.reactos.org/mailman/listinfo/ros-dev<br>> >><br>> >> ________________________________<br>> >> Connect to the next generation of MSN Messenger Get it now!<br>> >> _______________________________________________<br>> >> Ros-dev mailing list<br>> >> Ros-dev@reactos.org<br>> >> http://www.reactos.org/mailman/listinfo/ros-dev<br>> >><br>> >><br>> ><br>> _______________________________________________<br>> Ros-dev mailing list<br>> Ros-dev@reactos.org<br>> http://www.reactos.org/mailman/listinfo/ros-dev<br><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>