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