Author: hpoussin
Date: Tue Mar 27 03:00:58 2007
New Revision: 26182
URL: http://svn.reactos.org/svn/reactos?rev=26182&view=rev
Log:
Add missing file
Added:
trunk/reactos/ntoskrnl/include/internal/arch/intrin_i.h
Added: trunk/reactos/ntoskrnl/include/internal/arch/intrin_i.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/arch/intrin_i.h (added)
+++ trunk/reactos/ntoskrnl/include/internal/arch/intrin_i.h Tue Mar 27 03:00:58 2007
@@ -1,0 +1,34 @@
+/*
+ * ReactOS kernel
+ * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+#ifndef __NTOSKRNL_INCLUDE_INTERNAL_ARCH_INTRIN_I_H
+#define __NTOSKRNL_INCLUDE_INTERNAL_ARCH_INTRIN_I_H
+
+#ifdef _M_IX86
+#include "../i386/intrin_i.h"
+#elif defined(_M_PPC)
+#include "../powerpc/intrin_i.h"
+#elif defined(_M_MIPS)
+#include "../mips/intrin_i.h"
+#else
+#error "Unknown processor"
+#endif
+
+#endif /* __NTOSKRNL_INCLUDE_INTERNAL_ARCH_INTRIN_I_H */
+
+/* EOF */
Author: greatlrd
Date: Mon Mar 26 07:46:11 2007
New Revision: 26177
URL: http://svn.reactos.org/svn/reactos?rev=26177&view=rev
Log:
ReactOS win32k are using windows 2000 driver and it seam if we want using ms dx interface for graphics driver we must report it is plan NT5 driver we want not higher or lower, this show from vmware own display driver, now we get req for pvmList before we doing second call to DrvGetDirectDrawInfo, it show good sign we got that request from vmware driver.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c Mon Mar 26 07:46:11 2007
@@ -500,7 +500,7 @@
/* Call DDI driver's EnableDriver function */
RtlZeroMemory(&DED, sizeof(DED));
- if (! GDEnableDriver(DDI_DRIVER_VERSION_NT5_01, sizeof(DED), &DED))
+ if (! GDEnableDriver(DDI_DRIVER_VERSION_NT5, sizeof(DED), &DED))
{
DPRINT("DrvEnableDriver failed for %S\n", CurrentName);
}
@@ -2602,7 +2602,7 @@
/* Call DDI driver's EnableDriver function */
RtlZeroMemory(&DrvEnableData, sizeof (DrvEnableData));
- if (!GDEnableDriver(DDI_DRIVER_VERSION_NT5_01, sizeof (DrvEnableData), &DrvEnableData))
+ if (!GDEnableDriver(DDI_DRIVER_VERSION_NT5, sizeof (DrvEnableData), &DrvEnableData))
{
DPRINT("DrvEnableDriver failed for %S\n", CurrentName);
continue;