Commit graph

48524 commits

Author SHA1 Message Date
Pierre Schweitzer b880e23623 [ROUTE]
Fix memory leaks

svn path=/trunk/; revision=53744
2011-09-19 07:55:26 +00:00
Pierre Schweitzer a92159c8ff [HPP]
Fix memory leak

svn path=/trunk/; revision=53743
2011-09-19 07:30:02 +00:00
Pierre Schweitzer a728acae67 [SPEC2DEF]
Fix resources leak

svn path=/trunk/; revision=53742
2011-09-19 07:29:36 +00:00
Pierre Schweitzer 0d50ae47fc [STUBGEN]
Fix resources leak

svn path=/trunk/; revision=53741
2011-09-19 07:28:51 +00:00
Eric Kohl a638c81564 [NDK]
Add the missing RtlpNt-Registry functions and move RtlpNtOpenKey into the NTOS_MODE_USER section.

svn path=/trunk/; revision=53740
2011-09-18 23:59:06 +00:00
Timo Kreuzer dcfe88feea [RTL]
Improve formatting, no code change

svn path=/trunk/; revision=53739
2011-09-18 22:15:37 +00:00
Timo Kreuzer b1ea943eac [NTOSKRNL]
Fix an accidental change. Fixes boot.

svn path=/trunk/; revision=53738
2011-09-18 20:56:44 +00:00
Giannis Adamopoulos 384a6e4299 [wingdi.h]
- merge one last header change from the themes branch

svn path=/trunk/; revision=53737
2011-09-18 16:51:28 +00:00
Timo Kreuzer ba2b3c872a [RTL]
Improve formatting, no code change

svn path=/trunk/; revision=53736
2011-09-18 15:10:05 +00:00
Giannis Adamopoulos ba37ccaf01 [headers]
- Begin merging from themes branch

