Commit graph

62191 commits

Author SHA1 Message Date
Timo Kreuzer 635d9ca5a2 [NTOSKRNL]
Implement MiGetFileObjectForSectionAddress and use it in MmGetFileNameForAddress and NtAreMappedFilesTheSame. Don't call MmLocateMemoryAreaByAddress from these functions anymore.

svn path=/trunk/; revision=67810
2015-05-17 13:46:12 +00:00
Timo Kreuzer 18861e4fde [GDIPLUS]
Add even more debugprints

svn path=/trunk/; revision=67809
2015-05-17 13:44:34 +00:00
Pierre Schweitzer 89eca90722 [FASTFAT]
Fix a fixme in VfatGetUserBuffer():
Only request high priority page when in the paging path. Otherwise, request normal priority

svn path=/trunk/; revision=67808
2015-05-17 12:22:28 +00:00
Timo Kreuzer 22106e6ce1 [GDIPLUS]
Add some debug output to try to track winetest failures.

svn path=/trunk/; revision=67807
2015-05-17 11:49:04 +00:00
Timo Kreuzer 8613578cea [DINPUT_WINETEST]
Skip randomly failing tests. See ROSTESTS-176 and CORE-9710

svn path=/trunk/; revision=67806
2015-05-17 10:55:03 +00:00
Pierre Schweitzer f1701931b0 [CONSOLE]
Fix memory leaks

svn path=/trunk/; revision=67805
2015-05-17 10:20:58 +00:00
Pierre Schweitzer ff88b914aa [SETUPAPI]
Fix a memory leak

svn path=/trunk/; revision=67804
2015-05-17 10:09:50 +00:00
Pierre Schweitzer 266e481f4c [WS2_32]
RtlFreeHeap -> FreeHeap

svn path=/trunk/; revision=67803
2015-05-17 10:07:00 +00:00
Pierre Schweitzer 8f143b24e3 [INFLIB]
Don't free memory twice on failure

svn path=/trunk/; revision=67802
2015-05-17 09:41:54 +00:00
Pierre Schweitzer 22fd66f79e [CREATE_NLS]
Initialize line count before incrementing it

svn path=/trunk/; revision=67801
2015-05-17 09:38:32 +00:00
James Tabor 65d178a69b - Fix local build.
svn path=/trunk/; revision=67800
2015-05-17 08:37:00 +00:00
Timo Kreuzer 9b3193b087 [NTOSKRNL]
Kill all the code to remove memory areas from the old tree as well.

svn path=/trunk/; revision=67799
2015-05-17 00:35:56 +00:00
Timo Kreuzer 683badded6 [NTOSKRNL]
Don't check if a AMR3 owned memory area can be inserted, since we already know it's ok. Delete the related memory area code.

svn path=/trunk/; revision=67798
2015-05-17 00:35:47 +00:00
Timo Kreuzer c7d21f63c2 [NTOSKRNL]
Add a tiny hack to MiFindEmptyAddressRangeInTree and MiFindEmptyAddressRangeDownTree to support VADs in the kernel VA range. Make MmFindGap use those functions to look for free space.

svn path=/trunk/; revision=67797
2015-05-17 00:35:37 +00:00
Timo Kreuzer c6d5bbaa74 [NTOSKRNL]
Get rid of MiRosTakeOverSharedUserPage. We don't need it anymore, since the user page is manually handled in the page fault handler and since it's outside the VAD region, we don't need to block that range. Now there should be no memory areas left at all in MmDeleteProcessAddressSpace.

svn path=/trunk/; revision=67796
2015-05-17 00:35:23 +00:00
Timo Kreuzer 2b1be6187c [NTOSKRNL]
Modify MmLocateMemoryAreaByAddress as well to use the VAD table. Since the page fault handler uses it to find ARM3-Fault pages and the shared user page does have a memory area, but not a VAD, add a check for the shared user page in the old fault handler.

svn path=/trunk/; revision=67795
2015-05-17 00:35:09 +00:00
Timo Kreuzer 3538fd9556 [NTOSKRNL]
Implement MiRosCleanupMemoryArea to cleanup memory areas from MmCleanProcessAddressSpace, since later when we remove the old-style memory area links, we will not be able to retrieve those.

