Commit Graph
42088 Commits
Author SHA1 Message Date
Timo Kreuzer 892c213bdc Fix SLIST_ENTRY for WIN64
svn path=/branches/ros-amd64-bringup/; revision=44294
2009-11-27 17:23:05 +00:00
Timo Kreuzer 644d3aee30 - Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY!
svn path=/branches/ros-amd64-bringup/; revision=44293
2009-11-27 17:06:54 +00:00
Timo Kreuzer ba13b6786a - rewrite the completely broken RtlInterlockedPopEntrySList, implement RtlInterlockedPushEntrySList, RtlInterlockedFlushSList
- use these for ExpInterlocked*
- remove a bunch of Interlocked* functions from amd64 kernel exports

svn path=/branches/ros-amd64-bringup/; revision=44289
2009-11-26 22:40:07 +00:00
Aleksey Bragin f41f818156 [rpcrt4]
- Revert rpcrt4 back to 1.1.31-partial. Fixes various RPC related regressions.

svn path=/trunk/; revision=44287
2009-11-25 19:36:10 +00:00
Cameron Gutman 3384debaf5 - Initialize SocketError to 0 to prevent a bogus error from GCC
svn path=/trunk/; revision=44286
2009-11-25 18:08:43 +00:00
Aleksey Bragin d1aeb20e33 [ntoskrnl/cm]
- CmpSelectLeaf fixes: looking into an incorrect cell, returning wrong cell, slightly simplify code and add more comments for clarity. Thanks to Michael Martin for spotting these bugs.

