[ros-diffs] [tkreuzer] 38080: Patch by encoded: update SHARED_CACHE_MAP
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Sun Dec 14 18:59:12 CET 2008
- Previous message: [ros-diffs] [dgorbachev] 38079: Fix winsta.dll rbuild file.
- Next message: [ros-diffs] [hyperion] 38081: modified include/reactos/libs/pseh/pseh2.h modified lib/pseh/framebased-gcchack.c Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions Save EBP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally) If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3 Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER))) Small optimizations in PSEH library Clean up GCC hacks Remove currently unused PSEH 3 hacks
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tkreuzer
Date: Sun Dec 14 11:59:11 2008
New Revision: 38080
URL: http://svn.reactos.org/svn/reactos?rev=38080&view=rev
Log:
Patch by encoded: update SHARED_CACHE_MAP
Modified:
branches/ros-amd64-bringup/reactos/include/ndk/cctypes.h
Modified: branches/ros-amd64-bringup/reactos/include/ndk/cctypes.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/include/ndk/cctypes.h?rev=38080&r1=38079&r2=38080&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ndk/cctypes.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ndk/cctypes.h [iso-8859-1] Sun Dec 14 11:59:11 2008
@@ -98,7 +98,11 @@
LARGE_INTEGER ValidDataGoal;
PVACB InitialVacbs[4];
PVACB *Vacbs;
- PFILE_OBJECT FileObject;
+#if (NTDDI_VERSION >= NTDDI_LONGHORN)
+ EX_FAST_REF FileObjectFastRef;
+#else
+ PFILE_OBJECT FileObject;
+#endif
PVACB ActiveVacb;
PVOID NeedToZero;
ULONG ActivePage;
@@ -127,9 +131,19 @@
ULONG BcbSpinLock;
PVOID Reserved;
KEVENT Event;
- EX_PUSH_LOCK VacbPushLock;
+#if (NTDDI_VERSION >= NTDDI_LONGHORN) //guess
+ LARGE_INTEGER HighWaterMappingOffset;
+#else
+ EX_PUSH_LOCK VacbPushLock;
+#endif
PRIVATE_CACHE_MAP PrivateCacheMap;
-} SHARED_CACHE_MAP;
+#if (NTDDI_VERSION >= NTDDI_LONGHORN)
+ PVOID WriteBehindWorkQueueEntry;
+ PVOLUME_CACHE_MAP VolumeCacheMap;
+ ULONG ProcImagePathHash;
+ ULONG MappedWritesInProgress;
+#endif
+} SHARED_CACHE_MAP, *PSHARED_CACHE_MAP;
#endif /* _NTIFS_INCLUDED_ */
#endif /* NTOS_MODE_USER */
- Previous message: [ros-diffs] [dgorbachev] 38079: Fix winsta.dll rbuild file.
- Next message: [ros-diffs] [hyperion] 38081: modified include/reactos/libs/pseh/pseh2.h modified lib/pseh/framebased-gcchack.c Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions Save EBP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally) If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3 Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER))) Small optimizations in PSEH library Clean up GCC hacks Remove currently unused PSEH 3 hacks
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list