Eric Kohl [Fri, 23 Sep 2011 18:24:33 +0000 (18:24 +0000)]
[LSASRV]
Initialize required policy attributes when the LSA database is created. This fixes the hanging lsa winetest.
svn path=/trunk/; revision=53817
Timo Kreuzer [Fri, 23 Sep 2011 17:35:45 +0000 (17:35 +0000)]
[FREELDR]
Fix some bugs in the code that deals with memory descriptors:
ArcGetMemoryDescriptor was enumerating the bios generated entries first and then the static entries. The latter were conflicting with the former and took precedence when initializing the page lookup table. The problem was, that MmFindLocationForPageLookupTable would use the highest range of pages available. If that range would be conflicting with a following static descriptor, the static would have been ignored. It only worked because on x86 the highest bios descriptor has enough free pages, before it conflicts with a static entry (page 0xfff, marked as unusable), so that the page lookup table could be created.
MmGetAddressablePageCountIncludingHoles enumerated all memory descriptors to find MmLowestPhysicalPage, but it was only counting FreeMemory, thus skipping all other memory ranges. This only worked, due to the previous bug, so that the bios pages shown first took precedence over the following static descriptors. Without the former bug MmLowestPhysicalPage would be 0x100 which would tigger in the next bug:
MmAreMemoryPagesAvailable took the passed address range and looked up all pages in the lookup table to see whether all are free. Now the function didn't check, whether the passed address was below MmLowestPhysicalPage and in case it was, happily accessed the memory below the lookup table. This would result in hal being loaded at 0x40000 overwriting the loader itself.
This is all fixe by implementing a new way of creating the memory map. First there is a static memory map, which has enough free entries to add dynamic ranges. Then AddMemoryDescriptor will allow you to add a new range,
while the already existing ranges will take precedence and the new ranges will be properly split and inserted, so that the resulting map does not contain any overlapping regions and is sorted from low to high pages. The static memory descriptor exists in the architecture specific file.
The code that enumerates the bios information now uses this function to add the ranges on top of the static descriptor.
More cleanup work to follow.
svn path=/trunk/; revision=53816
Giannis Adamopoulos [Fri, 23 Sep 2011 16:04:17 +0000 (16:04 +0000)]
[user32_apitest]
- add back showing the index of the message when comparing massage logs
svn path=/trunk/; revision=53815
Giannis Adamopoulos [Fri, 23 Sep 2011 14:19:40 +0000 (14:19 +0000)]
[user32_apitest]
- Fix build with gcc
svn path=/trunk/; revision=53814
Giannis Adamopoulos [Fri, 23 Sep 2011 14:09:30 +0000 (14:09 +0000)]
[user32_apitest]
- Simplify compare_cache and make it show more meaningful results
svn path=/trunk/; revision=53813
Giannis Adamopoulos [Fri, 23 Sep 2011 12:05:40 +0000 (12:05 +0000)]
[user32_apitest.rbuild]
- Move shared code used to log window messages in helper.c
- Implement logging hooks
- Fix comparing the logged messages to show the correct line of the test
- Add tests for hooks in TrackMouseEvent test
svn path=/trunk/; revision=53812
Giannis Adamopoulos [Fri, 23 Sep 2011 11:45:44 +0000 (11:45 +0000)]
[user32_apitest]
- Fix white spaces
svn path=/trunk/; revision=53811
Thomas Faber [Fri, 23 Sep 2011 11:43:02 +0000 (11:43 +0000)]
[KMTESTS/MM]
- Extend MmSection test to include passing different files and mapping a view
svn path=/trunk/; revision=53810
Thomas Faber [Fri, 23 Sep 2011 11:24:15 +0000 (11:24 +0000)]
[DDK/PSDK]
- Fix several typos. Patch by Elton Chung (elton328 at gmail dot com). Slight compatibility fix by me
- Add missing NTSYSAPI to some externs
- remove Se*DefaultDacl externs from ntifs, as they don't belong there, and are already correctly found in ndk/setypes.h
svn path=/trunk/; revision=53809
Eric Kohl [Fri, 23 Sep 2011 10:01:22 +0000 (10:01 +0000)]
[LSASRV]
Implement the PolicyPrimaryDomainInformation and PolicyAccountDomainInformation cases of LsarQueryInformationPolicy.
svn path=/trunk/; revision=53808
Timo Kreuzer [Fri, 23 Sep 2011 09:44:25 +0000 (09:44 +0000)]
[LSASRV]
Change some stubs to real exports in the spec file, since the functions exist. Fixes MSVC build
svn path=/trunk/; revision=53807
Cameron Gutman [Thu, 22 Sep 2011 21:23:09 +0000 (21:23 +0000)]
[HAL]
- Revert part of r53788 (MAXIMUM_IDTVECTOR is a valid vector number)
- The buffer overrun in the IDT code was already fixed by r53420
svn path=/trunk/; revision=53806
Olaf Siejka [Thu, 22 Sep 2011 19:06:29 +0000 (19:06 +0000)]
[TRANSLATION]
- Multimodule translation and UTF-8 conversion to Portugese Brazilian. Patch by mkbu95. Minor fixes by me;
See issue #6467 for more details.
svn path=/trunk/; revision=53805
Kamil Hornicek [Thu, 22 Sep 2011 17:18:26 +0000 (17:18 +0000)]
Czech localization (base/applications): UTF-8 conversion cleanup, fixed typos, translated some more English strings.
svn path=/trunk/; revision=53804
Timo Kreuzer [Thu, 22 Sep 2011 16:38:54 +0000 (16:38 +0000)]
[FREELDR]
- Fix a bug, where the bios memory map could have a bogus entry: according to R.B.'s Interrupt list, in some bioses the function for enumerating the memory can return ebx != 0 for the last descriptor, and fail in the following call returning CF = 1. In that case we were previously counting that last descriptor as well, but its content wouldn't describe a valid memory region.
- Use a static buffer for the bios memory map, stored in the achitecture specific file and return a pointer to that variable from PcMemGetMemoryMap. Reuse the static map from DetectAcpiBios instead of enumerating again. On arm, we don't even need a buffer, we return the pointer from the arm block.
svn path=/trunk/; revision=53803
Aleksey Bragin [Thu, 22 Sep 2011 08:45:05 +0000 (08:45 +0000)]
[NTDLL]
- Remove useless code. Spotted by Pierre.
svn path=/trunk/; revision=53802
Timo Kreuzer [Thu, 22 Sep 2011 07:52:51 +0000 (07:52 +0000)]
[FREELDR]
- Move heap code out of mm.c into a seperate file mm/heap.c
- Move code from arcemul/mm.c into mm/mminit.c
svn path=/trunk/; revision=53801
Dmitry Gorbachev [Thu, 22 Sep 2011 06:09:11 +0000 (06:09 +0000)]
[Desk|User32|UXTheme]
Silence GCC 4.6 "variable 'foo' set but not used [-Werror=unused-but-set-variable]" warnings/errors.
svn path=/trunk/; revision=53800
Dmitry Gorbachev [Thu, 22 Sep 2011 06:08:35 +0000 (06:08 +0000)]
[NTOSKRNL]
Do not fail with unknown CPUs. Bug #6493.
svn path=/trunk/; revision=53799
Dmitry Gorbachev [Thu, 22 Sep 2011 06:06:51 +0000 (06:06 +0000)]
[FREELDR]
Put uninitialized/zero-initialized data into .bss. Fill it with 0s at startup.
svn path=/trunk/; revision=53798
Timo Kreuzer [Wed, 21 Sep 2011 23:02:24 +0000 (23:02 +0000)]
[FREELDR]
Patch by Brian Palmer:
Fix problems that could occur, when the BIOS returns memory regions that are not page aligned, by fixing up the bios memory map before using it.
svn path=/trunk/; revision=53797
Timo Kreuzer [Wed, 21 Sep 2011 21:48:44 +0000 (21:48 +0000)]
[FREELDR]
Patch by Brian Palmer:
Properly handle a memory hole below 16MB, which some machines have.
svn path=/trunk/; revision=53796
Pierre Schweitzer [Wed, 21 Sep 2011 21:17:15 +0000 (21:17 +0000)]
[SYSSETUP]
Fix build
svn path=/trunk/; revision=53795
Eric Kohl [Wed, 21 Sep 2011 20:53:46 +0000 (20:53 +0000)]
[SYSSETUP]
Set the account domain name.
svn path=/trunk/; revision=53794
Pierre Schweitzer [Wed, 21 Sep 2011 19:37:15 +0000 (19:37 +0000)]
[NTDLL]
Fix broken if condition
svn path=/trunk/; revision=53793
Pierre Schweitzer [Wed, 21 Sep 2011 19:26:57 +0000 (19:26 +0000)]
[EVENTLOG]
Fix broken if condition
svn path=/trunk/; revision=53792
Pierre Schweitzer [Wed, 21 Sep 2011 17:13:28 +0000 (17:13 +0000)]
[KERNEL32]
Fix buffer overrun
svn path=/trunk/; revision=53791
Jérôme Gardou [Wed, 21 Sep 2011 17:11:00 +0000 (17:11 +0000)]
[DHCPSVC]
- fix const usage
svn path=/trunk/; revision=53790
Pierre Schweitzer [Wed, 21 Sep 2011 16:15:16 +0000 (16:15 +0000)]
[HAL/x86]
Completely fix one of the overruns
svn path=/trunk/; revision=53789
Pierre Schweitzer [Wed, 21 Sep 2011 16:10:32 +0000 (16:10 +0000)]
[HAL/x86]
Fix buffer overruns
svn path=/trunk/; revision=53788
Giannis Adamopoulos [Wed, 21 Sep 2011 12:30:22 +0000 (12:30 +0000)]
[user32_apitest]
- Add some tests for TrackMouseEvent
svn path=/trunk/; revision=53787
Pierre Schweitzer [Wed, 21 Sep 2011 11:26:55 +0000 (11:26 +0000)]
[DHCPCSVC]
Fix passing a 860B struct by value
svn path=/trunk/; revision=53786
Thomas Faber [Wed, 21 Sep 2011 10:35:33 +0000 (10:35 +0000)]
[KMTESTS/MM]
- Add some tests for MmCreateSection involving file objects
svn path=/trunk/; revision=53785
Pierre Schweitzer [Wed, 21 Sep 2011 09:11:42 +0000 (09:11 +0000)]
[NTOSKRNL]
Fix FstubFixupEfiPartition()
Add helper macro SET_PARTITION_LENGTH()
svn path=/trunk/; revision=53784
Eric Kohl [Tue, 20 Sep 2011 23:15:51 +0000 (23:15 +0000)]
[LSA]
- Implement the LSA object database.
- Implement the information classes PolicyPrimaryDomainInformation and PolicyAccountDomainInformation of LsarSetInformationPolicy().
svn path=/trunk/; revision=53783
Pierre Schweitzer [Tue, 20 Sep 2011 21:44:22 +0000 (21:44 +0000)]
[CRT]
Rewritten _tfullpath(). This:
- Fixes memory leak
- Fixes null pointer use
- Adds missing features
- Sets errno
svn path=/trunk/; revision=53782
Aleksey Bragin [Tue, 20 Sep 2011 21:04:33 +0000 (21:04 +0000)]
[NTDLL/LDR]
- Properly wrap potentially unsafe buffer usage into SEH. Spotted by Pierre.
svn path=/trunk/; revision=53781
Olaf Siejka [Tue, 20 Sep 2011 20:45:31 +0000 (20:45 +0000)]
[TRANSLATION]
- Massive Romanian translation patch by Stefan Fulea. See bugs 6468 and 6478;
svn path=/trunk/; revision=53780
Daniel Reimer [Tue, 20 Sep 2011 20:43:42 +0000 (20:43 +0000)]
Sync the recent changes from the themes merge to all languages, sync all the settings from the english rc file to all other languages. Fix some sizes and lengths
svn path=/trunk/; revision=53779
Giannis Adamopoulos [Tue, 20 Sep 2011 19:41:33 +0000 (19:41 +0000)]
[win32k]
- Replace long file headers with short headers
- Minor cleanup
svn path=/trunk/; revision=53778
Giannis Adamopoulos [Tue, 20 Sep 2011 18:04:14 +0000 (18:04 +0000)]
[win32k]
- move function definitions from c files to headers
svn path=/trunk/; revision=53777
Timo Kreuzer [Tue, 20 Sep 2011 17:33:51 +0000 (17:33 +0000)]
[RTL]
- Remove qsort, its already in crt.
- Fix a number of MSVC/64 bit issues
svn path=/trunk/; revision=53776
Giannis Adamopoulos [Tue, 20 Sep 2011 15:21:29 +0000 (15:21 +0000)]
[win32k]
- Remove a defined but not used definition of POINT_IN_RECT
svn path=/trunk/; revision=53775
Pierre Schweitzer [Tue, 20 Sep 2011 14:21:21 +0000 (14:21 +0000)]
[SYSSETUP]
Fix broken logic in CreateShortcut() and add an explicit overall
svn path=/trunk/; revision=53774
Giannis Adamopoulos [Tue, 20 Sep 2011 13:55:35 +0000 (13:55 +0000)]
[uxtheme]
- Fix double includes
svn path=/trunk/; revision=53773
Pierre Schweitzer [Tue, 20 Sep 2011 13:53:25 +0000 (13:53 +0000)]
[KERNEL32]
Fix wrong sizeof usage
svn path=/trunk/; revision=53772
Giannis Adamopoulos [Tue, 20 Sep 2011 13:08:36 +0000 (13:08 +0000)]
[uxtheme]
- Use precompiled headers
svn path=/trunk/; revision=53771
Pierre Schweitzer [Tue, 20 Sep 2011 12:29:47 +0000 (12:29 +0000)]
[OBJ2BIN]
- Fix memory leaks
- Fix resources leaks
- Fix wrong if statement
svn path=/trunk/; revision=53770
Pierre Schweitzer [Tue, 20 Sep 2011 12:28:23 +0000 (12:28 +0000)]
[MKHIVE]
Fix memory leak
svn path=/trunk/; revision=53769
Pierre Schweitzer [Tue, 20 Sep 2011 12:27:50 +0000 (12:27 +0000)]
[LOG2LINES]
Fix memory leak
svn path=/trunk/; revision=53768
Pierre Schweitzer [Tue, 20 Sep 2011 12:24:57 +0000 (12:24 +0000)]
[GENINC]
Fix resources leak
svn path=/trunk/; revision=53767
Pierre Schweitzer [Tue, 20 Sep 2011 12:10:28 +0000 (12:10 +0000)]
[PEFIXUP]
Fix resources leak
svn path=/trunk/; revision=53766
Dmitry Gorbachev [Tue, 20 Sep 2011 08:50:38 +0000 (08:50 +0000)]
[FREELDR]
Fix loading with GRUB (CMake builds).
svn path=/trunk/; revision=53765
Timo Kreuzer [Mon, 19 Sep 2011 19:31:21 +0000 (19:31 +0000)]
[RTL]
- Fix a number of MSVC/64 bit warnings/problems
- Fix return type of RtlpInitializeHeapSegment (by Roel)
svn path=/trunk/; revision=53764
Pierre Schweitzer [Mon, 19 Sep 2011 17:24:27 +0000 (17:24 +0000)]
[RGENSTAT]
Fix memory leaks
svn path=/trunk/; revision=53763
Pierre Schweitzer [Mon, 19 Sep 2011 17:24:01 +0000 (17:24 +0000)]
[REGTESTS2XML]
Fix memory leaks
svn path=/trunk/; revision=53762
Roel Messiant [Mon, 19 Sep 2011 16:52:37 +0000 (16:52 +0000)]
[NTOSKRNL]
- Keep APC delivery disabled while holding a Heap Lock, not just while acquiring/releasing it (Dedicated to Timo and Ged).
- Store the Heap Lock in non-paged pool, the only place where executive resources belong (Dedicated to patient people).
[RTL]
- Restructure/simplify/correct Heap and Heap Segment initialization (partially to cope with the changed Heap Lock interface).
- Restrict the location of Heap Segment headers to the base address of the Heap Segment (which frees up a whopping 60 bytes per Heap!).
- Cater for acquiring the Heap Lock exclusively or shared (the latter is only available in kernel-mode); only exclusive locking is used for now.
- Use a plain critical section to guard the Process Heap list, no reason to disguise it as a Heap Lock (saves us a handful more bytes).
svn path=/trunk/; revision=53761
Timo Kreuzer [Mon, 19 Sep 2011 16:24:18 +0000 (16:24 +0000)]
[NTDLL]
Fix CsrProbeForRead and CsrProbeForWrite to actually access the memory, by using volatile. The compiler optimized the access away previously.
svn path=/trunk/; revision=53760
Dmitry Gorbachev [Mon, 19 Sep 2011 14:41:04 +0000 (14:41 +0000)]
Fix more unused-but-set warnings.
svn path=/trunk/; revision=53759
Giannis Adamopoulos [Mon, 19 Sep 2011 14:05:44 +0000 (14:05 +0000)]
add the themes service to boot cd
svn path=/trunk/; revision=53758
Giannis Adamopoulos [Mon, 19 Sep 2011 13:45:22 +0000 (13:45 +0000)]
[thmsvc]
- Attempt to fix cmake build
svn path=/trunk/; revision=53757
Giannis Adamopoulos [Mon, 19 Sep 2011 13:39:05 +0000 (13:39 +0000)]
[desk.cpl]
- try to fix cmake build
svn path=/trunk/; revision=53756
Giannis Adamopoulos [Mon, 19 Sep 2011 13:31:39 +0000 (13:31 +0000)]
[thmsvc]
- Add the themes service from the themes branch
svn path=/trunk/; revision=53755
Giannis Adamopoulos [Mon, 19 Sep 2011 13:29:10 +0000 (13:29 +0000)]
[uxundoc.h]
- Add a couple of definitions that I forgot to add
svn path=/trunk/; revision=53754
Giannis Adamopoulos [Mon, 19 Sep 2011 13:24:48 +0000 (13:24 +0000)]
[desk.cpl]
- revert unintended change
svn path=/trunk/; revision=53753
Giannis Adamopoulos [Mon, 19 Sep 2011 13:18:33 +0000 (13:18 +0000)]
[desk.cpl]
- Merge from themes branch
svn path=/trunk/; revision=53752
Giannis Adamopoulos [Mon, 19 Sep 2011 13:11:35 +0000 (13:11 +0000)]
[comctl32]
- Merge from the themes branch
- Partly sync themed button handling with wine
svn path=/trunk/; revision=53751
Giannis Adamopoulos [Mon, 19 Sep 2011 13:07:03 +0000 (13:07 +0000)]
[uxtheme]
- Fix a warning
svn path=/trunk/; revision=53750
Giannis Adamopoulos [Mon, 19 Sep 2011 12:58:24 +0000 (12:58 +0000)]
[uxtheme]
- Try to fix build on linux
svn path=/trunk/; revision=53749
Giannis Adamopoulos [Mon, 19 Sep 2011 12:51:42 +0000 (12:51 +0000)]
[uxtheme]
- Merge from the themes branch
svn path=/trunk/; revision=53748
Giannis Adamopoulos [Mon, 19 Sep 2011 12:43:44 +0000 (12:43 +0000)]
[user32]
- Merge from the themes branch
svn path=/trunk/; revision=53747
Timo Kreuzer [Mon, 19 Sep 2011 11:09:09 +0000 (11:09 +0000)]
[RTL]
- Fix a number of MSVC/amd64 warnings/problems
- Remove code duplication in RtlCharToInteger and RtlUnicodeStringToInteger
- Fixup too large string length in RtlInitAnsiString, RtlInitUnicodeString
- Use symbolic constants instead of hardcoded values
- Fix overflow check in RtlInitUnicodeStringEx
svn path=/trunk/; revision=53746
Giannis Adamopoulos [Mon, 19 Sep 2011 08:32:38 +0000 (08:32 +0000)]
[win32k]
- Merge changes from the themes branch. These changes will introduce test regressions for class functions and for TrackMouseEvent. The changes in the class functions are needed in order to let comctl32 register its own versions of built in controls. This is a hack and will be removed when we properly support class versions. The second change that causes test regressions is in TrackMouseEvent and it is needed in order to fix WM_MOUSELEAVE messages that were completely broken and not tested at all by wine's test suite.
svn path=/trunk/; revision=53745
Pierre Schweitzer [Mon, 19 Sep 2011 07:55:26 +0000 (07:55 +0000)]
[ROUTE]
Fix memory leaks
svn path=/trunk/; revision=53744
Pierre Schweitzer [Mon, 19 Sep 2011 07:30:02 +0000 (07:30 +0000)]
[HPP]
Fix memory leak
svn path=/trunk/; revision=53743
Pierre Schweitzer [Mon, 19 Sep 2011 07:29:36 +0000 (07:29 +0000)]
[SPEC2DEF]
Fix resources leak
svn path=/trunk/; revision=53742
Pierre Schweitzer [Mon, 19 Sep 2011 07:28:51 +0000 (07:28 +0000)]
[STUBGEN]
Fix resources leak
svn path=/trunk/; revision=53741
Eric Kohl [Sun, 18 Sep 2011 23:59:06 +0000 (23:59 +0000)]
[NDK]
Add the missing RtlpNt-Registry functions and move RtlpNtOpenKey into the NTOS_MODE_USER section.
svn path=/trunk/; revision=53740
Timo Kreuzer [Sun, 18 Sep 2011 22:15:37 +0000 (22:15 +0000)]
[RTL]
Improve formatting, no code change
svn path=/trunk/; revision=53739
Timo Kreuzer [Sun, 18 Sep 2011 20:56:44 +0000 (20:56 +0000)]
[NTOSKRNL]
Fix an accidental change. Fixes boot.
svn path=/trunk/; revision=53738
Giannis Adamopoulos [Sun, 18 Sep 2011 16:51:28 +0000 (16:51 +0000)]
[wingdi.h]
- merge one last header change from the themes branch
svn path=/trunk/; revision=53737
Timo Kreuzer [Sun, 18 Sep 2011 15:10:05 +0000 (15:10 +0000)]
[RTL]
Improve formatting, no code change
svn path=/trunk/; revision=53736
Giannis Adamopoulos [Sun, 18 Sep 2011 13:12:44 +0000 (13:12 +0000)]
[headers]
- Begin merging from themes branch
svn path=/trunk/; revision=53735
Timo Kreuzer [Sun, 18 Sep 2011 13:11:45 +0000 (13:11 +0000)]
[HAL/NDK]
- Make Vector parameter in HalEnableSystemInterrupt, HalDisableSystemInterrupt and HalBeginSystemInterrupt an ULONG, not an UCHAR
[NDK]
- 64bit fixes for HANDLE_TABLE, KPROCESS, SECTION_IMAGE_INFORMATION, MMADDRESS_LIST, MMVAD_FLAGS, MMVAD, MMVAD_LONG, MMVAD_SHORT, MEMORY_DESCRIPTOR, MEMORY_ALLOCATION_DESCRIPTOR, LdrVerifyMappedImageMatchesChecksum
- KDPC_DATA::DpcQueueDepth is signed on amd64, unsigned on x86
[NTOSKRNL]
- Fix hundreds of MSVC and amd64 warnings
- add a pragma message to FstubFixupEfiPartition, since it looks broken
- Move portable Ke constants from <arch>/cpu.c to krnlinit.c
- Fixed a bug in amd64 KiGeneralProtectionFaultHandler
svn path=/trunk/; revision=53734
Timo Kreuzer [Sun, 18 Sep 2011 12:51:40 +0000 (12:51 +0000)]
[NTOSKRNL]
- replace some AlignUp with ALIGN_UP_BY
- Fix several MSVC / amd64 warnings
svn path=/trunk/; revision=53733
Giannis Adamopoulos [Sun, 18 Sep 2011 12:33:38 +0000 (12:33 +0000)]
[win32k]
- Fix several issues detected by static code analysis
svn path=/trunk/; revision=53732
Pierre Schweitzer [Sun, 18 Sep 2011 11:00:12 +0000 (11:00 +0000)]
[CABMAN]
Leak less resources
svn path=/trunk/; revision=53731
Dmitry Gorbachev [Sun, 18 Sep 2011 00:57:17 +0000 (00:57 +0000)]
[CMAKE]
Allow to specify prefix/suffix for GCC and Binutils.
svn path=/trunk/; revision=53730
Roel Messiant [Sat, 17 Sep 2011 20:26:31 +0000 (20:26 +0000)]
[NTOSKRNL]
Disable normal APC delivery while acquiring/releasing a heap lock. Also, BOOLEAN != NTSTATUS.
svn path=/trunk/; revision=53729
Timo Kreuzer [Sat, 17 Sep 2011 20:01:55 +0000 (20:01 +0000)]
[NTOSKRNL]
Fix formatting, no code change
svn path=/trunk/; revision=53728
Daniel Reimer [Sat, 17 Sep 2011 13:58:45 +0000 (13:58 +0000)]
Update rapps Database
svn path=/trunk/; revision=53727
Eric Kohl [Sat, 17 Sep 2011 00:55:02 +0000 (00:55 +0000)]
[RTL]
Fix the overly complicated and buggy implementation of RtlIsDosDeviceName_Ustr based on the simple pre-r52687 implementation of RtlIsDosDeviceName_U. This fixes 14(!) wine tests.
svn path=/trunk/; revision=53726
Eric Kohl [Fri, 16 Sep 2011 20:53:16 +0000 (20:53 +0000)]
[RTL]
RtlGenerate8dot3Name: Ignore spaces in long file names instead of converting them to underscores.
See issue #6385 for more details.
svn path=/trunk/; revision=53725
Timo Kreuzer [Fri, 16 Sep 2011 18:39:55 +0000 (18:39 +0000)]
[NTOSKRNL/AMD64]
- Implement KiApcInterrupt, KiDpcInterrupt and KiIpiInterrupt stubs
- Improve and cleanup stubs.c
svn path=/trunk/; revision=53724
Timo Kreuzer [Fri, 16 Sep 2011 17:47:32 +0000 (17:47 +0000)]
[NTOSKRNL/AMD64]
- Update the trap code to use the new macros and cleanup a little
svn path=/trunk/; revision=53723
Aleksey Bragin [Fri, 16 Sep 2011 13:42:04 +0000 (13:42 +0000)]
[FASTFAT]
- Don't check for leading "." char in a filename, because it's valid in case of LFN. The driver is already quite broken, so it can't get more broken if this assert is commented out.
Fixes assertion in "kernel32_winetest module".
svn path=/trunk/; revision=53722
Jérôme Gardou [Fri, 16 Sep 2011 13:18:40 +0000 (13:18 +0000)]
[WIN32K]
- syscalls are stdcall
svn path=/trunk/; revision=53721
Timo Kreuzer [Fri, 16 Sep 2011 09:46:08 +0000 (09:46 +0000)]
[NTOSKRNL/AMD64]
- Fix KiGeneralProtectionFault
- Don't bugcheck in KiUnexpectedInterrupt
- Remove debugprint in KiEndInterrupt, and instead assert, its called from the clock interrupt, since thats the only instance we handle right now
svn path=/trunk/; revision=53720
Timo Kreuzer [Fri, 16 Sep 2011 09:39:41 +0000 (09:39 +0000)]
[HAL/APIC/AMD64]
- add common amd64 asm trap macros
- fix amd64 version of HackEoi
- send EOI in amd64 trap exit code, so we avoid using HackEoi
- modify HalpClockInterruptHandler for better portability
- fix amd64 TscCalibrationISR
svn path=/trunk/; revision=53719
Jérôme Gardou [Thu, 15 Sep 2011 21:46:59 +0000 (21:46 +0000)]
[SHELL32]
- it's right there, use quotes to include it
svn path=/trunk/; revision=53718