svn path=/trunk/; revision=44285
2009-11-24 22:56:43 +00:00
Aleksey Bragin 5040fe13f1 [WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284
2009-11-24 22:42:40 +00:00
Aleksey Bragin 1d110c440a [IDL]
- Make our IDLs files to not specify a [range] tag for string datatypes, and 0,256 range for an unsigned type. Fixes compiling with newer WIDL and (probably) MIDL.

svn path=/trunk/; revision=44283
2009-11-24 22:39:25 +00:00
Gregor Schneider 70dc807bf2 [rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282
2009-11-24 20:36:53 +00:00
Timo Kreuzer a78c631dcd SeCaptureSecurityDescriptor: instead of first copying the relative offsets of a SECURITY_DESCRIPTOR_RELATIVE into the pointer fields of a SECURITY_DESCRIPTOR and later adding the base pointer, do it directly as the code already needs to handle relative and absolute structures differently before.
svn path=/branches/ros-amd64-bringup/; revision=44276
2009-11-23 21:52:18 +00:00
Timo Kreuzer c6aa60e093 Mm64BitPhysicalAddress is a BOOLEAN, not a PBOOLEAN
svn path=/branches/ros-amd64-bringup/; revision=44274
2009-11-23 20:44:21 +00:00
Timo Kreuzer 7ccba78dc7 Remove some useless code.
svn path=/branches/ros-amd64-bringup/; revision=44270
2009-11-22 21:10:06 +00:00
Timo Kreuzer aae3e9fba5 [MM]
Don't acquire the pfn lock before calling MmReleasePageMemoryConsumer. The function acquires it already and before that it acquires a different spinlock, leading to a race condition on SMP systems.

svn path=/branches/ros-amd64-bringup/; revision=44269
2009-11-22 20:33:49 +00:00
Timo Kreuzer a504eda297 [MM]
Use an array of PFN_NUMBER to pass to MiMapPagesToZeroInHyperSpace instead of MMPFNs which were then converted to PFN_NUMBERs.

svn path=/branches/ros-amd64-bringup/; revision=44268
2009-11-22 19:16:50 +00:00
Cameron Gutman e016a230af - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed
svn path=/trunk/; revision=44267
2009-11-22 02:32:47 +00:00
Cameron Gutman 83bc88465f - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
- Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266
2009-11-21 23:53:43 +00:00
Aleksey Bragin f94c2c5f75 [kernel32]
- Don't export unnecessary stub. Fixes Firefox 3.5.5 startup.

svn path=/trunk/; revision=44261
2009-11-21 20:41:24 +00:00
Aleksey Bragin 78b292be2c [ntoskrnl/se]
- Factor out working code from SeAccessCheck into SepAccessCheck, taking out addition parameter - LowerImpersonationLevel. The lowest level for SeAccessCheck remains SecurityImpersonation, but for NtAccessCheck it's lowered to SecurityIdentification. Name of this patch's author has been lost.
See issue #4169 for more details.

svn path=/trunk/; revision=44260
2009-11-21 17:58:33 +00:00
Timo Kreuzer 7ae6f1e2be ULONG -> ULONG_PTR
svn path=/branches/ros-amd64-bringup/; revision=44259
2009-11-21 15:56:05 +00:00
Timo Kreuzer 66fbb30e23 - MmArmAccessFault: Don't assume that PDE's are accessible, instead use MiIsPdeForAddressValid
- Use HYPER_SPACE_END / MI_PFN_DATABASE constants instead of hardcoded values
- Remove the MmAccessFault hack, it works now.

svn path=/branches/ros-amd64-bringup/; revision=44258
2009-11-21 15:52:28 +00:00
Timo Kreuzer 5374d2c307 PFN_TYPE -> PFN_NUMBER
svn path=/branches/ros-amd64-bringup/; revision=44257
2009-11-21 15:43:26 +00:00
Timo Kreuzer 22b47450d3 - Update MMPFN for WIN64
svn path=/branches/ros-amd64-bringup/; revision=44256
2009-11-21 15:28:14 +00:00
Cameron Gutman c71cdeb49d - Disassociate the socket context before closing so we don't get signalled with a freed context (major cause of crashes)
- Signal the connection directly from TCPSocketState
 - Remove some unused code
 - Queue completion requests on a separate list so we don't have to keep locking and unlocking while completing
 - Add better locking to tcpip (not the lib)
 - Remove some unused variables
 - Don't hold the cancel spin lock longer than necessary
 - Check that we successfully got the device description

svn path=/trunk/; revision=44250
2009-11-21 13:00:37 +00:00
Aleksey Bragin fda7cf929a [wininet]
- Revert 44236 (sync wininet to Wine-1.1.33) and 43948 (sync wininet to Wine-1.1.32). Part 1/3 of rapps unregressing.
See issue #4934 for more details.

svn path=/trunk/; revision=44239
2009-11-20 16:50:05 +00:00
Aleksey Bragin ad2dffe030 [wininet]
- Update wininet to Wine-1.1.33.

svn path=/trunk/; revision=44236
2009-11-20 14:22:05 +00:00
Timo Kreuzer 84c2495bb9 [MM]
Implement MiBuildPagedPool. Refactor MmArmInitSystem. Use a hardcoded address for the PFN database, this might not be identical to windows, but it makes things simpler and there's no real point in dynamically putting it below the non paged pool. Use a global MxPhase to decide whether to do early page allocations using MxAllocEarlyPage or use MmAllocPage in phase 1. Paged pool allocations work now, but the page fault isn't handled yet.

svn path=/branches/ros-amd64-bringup/; revision=44229
2009-11-18 21:35:14 +00:00
Timo Kreuzer 84c574f9fe [MM]
Don't assume 1024 PTEs per page, instead use PTE_PER_PAGE constant.

svn path=/branches/ros-amd64-bringup/; revision=44228
2009-11-18 21:20:09 +00:00
Pierre Schweitzer d6c7749eba Fixed typo
(lost patch found in the dust)

svn path=/trunk/; revision=44227
2009-11-18 18:15:49 +00:00
Aleksey Bragin f0fa2f117f [rapps]
Andrey Yastrebov <[email protected]>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey).
See issue #4961 for more details.

svn path=/trunk/; revision=44225
2009-11-18 14:37:31 +00:00
Aleksey Bragin b5a0cbacfb - Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
- Remove WSPStartup from ws2_32, it doesn't belong there. Spotted by Gabriel Ilardi.
See issue #4956 for more details.

svn path=/trunk/; revision=44224
2009-11-18 14:16:34 +00:00
Timo Kreuzer d4bcf7f0d7 [MM]
Overall code improvements.

svn path=/branches/ros-amd64-bringup/; revision=44222
2009-11-17 19:30:35 +00:00
Timo Kreuzer 7ee161e3b5 Ammendment to r44220
svn path=/branches/ros-amd64-bringup/; revision=44221
2009-11-17 19:25:19 +00:00
Timo Kreuzer 4c52a315f1 [MM]
- MmCreateMemoryArea: the area type is a bitfield rather than an enum so use %lx instead of %ld to DPRINT it, add 2 more DPRINTs on failure
- MiInitSystemMemoryAreas: fix calculation of memory area sizes for 64 bit

svn path=/branches/ros-amd64-bringup/; revision=44220
2009-11-17 19:22:55 +00:00
Timo Kreuzer 94571497d9 Remove unused variable.
svn path=/branches/ros-amd64-bringup/; revision=44219
2009-11-17 19:11:12 +00:00
Timo Kreuzer 85a6488b56 Create a better definition of C_ASSERT to avoid multiple definition errors caused by included files.
svn path=/branches/ros-amd64-bringup/; revision=44218
2009-11-17 19:09:38 +00:00
KJK::Hyperion 4e2f21b12b Goodbye win32k_base, you won't be missed
svn path=/trunk/; revision=44216
2009-11-17 17:00:01 +00:00
KJK::Hyperion 590c766281 Reapplying r44182. Thanks to r44208, it should actually work this time
svn path=/trunk/; revision=44215
2009-11-17 16:18:34 +00:00
KJK::Hyperion 70faa1388d modified Makefile
$(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208
2009-11-17 02:54:29 +00:00
Timo Kreuzer 584007b6f6 [MM]
- Implement the rest of MmArmInitSystem phase 1 except MiBuildPagedPool

svn path=/branches/ros-amd64-bringup/; revision=44207
2009-11-16 22:12:36 +00:00
Timo Kreuzer 60e68cd411 add 64 bit POOL_HEADER, to make pool allocations work here, too
svn path=/branches/ros-amd64-bringup/; revision=44206
2009-11-16 22:03:30 +00:00
Timo Kreuzer 78ea6134bb - add BAUDRATE=115000 to boot command line
- Improve the code in wlmemory.c, no real functional change


svn path=/branches/ros-amd64-bringup/; revision=44205
2009-11-16 21:56:29 +00:00
Timo Kreuzer bbc5790f22 On amd64 the NextEntry member of MMPTE_LIST has 32 bits, but 36 would be required to cover the whole pte space. Therefore use MmSystemPtesStart[SystemPtePoolType] as base for the pfn linked list instead of MmSystemPteBase, which is set to PTE_BASE.
svn path=/branches/ros-amd64-bringup/; revision=44204
2009-11-16 19:35:36 +00:00
Daniel Reimer 84e0310943 Revert yesterday's fix for now.
svn path=/trunk/; revision=44203
2009-11-16 18:32:30 +00:00
Johannes Anderwald 9d604a73e1 - Build fix by Pigglesworth
svn path=/trunk/; revision=44202
2009-11-16 18:24:36 +00:00
Johannes Anderwald 8e33ff3436 - Various bugfixes found by Amine48rz
svn path=/trunk/; revision=44201
2009-11-16 18:13:56 +00:00
Cameron Gutman a2350b62d8 - Implement OskitTCPGetSocketError which retreives so->so_error
- Use OskitTCPGetSocketError to get the actual socket error which occurred when get SEL_FIN
 - Add more cases to TCPTranslateError

svn path=/trunk/; revision=44199
2009-11-16 07:39:52 +00:00
Dmitry Gorbachev 55d1ffb642 Remove MmVerifierData.
svn path=/trunk/; revision=44198
2009-11-16 01:57:59 +00:00
Dmitry Gorbachev e31f753c70 Fix a bug, silence GCC 4.5.x warnings.
svn path=/trunk/; revision=44197
2009-11-16 01:57:24 +00:00
Dmitry Gorbachev aa317c6f63 Break long expressions, fix formatting.
svn path=/trunk/; revision=44196
2009-11-16 01:56:48 +00:00
Christoph von Wittich acbe9adac1 sync kernel32 winetest with wine 1.1.33
svn path=/trunk/; revision=44195
2009-11-16 01:37:38 +00:00