svn path=/trunk/; revision=67794
2015-05-17 00:34:59 +00:00
Timo Kreuzer 3565260212 [NTOSKRNL]
Use the VAD tree to search for MEMORY_AREAS, except when inserting an ARM3 based MA. In this case we still need to use the old tables, since the related VAD is already inserted into the VAD tree.

svn path=/trunk/; revision=67793
2015-05-17 00:34:45 +00:00
Timo Kreuzer 53a77173f5 [NTOSKRNL]
Insert kernel memory areas into a "kernel VAD table".

svn path=/trunk/; revision=67792
2015-05-16 23:36:42 +00:00
Timo Kreuzer 3964d05fb8 [NTOSKRNL]
- Allocate Memory area before trying to insert it in different pathes of MmCreateMemoryArea. This change is a preparation for upcoming changes.
- Cleanup MmInsertMemoryArea from useless stuff

svn path=/trunk/; revision=67791
2015-05-16 21:30:52 +00:00
Timo Kreuzer cf491f89ab [NTOSKRNL]
Use 1 as base address parameter to MmCreateMemoryArea, when 0 is the actual base and remove FixedAddress parameter in MmCreateMemoryArea

svn path=/trunk/; revision=67790
2015-05-16 21:30:28 +00:00
Pierre Schweitzer d2818e587c [NTOSKRNL]
Formatting. No code change!

svn path=/trunk/; revision=67789
2015-05-16 21:13:22 +00:00
Daniel Reimer ce915e428f [MAZE*]
Loading from ini file works flawless, even on ROS, so... ENABLE it.

svn path=/trunk/; revision=67788
2015-05-16 21:00:03 +00:00
Timo Kreuzer 595df76091 [NTOSKRNL]
Add an MMVAD to the MEMORY_AREA structure, instead of allocating a new one to synchronize with the process VAD tree

svn path=/trunk/; revision=67787
2015-05-16 20:10:41 +00:00
Timo Kreuzer 5280b4e3c6 [NTOSKRNL]
Convert MEMORY_AREA::EndingAddress to EndingVpn

svn path=/trunk/; revision=67786
2015-05-16 20:10:26 +00:00
Timo Kreuzer 85f59f294f [NTOSKRNL]
Convert MEMORY_AREA::StartingAddress to StaringVpn

svn path=/trunk/; revision=67785
2015-05-16 20:10:03 +00:00
Timo Kreuzer 418daaac86 [NTOSKRNL]
Convert StartingAddress and EndingAddress members in MEMORY_AREA to ULONG_PTR. Remove unused MmFindGapAtAddress.

svn path=/trunk/; revision=67784
2015-05-16 20:09:40 +00:00
Aleksandar Andrejevic 199d9183e6 [NTVDM]
Drivers that have no I/O status routine should be treated as "ready".


svn path=/trunk/; revision=67783
2015-05-16 20:06:28 +00:00
Pierre Schweitzer 37811969c0 [NTOSKRNL]
Stub support for IOCTL_WMI_SET_MARK

CORE-9699

svn path=/trunk/; revision=67782
2015-05-16 20:00:34 +00:00
Daniel Reimer d6510c4911 [MAZESCR]
Made mazescr use screensaver.lib for multi screen support
Add symbol to make things look more... mature in C:\ReactOS
Fixes of my two problems (app does not really terminate and maze is not generated completely) and tidy up (-200 lines of code!) of my mess and the mess we had in there before by David Quintana. Thx man :-D

svn path=/trunk/; revision=67781
2015-05-16 19:16:40 +00:00
Hermès Bélusca-Maïto a175511a5a [NTVDM]: Reload the new PIT count as soon as we have finished to set it. Tested by V. q;^D
svn path=/trunk/; revision=67780
2015-05-16 19:15:25 +00:00
Daniel Reimer 6ad55cd339 [ROSAPPS]
Add symbols to make things look more... mature in C:\ReactOS