svn path=/trunk/; revision=53735
2011-09-18 13:12:44 +00:00
Timo Kreuzer 87779aa572 [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
2011-09-18 13:11:45 +00:00
Timo Kreuzer be62192d9e [NTOSKRNL]
- replace some AlignUp with ALIGN_UP_BY
- Fix several MSVC / amd64 warnings

svn path=/trunk/; revision=53733
2011-09-18 12:51:40 +00:00
Giannis Adamopoulos 922f076616 [win32k]
- Fix several issues detected by static code analysis

svn path=/trunk/; revision=53732
2011-09-18 12:33:38 +00:00
Pierre Schweitzer 81495a4e8f [CABMAN]
Leak less resources

svn path=/trunk/; revision=53731
2011-09-18 11:00:12 +00:00
Dmitry Gorbachev fef1e2d451 [CMAKE]
Allow to specify prefix/suffix for GCC and Binutils.

svn path=/trunk/; revision=53730
2011-09-18 00:57:17 +00:00
Roel Messiant 1a7296bb39 [NTOSKRNL]
Disable normal APC delivery while acquiring/releasing a heap lock. Also, BOOLEAN != NTSTATUS.


svn path=/trunk/; revision=53729
2011-09-17 20:26:31 +00:00
Timo Kreuzer 2a158fc63b [NTOSKRNL]
Fix formatting, no code change

svn path=/trunk/; revision=53728
2011-09-17 20:01:55 +00:00
Daniel Reimer 0dfa657dea Update rapps Database
svn path=/trunk/; revision=53727
2011-09-17 13:58:45 +00:00
Eric Kohl dd81be1f25 [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
2011-09-17 00:55:02 +00:00
Eric Kohl b2908d6d6f [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
2011-09-16 20:53:16 +00:00
Timo Kreuzer 826d8dedae [NTOSKRNL/AMD64]
- Implement KiApcInterrupt, KiDpcInterrupt and KiIpiInterrupt stubs
- Improve and cleanup stubs.c

svn path=/trunk/; revision=53724
2011-09-16 18:39:55 +00:00
Timo Kreuzer 6c8a335788 [NTOSKRNL/AMD64]
- Update the trap code to use the new macros and cleanup a little

svn path=/trunk/; revision=53723
2011-09-16 17:47:32 +00:00
Aleksey Bragin b4b9d26324 [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
2011-09-16 13:42:04 +00:00
Jérôme Gardou 606aa872f2 [WIN32K]
- syscalls are stdcall

svn path=/trunk/; revision=53721
2011-09-16 13:18:40 +00:00
Timo Kreuzer 331009e07d [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
2011-09-16 09:46:08 +00:00
Timo Kreuzer 4dfa3c52a3 [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
2011-09-16 09:39:41 +00:00
Jérôme Gardou 52d89c3b87 [SHELL32]
- it's right there, use quotes to include it

svn path=/trunk/; revision=53718
2011-09-15 21:46:59 +00:00
Jérôme Gardou d8452f344b [REACTOS]
- wait patiently for rbuild going to Valhalla

svn path=/trunk/; revision=53717
2011-09-15 21:26:32 +00:00
Jérôme Gardou 757ab6e8d4 [REACTOS]
- get version.h and buildno.h out of precompiled headers, to avoid rebuilding the whole module each time we reconfigure the build

svn path=/trunk/; revision=53716
2011-09-15 21:03:39 +00:00
Jérôme Gardou b434a6b048 [CMAKE]
- start documenting reactos specific stuff.
Feel free to complete it :-)

svn path=/trunk/; revision=53715
2011-09-15 20:14:34 +00:00
Timo Kreuzer 89b75ad8b7 [NTOSKRNL/AMD64]
- Add portable kernel initialization code for amd64 only.
- Modify amd64 init code accordingly

svn path=/trunk/; revision=53714
2011-09-15 19:32:13 +00:00
Timo Kreuzer 3e2fddbe19 [CRT]
- Implement MSVC versions of call_copy_ctor, call_dtor, continue_after_catch, __CxxFrameHandler
- Fix amd64 versions of _control87 and _statusfp
- Fix MSVC and amd64 warnings

svn path=/trunk/; revision=53713
2011-09-15 17:11:53 +00:00
Thomas Faber 2fca6b111a [KMTESTS]
- MmSection: properly clean up on failure
- Some more x64 build fixing

svn path=/trunk/; revision=53712
2011-09-15 16:49:22 +00:00
Timo Kreuzer 8f6cfb2651 [HAL/APIC]
- Fix some stuff that gcc complains about. It doesn't like to use static data in non-static inline functions for some unknown reason.
- Implement support for level triggered interrupts, when using lazy irql

svn path=/trunk/; revision=53711
2011-09-15 11:34:21 +00:00
Timo Kreuzer b7e45abc51 [FREELDR]
- Improve List_PaToVa, making the code cleaner
- Dereference LoaderBlock->Extension only after WinLdrSetProcessorContext, since its in kernel address space

svn path=/trunk/; revision=53710
2011-09-15 11:27:27 +00:00
Timo Kreuzer 00502b9642 [FREELDR/HAL/NDK]
- Move some shared constants (HYPERSPACE_BASE, MM_HAL_VA_START, APIC_BASE) to NDK to avoid duplicating them, also fix wrong values for amd64
- Map the hal address space in amd64 freeldr
- Fix use of uninitialized variable (HighPart of PHYSICAL_ADDRESS) in HalpAcpiCopyBiosTable
- Fix some MSVC and amd64 warnings

svn path=/trunk/; revision=53709
2011-09-15 10:46:02 +00:00
Timo Kreuzer 679d1e828c [GDI32]
Improve GdiAllocBatchCommand formatting and fix MSVC warnings

svn path=/trunk/; revision=53708
2011-09-15 10:12:20 +00:00
Timo Kreuzer 19b8dfac16 [NTOSKRNL]
- Fix MSVC warning about signed/unsigned comparison.

svn path=/trunk/; revision=53707
2011-09-14 14:01:41 +00:00
Timo Kreuzer 16c957463f [SHELL32]
A DialogProc returns INT_PTR, not BOOL

svn path=/trunk/; revision=53706
2011-09-14 06:28:11 +00:00
Timo Kreuzer 57b01f1a06 [PSDK]
Use CHAR instead of char in STRRET structure (as documented in MSDN). Fixes compilation of shell32 with MSVC.

svn path=/trunk/; revision=53705
2011-09-13 21:20:46 +00:00
Timo Kreuzer a6a01dd912 [HAL]
Fix amd64 build

svn path=/trunk/; revision=53704
2011-09-13 14:44:47 +00:00
Timo Kreuzer ca9e3a9c67 [NTOSKRNL]
Fix a DPRINT

svn path=/trunk/; revision=53703
2011-09-13 13:28:49 +00:00
Amine Khaldi 3a93089ba7 [SHELL32]
* Merge r53700. Point 3 in bug 6481 was fixed by fixing the parser (at line 414) to use only ',' as the delimiter, to match Windows behavior.

svn path=/trunk/; revision=53702
2011-09-13 13:13:35 +00:00
Timo Kreuzer 744be47dde [NTOSKRNL]
Cleanup amd64/ke.h a bit, add KiUserTrap()

svn path=/trunk/; revision=53701
2011-09-13 13:12:38 +00:00
Timo Kreuzer 611d62ecb0 [NTOSKRNL]
Move x86 specific file trap_x.h into include/internal/i386

svn path=/trunk/; revision=53699
2011-09-13 12:53:50 +00:00
Eric Kohl 9c8386d2b6 [MSGINA]
- Call NotifyBootConfigStatus after a user has been logged-on successfully.
- Implement WlxIsLogoffOk.

svn path=/trunk/; revision=53698
2011-09-13 09:42:25 +00:00
Eric Kohl 5fe2e119f5 [MSPORTS]
Implement device removal.

svn path=/trunk/; revision=53697
2011-09-13 09:30:22 +00:00
Eric Kohl 3b374be2f7 [MSPORTS]
Implement ComDBResizeDatabase.

svn path=/trunk/; revision=53696
2011-09-12 14:24:24 +00:00
Timo Kreuzer d28eae967a [HAL]
Implement lazy irql for APIC. This is useful for VMs, since APIC usually has high overhead due to the need of invoking the hypervisor on every irql raise and lower. With lazy irql we avoid that until absolutely neccessary. Note that we misuse the PCR's IRR field to save the current hardware irql. Its a huge performance boost (some parts take half the time), making APIC performance close to PIC performance on VBox. This is something that Windows doesn't have :)

svn path=/trunk/; revision=53695
2011-09-12 09:46:20 +00:00
Cameron Gutman ff75ae1b72 [NTOSKRNL]
- Create a volatile device tree during 1st stage so the new HAL that's loaded in 2nd stage can do proper enumeration without phantom devices from the old HAL

svn path=/trunk/; revision=53694
2011-09-11 17:26:01 +00:00