Johannes Anderwald [Sun, 18 Oct 2009 14:22:00 +0000 (14:22 +0000)]
- Partly revert 43533
svn path=/trunk/; revision=43553
Stefan Ginsberg [Sun, 18 Oct 2009 14:04:59 +0000 (14:04 +0000)]
- Fix error return of EnumPrinterKeyA/W, spotted by janderwald
svn path=/trunk/; revision=43551
Stefan Ginsberg [Sun, 18 Oct 2009 13:55:44 +0000 (13:55 +0000)]
Get rid of MmStats -- most of the fields weren't used anymore and we have duplicates for most of the ones that are still in use;
NrTotalPages -> MmNumberOfPhysicalPages
NrFreePages -> MmAvailablePages (new)
Get rid of NrSystemPages. Its value was only respected in MmInitializePageList at boot, even though it got updated later. Use a local variable in MmInitializePageList instead.
Fix SystemBasicInformation to use the correct variables for physical page information. Also, don't set ResidentSystemCodePage in the SystemPerformanceInformation query to some random incorrect Mm value. We don't depend this value anywhere in ReactOS currently, so just set it to 0.
svn path=/trunk/; revision=43550
Stefan Ginsberg [Sun, 18 Oct 2009 11:50:34 +0000 (11:50 +0000)]
- Use DBG_STATUS_CONTROL_C instead of magic "1"
- Add missing KdPollBreakIn + DbgBreakPointWithStatus to ARM initialization
- Fix initialization of the D and I cache fields in the PCR -- it was always setting the second level
svn path=/trunk/; revision=43549
Stefan Ginsberg [Sun, 18 Oct 2009 01:48:30 +0000 (01:48 +0000)]
Patch from David "gigaherz" Quintana: Stub out EnumPrinterKeyA/W, minor fixes by me.
svn path=/trunk/; revision=43548
KJK::Hyperion [Sat, 17 Oct 2009 21:30:01 +0000 (21:30 +0000)]
Update rbuild project file
Fix linker flags
svn path=/trunk/; revision=43547
Christoph von Wittich [Sat, 17 Oct 2009 21:16:57 +0000 (21:16 +0000)]
sync msi to wine 1.1.31
svn path=/trunk/; revision=43546
Christoph von Wittich [Sat, 17 Oct 2009 21:04:04 +0000 (21:04 +0000)]
fix all gdi32 gdiobj winetests
svn path=/trunk/; revision=43545
Christoph von Wittich [Sat, 17 Oct 2009 20:45:32 +0000 (20:45 +0000)]
sync shlwapi to wine 1.1.31
svn path=/trunk/; revision=43544
Timo Kreuzer [Sat, 17 Oct 2009 20:19:42 +0000 (20:19 +0000)]
Add some structure offset macros to asm.h for amd64
svn path=/trunk/; revision=43543
Stefan Ginsberg [Sat, 17 Oct 2009 20:01:58 +0000 (20:01 +0000)]
- Fix msvc build broken in 43466 -- please stop hurting msvc, it just wants to be loved (and wants __declspec placed first).
svn path=/trunk/; revision=43542
Christoph von Wittich [Sat, 17 Oct 2009 20:00:54 +0000 (20:00 +0000)]
sync dialog to wine 1.1.31 (fixes one dialog winetest)
svn path=/trunk/; revision=43541
Christoph von Wittich [Sat, 17 Oct 2009 19:35:42 +0000 (19:35 +0000)]
sync edit to wine 1.1.31
svn path=/trunk/; revision=43539
Timo Kreuzer [Sat, 17 Oct 2009 19:19:22 +0000 (19:19 +0000)]
disable ROS_LONG64 hack for amd64
svn path=/trunk/; revision=43538
Timo Kreuzer [Sat, 17 Oct 2009 19:16:01 +0000 (19:16 +0000)]
Merge 41030 from amd64 branch
svn path=/trunk/; revision=43537
Christoph von Wittich [Sat, 17 Oct 2009 19:15:04 +0000 (19:15 +0000)]
[Shell32]: in shell view, use the expected value for the effect in Drag & Drop operation
patch by <eric dot pouech at orange dot fr>
svn path=/trunk/; revision=43536
Timo Kreuzer [Sat, 17 Oct 2009 16:34:07 +0000 (16:34 +0000)]
build kdcom for amd64, too
svn path=/trunk/; revision=43534
Johannes Anderwald [Sat, 17 Oct 2009 15:08:01 +0000 (15:08 +0000)]
- Quick & dirty implementation of WIDM_RESET / WODM_RESET
svn path=/trunk/; revision=43533
Stefan Ginsberg [Sat, 17 Oct 2009 15:03:54 +0000 (15:03 +0000)]
- ntdll: Remove deprecated LdrpLoadUserModuleSymbols that doesn't actually do anything since the hack in NtSystemDebugControl was removed almost 3 years ago.
- Cc: Remove weird check for DBG or KDBG -- debug code should always be wrapped under #if DBG.
svn path=/trunk/; revision=43532
Hervé Poussineau [Sat, 17 Oct 2009 14:55:50 +0000 (14:55 +0000)]
Fix warning
svn path=/trunk/; revision=43531
Stefan Ginsberg [Sat, 17 Oct 2009 14:31:38 +0000 (14:31 +0000)]
- Add STATUS_SUCCESS to asm.h and make use of it.
- Implement Bus and I/O space read and write support.
- Implement support for AUTOENABLE, DISABLE and NOUMEX subparameters to /debug. Add the missing string scan and set and respect the related globals properly. Add support for disabling the debugger and suspending breakpoints.
- Add and implement KdIsThisAKdTrap to determine if the kernel debugger can't ignore a particular trap -- returns true for software breakpoints and debug service calls (DbgPrint for example). Called from KiDispatchException to determine whether to override NOUMEX (otherwise, DbgPrint and friends will kill user mode applications). Stub this for KDBG as it implements its own scheme for ignoring user mode.
- KiDispatchException: Clean up some goto and support NOUMEX. Also don't check if KiDebugRoutine is NULL -- it will never be.
- KdEnableDebuggerWithLock should initialize the debugger even if KdDisableCount is 0 (but only if called internally) as this means that the debugger was never initialized in the first place. Required for AUTOENABLE and for enabling the debugger during a bugcheck. Add the globals to kdbg too but don't set or respect them there as kdbg does not support it.
- Enable KdEnableDebugger and implement KdDisableDebugger for KD as KdDisableDebuggerWithLock is now implemented.
- Only build kdmemsup.c if KDBG is defined.
svn path=/trunk/; revision=43530
Hervé Poussineau [Sat, 17 Oct 2009 14:05:34 +0000 (14:05 +0000)]
[freeldr] FAT driver: check for directory attribute before parsing the next part of filename
Implement OpenDirectory mode in FAT driver
svn path=/trunk/; revision=43529
Aleksey Bragin [Sat, 17 Oct 2009 13:18:29 +0000 (13:18 +0000)]
[fastfat_new]
- Implement FatiOpenExistingFcb.
- Make FatGetFcbUnicodeName supporting DCBs.
- Implement FF_OpenW wrapper around FullFAT to support opening files/dirs using a unicode name.
svn path=/trunk/; revision=43528
Aleksey Bragin [Sat, 17 Oct 2009 10:57:48 +0000 (10:57 +0000)]
[fastfat_new]
- Search FCBs with unicode name too, besides of OEM.
- Create an infrastructure for opening existing FCB/DCBs.
svn path=/trunk/; revision=43527
Daniel Reimer [Sat, 17 Oct 2009 00:09:51 +0000 (00:09 +0000)]
Added 11 new Backs for my bavarian cards dll. Way better than 12 times the same ;-)
svn path=/trunk/; revision=43525
Timo Kreuzer [Fri, 16 Oct 2009 23:11:28 +0000 (23:11 +0000)]
ULONG -> ULONG_PTR when casting handles
svn path=/trunk/; revision=43524
Stefan Ginsberg [Fri, 16 Oct 2009 22:03:38 +0000 (22:03 +0000)]
Downgrade various debug prints from DPRINT1 to DPRINT, ranging from "useless" to "pretty useless".
svn path=/trunk/; revision=43523
Christoph von Wittich [Fri, 16 Oct 2009 21:43:28 +0000 (21:43 +0000)]
fix all msvcrt file winetests
svn path=/trunk/; revision=43522
Christoph von Wittich [Fri, 16 Oct 2009 21:29:27 +0000 (21:29 +0000)]
don't set errno for libcnt
svn path=/trunk/; revision=43521
Christoph von Wittich [Fri, 16 Oct 2009 20:57:00 +0000 (20:57 +0000)]
-sync msvcrt_init_io to wine 1.1.31
fixes 12 msvcrt file winetests
svn path=/trunk/; revision=43520
Christoph von Wittich [Fri, 16 Oct 2009 20:40:41 +0000 (20:40 +0000)]
-fix some msvcrt string winetests
svn path=/trunk/; revision=43519
Christoph von Wittich [Fri, 16 Oct 2009 20:32:42 +0000 (20:32 +0000)]
sync msvcrt winetest with wine 1.1.31
svn path=/trunk/; revision=43518
Aleksey Bragin [Fri, 16 Oct 2009 18:39:38 +0000 (18:39 +0000)]
[fastfat_new]
- Improve FatCreateDcb so that it sets the dir name.
- Implement relative file object open.
svn path=/trunk/; revision=43517
Aleksey Bragin [Fri, 16 Oct 2009 17:10:12 +0000 (17:10 +0000)]
[fastfat_new]
- Implement FatiOpenExistingDir.
svn path=/trunk/; revision=43516
Cameron Gutman [Fri, 16 Oct 2009 14:51:35 +0000 (14:51 +0000)]
- Add rasadhlp to build and bootcd
svn path=/trunk/; revision=43515
Aleksey Bragin [Fri, 16 Oct 2009 13:11:05 +0000 (13:11 +0000)]
[fastfat_new]
- Add a function to read the dirent and return status of that object - does it exist, is it a file or a directory.
- Branch according to this in FatiCreate and try to open either an existing file or an existing directory. Directory open is stubbed.
svn path=/trunk/; revision=43513
Aleksey Bragin [Fri, 16 Oct 2009 12:29:34 +0000 (12:29 +0000)]
[fastfat_new]
- Minor comments/TODO improvement in FatiCreate.
svn path=/trunk/; revision=43512
Cameron Gutman [Fri, 16 Oct 2009 04:41:40 +0000 (04:41 +0000)]
- Fix build
svn path=/trunk/; revision=43511
Cameron Gutman [Fri, 16 Oct 2009 04:33:22 +0000 (04:33 +0000)]
- Add Alex's rasadhlp
- It builds on my WC but it may not build on trunk (because of our lacking headers)
svn path=/trunk/; revision=43510
Cameron Gutman [Fri, 16 Oct 2009 04:20:34 +0000 (04:20 +0000)]
- Define GUIDs correctly to prevent "multiple definition" errors
svn path=/trunk/; revision=43509
ReactOS Portable Systems Group [Fri, 16 Oct 2009 00:28:33 +0000 (00:28 +0000)]
- Move some unimplemented Ex* Pool routines into ARM3's expool.c.
- Move some unimplemented Mm* Pool routines into ARM3's pool.c.
svn path=/trunk/; revision=43508
ReactOS Portable Systems Group [Thu, 15 Oct 2009 22:08:26 +0000 (22:08 +0000)]
- Implement ARM3 page fault handling.
- Paged pool PTEs are demand zero PTEs while the memory hasn't been accessed -- this is the only type of fault supported.
- Because paged pool PDEs are also demand-paged, added code to handle demand paging of PDEs as well.
- Also, because paged pool is non-resident, but can be accessed from any process, we need a mechanism to sync up the kernel's page directory with the per-process one, on demand. This is done at startup, but other processes may have paged in paged pool that another process knows nothing about when he faults.
- Similar to the hack ReactOS Mm uses, but done properly.
- This is what that shadow system page directory is finally being used for.
- Assert if we get a user-mode fault, a transition fault, or a soft fault, since these shouldn't happen.
- Disable APCs while dispatching faults, and pseudo-use the working set lock.
- Assert if we get write errors on read-only pages, since we don't use those in ARM3 yet.
- Assert if we have a paged out PTE, this shouldn't happen yet.
- Enable test to see if we can touch a paged pool allocation.
svn path=/trunk/; revision=43507
ReactOS Portable Systems Group [Thu, 15 Oct 2009 21:23:24 +0000 (21:23 +0000)]
- Add some simple code to handle paged pool page allocation and freeing in MiAllocatePoolPages and MiFreePoolPages.
- Allocation does not support paged pool expansion yet, so we're limited to the initial 4MB that are initialized on startup.
- This only tests the raw page allocation routines so touching memory will fail as we don't handle paged pool faults yet.
- Nothing excercises this code path other than some simple tests while booting.
svn path=/trunk/; revision=43503
Johannes Anderwald [Thu, 15 Oct 2009 20:29:04 +0000 (20:29 +0000)]
- Revert accidental change
svn path=/trunk/; revision=43502
Aleksey Bragin [Thu, 15 Oct 2009 20:00:27 +0000 (20:00 +0000)]
- Update user32_winetest to Wine-1.1.31.
svn path=/trunk/; revision=43499
Aleksey Bragin [Thu, 15 Oct 2009 19:50:01 +0000 (19:50 +0000)]
- Update gdi32_winetest to Wine-1.1.31 keeping a bitmap font test skipping hack.
svn path=/trunk/; revision=43496
Aleksey Bragin [Thu, 15 Oct 2009 19:49:10 +0000 (19:49 +0000)]
[PSDK]
- Add MM_MIN / MM_MAX definitions.
svn path=/trunk/; revision=43495
Gregor Schneider [Thu, 15 Oct 2009 19:28:11 +0000 (19:28 +0000)]
Amendment to r43487: check last character as well
svn path=/trunk/; revision=43494
ReactOS Portable Systems Group [Thu, 15 Oct 2009 19:19:40 +0000 (19:19 +0000)]
- Fix comments.
- Fix reading the incorrect pool type when freeing pool. The PoolType in the entry is offset by 1, so it can be either 1 for NonPaged or 2 for paged. This used to give us index 0 for nonpaged (correct), and index -1 for paged (oops!). Mask by 3 instead, so we get 0 and 1.
svn path=/trunk/; revision=43489
ReactOS Portable Systems Group [Thu, 15 Oct 2009 19:12:43 +0000 (19:12 +0000)]
- Collapse MmInit1 into MmInitSystem.
- Check for ARM3-owned memory areas during a page fault, and crash the system as this shouldn't happen yet.
- Use portable PTE macro instead of setting the owner bit directly, fixing an ARM port build issue.
svn path=/trunk/; revision=43488
Gregor Schneider [Thu, 15 Oct 2009 19:12:37 +0000 (19:12 +0000)]
[kernel32] IsBadStringPtrA/W:
- Remove overflow failure case, this isn't checked for string validation
- Adapt page check to let the full string be checked in case of overflow
See issue #4861 for more details.
svn path=/trunk/; revision=43487
ReactOS Portable Systems Group [Thu, 15 Oct 2009 18:54:35 +0000 (18:54 +0000)]
- Fix a bug in memory area creation: Static memory areas had the static flag embedded in their type, so code that was switch()ing on the type would fail to recognize the actual type, because MEMORY_AREA_STATIC was ORed in.
- Add a new memory area type: MEMORY_AREA_OWNED_BY_ARM3. This will allow us to instruct the ReactOS Memory MAnager to "Back. The Fuck. Off." during page faults and such, so we can handle page faults inside ARM3-owned PTEs ourselves.
- Right now, all ARM3 PTEs and data is nonpaged, so no page faults should happen, but this may change in the future.
- Also will allow us to manage our own PDEs so we can do on-demand inpage instead of syncing with the ReactOS Mm hack cache.
- Create all memory areas in one shot in MmCreateSystemMemoryAreas (get rid of MiInitPageDirectoryMap and MiInitPagedPool memory area creation).
- Mark all of ours as owned by ARM3.
- Make them all static.
- The only non-ARM3 one right now is paged pool, we own all the other static areas.
- Move this code into mm, instead of mm/ARM3, since memory areas are not an ARM3 concept.
- Also create memory areas for session space, session view, and other ARM3 memory ranges, so nobody touches those ranges.
- Dump the kernel address space after all this is done, in a MmDbg function in mm.
- This cleans up ARM3 of some ROS-specific code, and also collapses Phase 1 and 2 into a single phase.
svn path=/trunk/; revision=43486
Aleksey Bragin [Thu, 15 Oct 2009 18:36:35 +0000 (18:36 +0000)]
[kernel32]
- Initialize PreviousStackBase/Limit to NULL in BasepCreateStack. Previously this bug was hidden because those values were ignored by the kernel.
svn path=/trunk/; revision=43485
Stefan Ginsberg [Thu, 15 Oct 2009 18:34:21 +0000 (18:34 +0000)]
- MiReserveAlignedSystemPtes: Add missing lock release, spotted by janderwald
svn path=/trunk/; revision=43484
ReactOS Portable Systems Group [Thu, 15 Oct 2009 17:41:09 +0000 (17:41 +0000)]
- Add required globals for the ARM port.
svn path=/trunk/; revision=43483
ReactOS Portable Systems Group [Thu, 15 Oct 2009 17:23:21 +0000 (17:23 +0000)]
- Fix calculations error in the setup of the paged pool bitmap.
- Initialize the paged pool guarded mutex.
- Add helper routines ExLock/UnlockPool to either acquire the NPP QSL or the PP GM depending on the pool descriptor, instead of hardcoding the NPP QSL.
- Implement InitializePool for the PagedPool case.
- Now call InitializePool for PagedPool as well.
svn path=/trunk/; revision=43482
ReactOS Portable Systems Group [Thu, 15 Oct 2009 17:01:31 +0000 (17:01 +0000)]
- Get rid of mm/mmsup.c and move some of the ROS-internal functions better where they belong.
- Add ARM3/mmsup.c for miscellaneous function helper functions.
- Implemented:
- Move MmIsRecursiveIoFault, MmIsThisanNtAsSystem and MmQuerySystemSize. These belong here.
- Unimplemented:
- Move MmSetBankedSection and fix the prototype. This should probably go somewhere else later.
- Move MmAdjustWorkingSetSize and fix the prototype. This should probably go in procsup.c later.
- Move MmMapUserAddressesToPage. This should also probably go in procsup.c later.
- Move MmSetAddressrangeModified and MmIsNonPagedsystemAddressValid. These should probably go somewhere else later.
svn path=/trunk/; revision=43481
ReactOS Portable Systems Group [Thu, 15 Oct 2009 16:50:49 +0000 (16:50 +0000)]
- Multiple Virtual Memory API fixes:
- MiDoMappedcopy: The MDL should have 16 pages total, so MI_MAPPED_COPY_PAGES should be 14, not 16, to account for the MDL page itself, and the extra add-on page.
- MiDoMappedCopy: Check for working set quota exception.
- NtRead/WriteVirtualMemory: Do not attempt to do any work if the size is 0.
- NtRead/WriteVirtualMemory: Do not return SEH status if we fail to write the number of bytes read/written -- return the function status.
- NtProtectVirtualMemory: Protect the memory while attached to the target process.
- NtProtectVirtualMemory: Do not return SEH status if we fail to write the number of bytes protected -- return the function status.
- NtLock/UnlockVirtualMemory: Fix incorrect function definition. The last parameter is a bitfield. The middle two parameters are pointers, not values.
- VirtualLock/Unlock: Fix calling NtLock/UnlockVirtualMemory with new correct function definitions. Call with MAP_PROCESS.
- NtLock/UnlockVirtualMemory: Apply SEH. Validate flags. Validate parameters.
- NtLock/UnlockVirtualMemory: Attach to the process while doing the operation. Reference the process.
- NtLock/UnlockVirtualMemory: Check for SE_LOCK_MEMORY_PRIVILEGE if MAP_SYSTEM is specified.
- Move MAP_SYSTEM and MAP_PROCESS from ntifs.h to mmtypes.h in NDK.
- NtLock/UnlockVirtualMemory: Return success and semi-legitimate return values saying nothing was actually done.
- NtFlushVirtualMemory: Apply SEH. Validate flags. Validate parameters. Call MmFlushVirtualMemory.
- NtFlushVirtualMemory: Reference the process.
- NtFlushVirtualMemory: Return success and semi-legitimate return values indicating nothing was flushed.
- NtGetWriteWatch: Fix function prototype.
- NtGet/ResetWriteWatch: Apply SEH instead of hacked parameter checks. Validate parameters.
- NtGet/ResetWriteWatch: Reference the process.
- NtGet/ResetWriteWatch: Return semi-legitimate return values indicating nothing was written to.
- These APIs are now owned by ARM3.
svn path=/trunk/; revision=43480
Aleksey Bragin [Thu, 15 Oct 2009 16:47:26 +0000 (16:47 +0000)]
- Fix inverted if condition in TEB initialization, spotted by Stefan.
svn path=/trunk/; revision=43479
Gregor Schneider [Thu, 15 Oct 2009 15:19:58 +0000 (15:19 +0000)]
Remove duplicate libjpeg from rosapps, used one is in trunk
svn path=/trunk/; revision=43478
Aleksey Bragin [Thu, 15 Oct 2009 10:50:12 +0000 (10:50 +0000)]
[fastfat_new]
- Add a helper function for reading (mapping) volume's stream file object.
- Read a boot sector during volume mounting, unpack it and store values in Vcb->Bpb for later usage. In particular, a volume's serial number being empty problem is fixed now. Volume label is still empty.
- Silence more non-important debug prints.
svn path=/trunk/; revision=43477
ReactOS Portable Systems Group [Thu, 15 Oct 2009 05:56:41 +0000 (05:56 +0000)]
- Multiple PEB/TEB creation fixes:
- Set up PEB and TEB under SEH to handle possible paging errors (which are legitimate).
- Also touch the image under SEH to handle image paging errors (also legitimate).
- Should avoid kernel panics in cases where the executable is damaged, invalid, or impossible to page in.
- Initialize more PEB fields.
- Add new INITIAL_PEB structure to support fork() in the future. Also fixes the fact we don't create a PEB for the system process anymore.
- Create PEB while attached to the process.
- Handle UP-only images, and set correct affinity mask in the PEB.
- Set session ID instead of session structure (currently zero).
- Set correct TIB version in the TEB. Due to a historical oddity, the NT TIB identifies itself as '0x1e00', which is 30 shifted 8 bits. 30 is the version identifier of OS/2 3.0, the original 32-bit target of the Windows NT effort.
- Handle initial TEB correctly for fork().
- Move AWE APIs to procsup.c instea of section.c since they are unrelated.
- Move the rewritten PEB/TEB functions to ARM3's procsup.c.
svn path=/trunk/; revision=43476
James Tabor [Thu, 15 Oct 2009 05:23:06 +0000 (05:23 +0000)]
- Revert 43470.
svn path=/trunk/; revision=43475
ReactOS Portable Systems Group [Thu, 15 Oct 2009 04:34:47 +0000 (04:34 +0000)]
- unix is one of many platforms that use LP64, so instead of defining every single possible OS which uses LP64, how about we define the *only* OS that uses LLP64: Win64.
- Fixes building on BSD and Solaris.
svn path=/trunk/; revision=43474
ReactOS Portable Systems Group [Thu, 15 Oct 2009 04:24:13 +0000 (04:24 +0000)]
- Define KeInitializeSpinLock for ARM to unbreak build.
svn path=/trunk/; revision=43473
ReactOS Portable Systems Group [Thu, 15 Oct 2009 04:09:36 +0000 (04:09 +0000)]
- Add some more PTE field macros for portability.
- Define PTE_TOP.
svn path=/trunk/; revision=43472
ReactOS Portable Systems Group [Thu, 15 Oct 2009 04:03:37 +0000 (04:03 +0000)]
- Remove calls to MmMarkPageMapped/UnMapped -- these APIs don't exist anymore.
- Unbreaks part of kernel ARM build.
svn path=/trunk/; revision=43471
Cameron Gutman [Thu, 15 Oct 2009 02:26:16 +0000 (02:26 +0000)]
- Fix a typo
svn path=/trunk/; revision=43470
Cameron Gutman [Thu, 15 Oct 2009 01:23:39 +0000 (01:23 +0000)]
- Import Alex's dnslib
- Add headers and definitions needed for dnslib to build
- Part 2 of 2
svn path=/trunk/; revision=43469
Cameron Gutman [Thu, 15 Oct 2009 01:04:39 +0000 (01:04 +0000)]
- Import Alex's dnslib
- Part 1 of 2
svn path=/trunk/; revision=43468
Hervé Poussineau [Wed, 14 Oct 2009 21:04:44 +0000 (21:04 +0000)]
[freeldr] List in menu all entries from [Operating Systems] section, even if they don't have an associated section
Try to infer the boot type if not specified
See issue #4455 for more details.
svn path=/trunk/; revision=43467
Timo Kreuzer [Wed, 14 Oct 2009 20:46:58 +0000 (20:46 +0000)]
Some 64 bit heap fixes by encoded, merged from amd64 branch
svn path=/trunk/; revision=43466
Timo Kreuzer [Wed, 14 Oct 2009 20:09:13 +0000 (20:09 +0000)]
Define __unaligned to nothing on gcc, we don't need it for amd64, and the old definition was wrong anyway.
Fix definition of UNALIGNED for amd64.
svn path=/trunk/; revision=43465
Sylvain Petreolle [Wed, 14 Oct 2009 19:44:23 +0000 (19:44 +0000)]
fix typo
svn path=/trunk/; revision=43464
Johannes Anderwald [Wed, 14 Oct 2009 18:09:28 +0000 (18:09 +0000)]
- Fix debugging flood
- Pass correct flags to KsProbeStreamIrp
- Remove dead code
svn path=/trunk/; revision=43463
Stefan Ginsberg [Wed, 14 Oct 2009 18:07:29 +0000 (18:07 +0000)]
- Remove a hack from KiGetMachineBootPointers and set the TSS selector properly in KiRosPrepareForSystemStartup instead.
- Use KGDT_TSS in WinLdrSetProcessorContext instead of a hardcoded value.
svn path=/trunk/; revision=43462
Stefan Ginsberg [Wed, 14 Oct 2009 17:21:56 +0000 (17:21 +0000)]
Move x86 assembly macros into the x86 directory.
svn path=/trunk/; revision=43461
Timo Kreuzer [Wed, 14 Oct 2009 17:05:51 +0000 (17:05 +0000)]
Fix definition of PORT_MAXIMUM_MESSAGE_LENGTH for 64 bit
svn path=/trunk/; revision=43460
Johannes Anderwald [Wed, 14 Oct 2009 17:04:08 +0000 (17:04 +0000)]
- Fix debugging flood #2
svn path=/trunk/; revision=43459
Timo Kreuzer [Wed, 14 Oct 2009 17:03:41 +0000 (17:03 +0000)]
Add back PORT_MAXIMUM_MESSAGE_LENGTH for user mode, thanks Stefan
svn path=/trunk/; revision=43458
Johannes Anderwald [Wed, 14 Oct 2009 16:59:07 +0000 (16:59 +0000)]
- Fix debugging flood
svn path=/trunk/; revision=43457
Timo Kreuzer [Wed, 14 Oct 2009 16:56:54 +0000 (16:56 +0000)]
[NDK] remove PORT_MAXIMUM_MESSAGE_LENGTH, it's defined in wdm.h
svn path=/trunk/; revision=43456
Timo Kreuzer [Wed, 14 Oct 2009 16:45:35 +0000 (16:45 +0000)]
Merge amd64 NDK from amd64 branch:
34711, 34712, 34842, 34925, 34967, 34970, 35323, 35324, 35347, 35348, 35361, 35436, 35509, 35588, 35739, 35823, 35952, 35966, 36360, 37323, 37434, 37472, 37536, 37820, 37821, 37869, 37990, 38013, 38014, 43426, 43454
svn path=/trunk/; revision=43455
Aleksey Bragin [Wed, 14 Oct 2009 15:59:14 +0000 (15:59 +0000)]
[fastfat_new]
- Implement shared VCB locking.
- Implement QueryVolumeInfo common handler, and a handler of QueryFsVolumeInfo class. Doesn't currently work due to missing VPB.
svn path=/trunk/; revision=43453
Timo Kreuzer [Wed, 14 Oct 2009 14:29:32 +0000 (14:29 +0000)]
Update ReactOS-amd64.rbuild
svn path=/trunk/; revision=43452
Johannes Anderwald [Wed, 14 Oct 2009 10:24:19 +0000 (10:24 +0000)]
- Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for CPortPinWaveCyclic + CPortPinWavePci
svn path=/trunk/; revision=43446
Michael Martin [Wed, 14 Oct 2009 09:50:31 +0000 (09:50 +0000)]
- CmpPrepareKey: If cell signature is CM_KEY_NODE_SIGNATURE, the KeyCell is index leaf, handle it properly by calling CmpPrepareKey vice CmpPrepareIndexOfKeys. Fixes ASSERT in cminit.c that occurs on reboot after installing some applications.
svn path=/trunk/; revision=43445
Christoph von Wittich [Tue, 13 Oct 2009 21:51:16 +0000 (21:51 +0000)]
-revert accidental change
svn path=/trunk/; revision=43444
Christoph von Wittich [Tue, 13 Oct 2009 21:49:36 +0000 (21:49 +0000)]
[BDASUP]
-fix some function declarations
svn path=/trunk/; revision=43443
Christoph von Wittich [Tue, 13 Oct 2009 21:09:08 +0000 (21:09 +0000)]
partial sync to wine 1.1.31
svn path=/trunk/; revision=43442
Gregor Schneider [Tue, 13 Oct 2009 20:34:05 +0000 (20:34 +0000)]
[spider]
- Check for completed stack after dealing cards by installing one function to do this in call three cases, bug #4886
- Fix and simplify drop rules (only by number) and validation rules (by number and type) for two and four color games
- Fix typo in Polish Translation
svn path=/trunk/; revision=43441
Stefan Ginsberg [Tue, 13 Oct 2009 19:45:40 +0000 (19:45 +0000)]
- Add the MMDBG_COPY_* flags and MmDbgCopyMemory's prototype.
- Add KdpCopyMemoryChunks and use it to handle virtual memory read/write (physical memory support still stubbed). The actual copy is still a hack and its only safeguard against invalid memory is still a simple check for NULL.
- Properly implement KdpReadVirtualMemory, KdpWriteVirtualMemory, KdpReadPhysicalmemory and KdpWritePhysicalmemory using KdpCopyMemoryChunks.
- Merge Timo's ReportFlags fix from the AMD64 branch.
- Implement KdpSysWriteMsr and KdpSysReadMsr for x86. SEH is commented as our GPF handler seems to swallow exceptions caused by accessing invalid MSRs.
- Change DataValue parameter of KdpSysReadIoSpace and KdpSysWriteIoSpace to PVOID to better match how it is used.
svn path=/trunk/; revision=43440
Dmitry Gorbachev [Tue, 13 Oct 2009 18:43:42 +0000 (18:43 +0000)]
- See if it is a multibyte code page.
- Remove check against zero.
- Fix comments, formatting.
svn path=/trunk/; revision=43439
Aleksey Bragin [Tue, 13 Oct 2009 18:01:55 +0000 (18:01 +0000)]
[rtl]
- Fix an out-of-bounds read in RtlpDidUnicodeToOemWorked.
See issue #4888 for more details.
svn path=/trunk/; revision=43438
Johannes Anderwald [Tue, 13 Oct 2009 12:29:41 +0000 (12:29 +0000)]
- Fix various bugs such as wrong function definitions, using of uninitialized variables
- Add macros which are not present in the WDK
- Check return type of synchronized interrupt routine
- Use PcHandlePropertyWithTable IPortPinWavePci
- Remove IServiceSink implementation from IPortWaveRt as it is a hack
- Add a small hack to IResource list implementation as prefast doesnt find decl of NumberOfEntries
- Fix build
svn path=/trunk/; revision=43437
Johannes Anderwald [Tue, 13 Oct 2009 12:25:10 +0000 (12:25 +0000)]
- Fix interface definition
svn path=/trunk/; revision=43436
Dmitry Gorbachev [Tue, 13 Oct 2009 03:34:29 +0000 (03:34 +0000)]
Temporary hack to avoid linker errors when building with RosBE 1.5B1.
svn path=/trunk/; revision=43434
Dmitry Gorbachev [Mon, 12 Oct 2009 23:52:56 +0000 (23:52 +0000)]
Check for error.
svn path=/trunk/; revision=43431
Dmitry Gorbachev [Mon, 12 Oct 2009 23:52:33 +0000 (23:52 +0000)]
Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
Johannes Anderwald [Mon, 12 Oct 2009 22:44:17 +0000 (22:44 +0000)]
- Add more types
svn path=/trunk/; revision=43425