svn path=/trunk/; revision=67779
2015-05-16 19:12:30 +00:00
Daniel Reimer f58c18579a [3DTEXT]
Add symbol to make things look more... mature in C:\ReactOS

svn path=/trunk/; revision=67778
2015-05-16 19:11:03 +00:00
Timo Kreuzer 3fa1dc5790 [KMIXER]
YDEBUG -> NDEBUG

svn path=/trunk/; revision=67777
2015-05-16 18:50:27 +00:00
Pierre Schweitzer 2e4a56a039 [NTOSKRNL]
IOCTL_WMI_29 is IOCTL_WMI_SET_MARK

CORE-9699

svn path=/trunk/; revision=67776
2015-05-16 18:25:48 +00:00
Timo Kreuzer 590281aa7b [CRT]
Fix ceilf and floorf. Spotted by Thomas.

svn path=/trunk/; revision=67775
2015-05-16 17:25:45 +00:00
Pierre Schweitzer 3ab971bc6b [NTOSKRNL]
Plug (and play?) a memory leak

svn path=/trunk/; revision=67774
2015-05-16 17:13:18 +00:00
Amine Khaldi a7fea1598b [CMAKE] Do not unset this in MSVC_IDE mode. Will be removed when the upcoming RosBE lands as there seems to be a bug in the current CMake version.
svn path=/trunk/; revision=67773
2015-05-16 13:11:43 +00:00
Pierre Schweitzer a185668536 [CRT]
Properly copy va_list (ie, do it in a portable and corrrect way) and make sure it doesn't leak

svn path=/trunk/; revision=67772
2015-05-16 12:13:12 +00:00
Pierre Schweitzer 2d5809b784 [CRT]
Don't mess up with the stack nor leak resources

svn path=/trunk/; revision=67771
2015-05-16 12:07:38 +00:00
Timo Kreuzer ea08eb054f [NDK]
- Add coprocessor constants

[NTOSKRNL]
- Handle process in NtFlushInstructionCache and validate parameters
- Use _MoveToCoprocessor instead of GCC inline assembly for ARM

svn path=/trunk/; revision=67770
2015-05-16 11:30:28 +00:00
Daniel Reimer 95d3ac5244 [SHELL32]
German translation update

svn path=/trunk/; revision=67769
2015-05-16 11:28:38 +00:00
Daniel Reimer e3d4d2d4c9 [MSPORTS]
German Translation update, made moar space for translators, one alignment fix

svn path=/trunk/; revision=67768
2015-05-16 11:27:59 +00:00
Amine Khaldi 6248f264b5 [IMAGEHLP_WINETEST] Add tests for ImageLoad, ImageUnload and GetImageUnusedHeaderBytes. By Mark Jansen.
svn path=/trunk/; revision=67767
2015-05-16 11:18:30 +00:00
Amine Khaldi cbf5e3881f [SHELL32] Italian translation update by Carlo Bramini. CORE-9704
svn path=/trunk/; revision=67766
2015-05-16 11:16:17 +00:00
Amine Khaldi 8d0e6718ae [IMAGEHLP_WINETEST] Add to and fix MSVC build. By Mark Jansen.
svn path=/trunk/; revision=67765
2015-05-16 10:24:11 +00:00
Pierre Schweitzer 279c4411fa [NTFS]
Fix memory leaks

svn path=/trunk/; revision=67764
2015-05-16 10:23:55 +00:00
Pierre Schweitzer 8c1bb8bed1 [PCIX]
Don't mess up with the stack nor leak resources

svn path=/trunk/; revision=67763
2015-05-16 10:17:19 +00:00
Amine Khaldi 871a52055d [MPLAY32] Don't use the timer proc to check if playback should stop. Fixes an issue where the playback does not stop/repeat with some devices if it has reached its end. By Ricardo Hanke. CORE-9414
svn path=/trunk/; revision=67762
2015-05-16 10:10:36 +00:00
Pierre Schweitzer f7719d6aff [REGEDIT]
No va_list init is required

svn path=/trunk/; revision=67761
2015-05-16 10:10:02 +00:00