Author: fireball
Date: Sat Jan 30 14:10:29 2010
New Revision: 45342
URL: http://svn.reactos.org/svn/reactos?rev=45342&view=rev
Log:
- Disable hacked-up SwitchDesktop implementation for now. During shutdown, winlogon tries to switch to the winlogon (the same and only) desktop which results in a RedrawWindow sending a message to a CSR desktop window which is probably already in the process of being destroyed. Fixes a hang during shutdown (issue #27 in the wiki).
Modified:
branches/arwinss/reactos/dll/win32/user32/win.c
Modified: branches/arwinss/reactos/dll/win32/user32/win.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/user3…
==============================================================================
--- branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] Sat Jan 30 14:10:29 2010
@@ -3315,7 +3315,7 @@
hWnd = GetDesktopWindow(/*hDesktop*/);
FIXME("SwitchDesktop(hDesktop %p, desk window %x) stub!\n", hDesktop, hWnd);
-
+#if 0
/* Set foreground window */
SetForegroundWindow(hWnd);
@@ -3328,7 +3328,7 @@
UpdateWindow(hWnd);
RedrawWindow(NULL, NULL, 0, RDW_INVALIDATE | RDW_FRAME | RDW_ERASENOW | RDW_ALLCHILDREN);
-
+#endif
return TRUE;
}
Author: tkreuzer
Date: Sat Jan 30 04:17:11 2010
New Revision: 45337
URL: http://svn.reactos.org/svn/reactos?rev=45337&view=rev
Log:
remove the RIP() hack, instead use a constant rip=0 for MASM/ML
Modified:
branches/ros-amd64-bringup/reactos/include/reactos/asm.h
Modified: branches/ros-amd64-bringup/reactos/include/reactos/asm.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/reactos/asm.h [iso-8859-1] Sat Jan 30 04:17:11 2010
@@ -18,7 +18,7 @@
#define VAL(x) x
/* MASM/ML doesn't want explicit [rip] addressing */
-#define RIP(address) [address]
+rip = 0
/* Due to MASM's reverse syntax, we are forced to use a precompiler macro */
#define MACRO(name, ...) name MACRO __VA_ARGS__
@@ -59,9 +59,6 @@
/* Macro values need to be marked */
#define VAL(x) \x
-
-/* GAS needs explicit [rip] addressing */
-#define RIP(address) address##[rip]
/* Due to MASM's reverse syntax, we are forced to use a precompiler macro */
#define MACRO(...) .macro __VA_ARGS__