Author: hpoussin
Date: Sun Mar 18 00:25:00 2007
New Revision: 26126
URL: http://svn.reactos.org/svn/reactos?rev=26126&view=rev
Log:
Disable PS/2 auxiliary port detection, which is too unreliable.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c Sun Mar 18 00:25:00 2007
@@ -1890,6 +1890,12 @@
static BOOLEAN
DetectPS2AuxPort(VOID)
{
+#if 1
+ /* Current detection is too unreliable. Just do as if
+ * the PS/2 aux port is always present
+ */
+ return TRUE;
+#else
ULONG Loops;
UCHAR Status;
@@ -1920,6 +1926,7 @@
READ_PORT_UCHAR((PUCHAR)CONTROLLER_REGISTER_DATA);
return (Status & CONTROLLER_STATUS_MOUSE_OUTPUT_BUFFER_FULL);
+#endif
}
Author: greatlrd
Date: Sat Mar 17 21:32:32 2007
New Revision: 26123
URL: http://svn.reactos.org/svn/reactos?rev=26123&view=rev
Log:
fixing a gcc4 warring. why does gcc4 warning a uninsiated value but the value are being iniste in seh
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c Sat Mar 17 21:32:32 2007
@@ -53,7 +53,11 @@
/* FIXME alloc so mayne we need */
PHANDLE *myhSurface[1];
-
+
+ /* GCC4 warnns on value are unisitaed,
+ but they are initated in seh
+ */
+ myhSurface[0] = 0;
DPRINT1("NtGdiDdCreateSurface\n");