Commit graph

63857 commits

Author SHA1 Message Date
Thomas Faber 7983137edd [KMTESTS:OB]
- Move handle tests from ObReference to ObHandle where they belong

svn path=/trunk/; revision=69568
2015-10-17 16:11:12 +00:00
Thomas Faber 1ac16d7595 [KMTESTS]
- Sssh, these tests are secret

svn path=/trunk/; revision=69567
2015-10-17 15:56:52 +00:00
Thomas Faber 8661787353 [KMTESTS:OB]
- Add ObHandle test that verifies a couple ZwDuplicateObject behaviors 

svn path=/trunk/; revision=69566
2015-10-17 15:50:25 +00:00
Amine Khaldi 95cc4194b2 [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10276
svn path=/trunk/; revision=69565
2015-10-17 14:51:49 +00:00
Amine Khaldi 5c58354064 [RAPPS] Turkish translation update by Erdem Ersoy. CORE-10276
svn path=/trunk/; revision=69564
2015-10-17 14:48:20 +00:00
Amine Khaldi 832562d08a [GDI32] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
svn path=/trunk/; revision=69563
2015-10-17 14:41:47 +00:00
Amine Khaldi 049574607a [GDI32] Use NtGdiGetGlyphIndicesW() in GetCharacterPlacementW() as we do have it. Fixes OpenOffice: v1.x.x garbled text. Brought to you by Vort. CORE-867
svn path=/trunk/; revision=69562
2015-10-17 14:37:35 +00:00
Amine Khaldi ecfe47b635 [WIN32K][PSDK] Correct NtGdiGetGlyphIndicesW() pwc type. Brought to you by Vort. CORE-867
svn path=/trunk/; revision=69561
2015-10-17 14:35:14 +00:00
Amine Khaldi 3128be5640 [TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-10325
svn path=/trunk/; revision=69560
2015-10-17 14:07:04 +00:00
Hermès Bélusca-Maïto 542298bc33 [NDK]: Add PsGetThreadFreezeCount declaration. Dedicated to James Tabor.
CORE-10078

svn path=/trunk/; revision=69559
2015-10-17 11:39:05 +00:00
Hermès Bélusca-Maïto 6f011dcad5 [PSDK]: Add missing conditional header inclusion.
svn path=/trunk/; revision=69558
2015-10-16 22:16:07 +00:00
Thomas Faber 7003933f3e [WIN32K]
- Add missing include aka fix build
CORE-10217

svn path=/trunk/; revision=69557
2015-10-16 15:33:19 +00:00
Thomas Faber 4367fbf372 [WIN32K:NTUSER]
- Terminate the RawInputThread on shutdown
CORE-10217 #resolve

svn path=/trunk/; revision=69556
2015-10-16 15:30:35 +00:00
Thomas Faber 683001f661 [WIN32K:NTUSER]
- Don't try to dereference a handle

svn path=/trunk/; revision=69555
2015-10-16 14:24:30 +00:00
Thomas Faber b39a1f63cf [WIN32K]
- Add some missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69554
2015-10-16 14:04:19 +00:00
Thomas Faber 875281ff63 [NTOS:EX]
- Add missing OBJ_KERNEL_HANDLE and avoid handle leak in ExpGetCurrentUserUILanguage
CORE-10207

svn path=/trunk/; revision=69553
2015-10-16 13:28:40 +00:00
Thomas Faber 164c7773ba [NTOS:CM]
- Remove duplicate macro definitions

svn path=/trunk/; revision=69552
2015-10-16 13:20:00 +00:00
James Tabor fbb9c36619 - Fix pointer.
svn path=/trunk/; revision=69551
2015-10-16 03:34:13 +00:00
James Tabor d3334b7fd6 - Fix mixing apples and widgets.
svn path=/trunk/; revision=69550
2015-10-16 02:18:13 +00:00
James Tabor 3ac3b979bb [SysSetup]
- Fix message processing while waiting for a process to end. See CORE-9342.

svn path=/trunk/; revision=69549
2015-10-15 23:39:37 +00:00
Ged Murphy 6af7940dce [DEVMGR]
- Move all public interface functions to api.cpp
- Implement DeviceManager_ExecuteA

svn path=/trunk/; revision=69548
2015-10-15 21:29:11 +00:00
Ged Murphy 681a9c3f7c [DEVMGMT]
- Delete the old devmgmt and replace it with the new one.
- The new one is a temp container for devmgr.dll and simply calls DeviceManager_ExecuteW. Eventually mmc.exe will replace this module

svn path=/trunk/; revision=69547
2015-10-15 18:04:33 +00:00
Ged Murphy 8f9704e9e0 [DEVMGMT]
- A few fixes and turn it on in the build to check the build machines are happy

svn path=/trunk/; revision=69546
2015-10-15 17:28:08 +00:00
Ged Murphy 7fb73dcf30 [DEVMGR]
- Kill off the old devmgr and replace it with the new one
- The new one now contains the (rewritten) device manager code, is now a C++ library and makes use of the recently improved ATL

svn path=/trunk/; revision=69545
2015-10-15 17:21:37 +00:00
Ged Murphy 4669d44a79 [DEVMGR]
More unix pleasers

svn path=/trunk/; revision=69544
2015-10-15 17:08:22 +00:00
Ged Murphy a0d4787e8a [DEVMGR]
Unixification

svn path=/trunk/; revision=69543
2015-10-15 16:57:35 +00:00
Ged Murphy 7b491db30d Checking against the build machine
svn path=/trunk/; revision=69542
2015-10-15 16:52:05 +00:00
Stefan Ginsberg c80e7b9a83 [NTOS]
Fix (last?) instance of treating hyperspace as global pages

svn path=/trunk/; revision=69541
2015-10-15 16:10:50 +00:00
Stefan Ginsberg 415eda607f Somehow missed this in previous commit
svn path=/trunk/; revision=69540
2015-10-15 12:58:28 +00:00
Stefan Ginsberg 8ea1ea856d [NTOS]
Isolate KD a bit by replacing Rtl* memory routines with internal versions. Lets one put breakpoints inside kernel memcpy/memset without making KD very, very sad. Fix MmDbgCopyMemory to also not use RtlCopyMemory -- there is no need for it since it only performs 1-to-8 byte copies anyway. Minor fixes in the print/prompt routines.

svn path=/trunk/; revision=69539
2015-10-15 12:56:19 +00:00
Ged Murphy 017269e128 [DEVMGR]
Fix building with RosBE/g++

svn path=/trunk/; revision=69538
2015-10-15 10:39:06 +00:00
Thomas Faber ba9896d0b8 [WIN32K:NTUSER]
- THREADINFO::hEventQueueClient is a user handle. Treat it as such.
CORE-10207

svn path=/trunk/; revision=69537
2015-10-15 09:50:12 +00:00
Thomas Faber 28bfb7820f [WIN32K:NTUSER]
- Don't perform thread initialization twice in csrss's UserInitialize thread
CORE-10339 #resolve

svn path=/trunk/; revision=69536
2015-10-15 09:44:20 +00:00
Thomas Faber 13312423b0 [NPFS]
- Don't leave the critical region before releasing ERESOURCE

svn path=/trunk/; revision=69535
2015-10-15 08:03:40 +00:00
Thomas Faber 027ae80ad0 [NTOS:APPHELP]
- Avoid excessive indentation
- Minor changes to conform better to kernel style

svn path=/trunk/; revision=69534
2015-10-15 07:44:25 +00:00
Thomas Faber 62ffa081a9 [PARPORT]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69533
2015-10-15 07:16:39 +00:00
Stefan Ginsberg b7d35a7776 [NTOS]
Fix mapping of working set list page -- it should be local.
Get rid of MI_MAKE_LOCAL_PAGE and use ValidKernelPdeLocal/ValidKernelPteLocal consistently. This is what they exist for!
We should now hopefully not be creating any global pages when we don't want them.
Next step; fix flushing.
Bonus: Use the right lock in MiSessionLeader

svn path=/trunk/; revision=69532
2015-10-15 01:49:26 +00:00
Stefan Ginsberg caccb5cc8f [NTOS]
Global pages may not have been enabled when KeFlushCurrentTb is first called, so don't enable them in there.

svn path=/trunk/; revision=69531
2015-10-14 20:42:18 +00:00
Stefan Ginsberg 5e026edfdc [NTOS]
Add super-complicated handling of global pages to KeFlushCurrentTb (pretty much the same code which has been in HalpFlushTLB for the past ~6 years). This should be all that is required to make this feature work (everything else being in place already), and *seems* to work fine but is disabled under a switch until tested thoroughly.

Global pages, an important optimization that allows for not flushing the whole x86 TLB every time CR3 is changed (typically on context switch to a new process, or during process attach/detach), relies on us doing extra work whenever we do alter a global page. This is likely where any bugs will have to be flushed out!

Fixup Ki386EnableGlobalPage while we are at it -- disable/restore interrupts properly, and verify PGE-bit isn't set (nothing should have touched it before this routine, which is responsible for initializing it, so we shouldn't have to disable it). Fix, but disable, the CPU-sync spin as well as there should be no particular reason to do this for PGE-enabling during initialization (no other processor will be messing with PTEs at this stage, as compared to a call to KeFlushEntireTb).

Everyone, repeat after me: Global pages are awesome!

svn path=/trunk/; revision=69528
2015-10-14 19:33:35 +00:00
Thomas Faber ac979ac9f9 [TCPIP]
- Add missing OBJ_KERNEL_HANDLE and close handles accordingly
CORE-10207

svn path=/trunk/; revision=69523
2015-10-14 09:26:56 +00:00
Thomas Faber c8e6c59728 [NDIS]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69522
2015-10-14 08:32:00 +00:00
Thomas Faber 647edad779 [PING]
- Check for invalid values passed to the -n option. Patch by Tim Crawford
CORE-10332 #resolve

svn path=/trunk/; revision=69521
2015-10-14 07:24:09 +00:00
Ged Murphy 4a5138f4ac [DEVMGR]
More g++ fixes. 
devmgr now compiles, just a few linker issues to fixup

svn path=/trunk/; revision=69519
2015-10-12 20:44:54 +00:00
Ged Murphy b4667495f4 [ATL]
Various g++ fixes

svn path=/trunk/; revision=69518
2015-10-12 20:33:33 +00:00
Ged Murphy bea3c348a8 [DEVMGR]
A few g++ fixes

svn path=/trunk/; revision=69517
2015-10-12 19:18:47 +00:00
Pierre Schweitzer fedc72ff66 [NTDLL_APITEST]
Fix test
Spotted by Alex

svn path=/trunk/; revision=69516
2015-10-12 17:43:42 +00:00
Stefan Ginsberg 00e97e51bb [RTL]
Merge DbgBreakPointWithStatus and RtlpBreakWithStatusInstruction together as one function (the latter is just a label for KD), and add new macro necessary for this (MASM very much wants "::" on a global label inside a PROC local scope). Timo, you are awesome.

Bonus: Complement HEX()'s awesomeness with the other explicit radix specifiers.

svn path=/trunk/; revision=69515
2015-10-12 17:11:56 +00:00
Amine Khaldi 540d4a2f95 [MBEDTLS] Fix _CRT_SECURE_NO_DEPRECATE redefinition warnings.
svn path=/trunk/; revision=69514
2015-10-12 13:15:14 +00:00
Amine Khaldi 5272a37712 [MBEDTLS] Missed these files in svn. Addendum to r69512. CORE-10318
svn path=/trunk/; revision=69513
2015-10-12 12:50:06 +00:00
Amine Khaldi 9959dee59b [MBEDTLS] Update to v2.1.2. By Ismael Ferreras Morezuelas. CORE-10318
svn path=/trunk/; revision=69512
2015-10-12 12:47:42 +00:00