[ros-diffs] [cwittich] 41711: get rid of obsolete SHLocalAlloc/Free functions and export the correct v6 functions instead patch by <jerome dot gardou at laposte dot net>
cwittich at svn.reactos.org
cwittich at svn.reactos.org
Tue Jun 30 12:48:42 CEST 2009
- Previous message: [ros-diffs] [ros-arm-bringup] 41710: - Move MmIsThisAnNtSystem and MmQueryMemorySize to mmsup.c instead of randomly in mminit.c. - Cleanup some externs that were never referenced in mminit.c. - Remove MiShutdownMemoryManager since it was dead code. - There is no need to define the MiKseg0Start/End variables and loop through the memory descriptors to find the last kernel image. We already have this information through LoaderPagesSpanned saved in MmBootImageSize. - Removed these variables, code that depended on them, and MiGetLastKernelAddress, and switch to just using MmBootImageSize, which simplifies things a lot. - Also simplify the way that the initial memory latout is setup. Now the PFN database will always start after MmBootImageSize + KSEG0_BASE, instead of relying on the fact FreeLDR, on certain machines, may have had leftover space in the 6MB allocation that it makes (And worse, assuming FreeLDR on all architectures will allocate 6MB). - This standardizes the PFN database address and makes the code portable. - Same for the nonpaged pool address. - Should not call MmInitializeHandBuiltProcess for the idle process -- this will be called for the system process in PsCreateProcess. - The only thing we need, as the comment says, is the kernel MADDRESS_SPACE, so just initialize the lock for it. - Do not zero MmStats since the load-linker takes care of that for us since it's a global.
- Next message: [ros-diffs] [fireball] 41712: - Remove empty directory (include/reactos/drivers/drivers).
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cwittich
Date: Tue Jun 30 14:48:41 2009
New Revision: 41711
URL: http://svn.reactos.org/svn/reactos?rev=41711&view=rev
Log:
get rid of obsolete SHLocalAlloc/Free functions and export the correct v6 functions instead
patch by <jerome dot gardou at laposte dot net>
Modified:
trunk/reactos/dll/win32/shell32/shell32.spec
trunk/reactos/dll/win32/shell32/stubs.c
Modified: trunk/reactos/dll/win32/shell32/shell32.spec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.spec?rev=41711&r1=41710&r2=41711&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32.spec [iso-8859-1] Tue Jun 30 14:48:41 2009
@@ -197,9 +197,9 @@
197 stdcall -noname SHGlobalDefect(long)
198 stdcall -noname SHAbortInvokeCommand()
199 stdcall ExtractAssociatedIconA(long str ptr)
-200 stdcall -noname SHLocalAlloc(long long)
-201 stdcall -noname SHLocalFree(ptr)
-202 stdcall -noname SHLocalReAlloc(ptr long long)
+200 stdcall -noname SHCreateDesktop(ptr)
+201 stdcall -noname SHDesktopMessageLoop(ptr)
+202 stub -noname DDEHandleViewFolderNotify
203 stdcall -noname AddCommasW(long wstr)
204 stdcall -noname ShortSizeFormatW(double)
205 stdcall Printer_LoadIconsW(wstr ptr ptr)
Modified: trunk/reactos/dll/win32/shell32/stubs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/stubs.c?rev=41711&r1=41710&r2=41711&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/stubs.c [iso-8859-1] Tue Jun 30 14:48:41 2009
@@ -13,41 +13,6 @@
#include <precomp.h>
WINE_DEFAULT_DEBUG_CHANNEL(shell);
-
-/*
- * Unimplemented
- */
-HLOCAL
-WINAPI
-SHLocalAlloc(UINT uFlags, SIZE_T uBytes)
-{
- FIXME("SHLocalAlloc() stub\n");
- return NULL;
-}
-
-/*
- * Unimplemented
- */
-HLOCAL
-WINAPI
-SHLocalFree(HLOCAL hMem)
-{
- FIXME("SHLocalFree() stub\n");
- return NULL;
-}
-
-/*
- * Unimplemented
- */
-HLOCAL
-WINAPI
-SHLocalReAlloc(HLOCAL hMem,
- SIZE_T uBytes,
- UINT uFlags)
-{
- FIXME("SHLocalReAlloc() stub\n");
- return NULL;
-}
/*
* Unimplemented
- Previous message: [ros-diffs] [ros-arm-bringup] 41710: - Move MmIsThisAnNtSystem and MmQueryMemorySize to mmsup.c instead of randomly in mminit.c. - Cleanup some externs that were never referenced in mminit.c. - Remove MiShutdownMemoryManager since it was dead code. - There is no need to define the MiKseg0Start/End variables and loop through the memory descriptors to find the last kernel image. We already have this information through LoaderPagesSpanned saved in MmBootImageSize. - Removed these variables, code that depended on them, and MiGetLastKernelAddress, and switch to just using MmBootImageSize, which simplifies things a lot. - Also simplify the way that the initial memory latout is setup. Now the PFN database will always start after MmBootImageSize + KSEG0_BASE, instead of relying on the fact FreeLDR, on certain machines, may have had leftover space in the 6MB allocation that it makes (And worse, assuming FreeLDR on all architectures will allocate 6MB). - This standardizes the PFN database address and makes the code portable. - Same for the nonpaged pool address. - Should not call MmInitializeHandBuiltProcess for the idle process -- this will be called for the system process in PsCreateProcess. - The only thing we need, as the comment says, is the kernel MADDRESS_SPACE, so just initialize the lock for it. - Do not zero MmStats since the load-linker takes care of that for us since it's a global.
- Next message: [ros-diffs] [fireball] 41712: - Remove empty directory (include/reactos/drivers/drivers).
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list