Commit graph

63986 commits

Author SHA1 Message Date
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
Amine Khaldi b792e060da [EXT2_NEW] Addendum to r69509. CORE-10272 CR-82
svn path=/trunk/; revision=69511
2015-10-12 11:16:25 +00:00
Thomas Faber 208bc485ff [BROWSEUI]
- Increase height of the animation control in the file operation progress dialog to avoid cut-off. Patch by Jared Smudde.
CORE-10326 #resolve

svn path=/trunk/; revision=69510
2015-10-12 10:55:16 +00:00
Amine Khaldi 897634ce5b [EXT2_NEW] Add Matt Wu's ext2 filesystem driver. Not enabled by default just yet. Brought to you by Peter Hater with reviews and improvements by Thomas Faber and Pierre Schweitzer. CORE-10272 CR-82
svn path=/trunk/; revision=69509
2015-10-12 10:19:10 +00:00
Thomas Faber 350351aa24 [EXPLORER]
- Correct tray icon image list handling. Patch by Joachim Henze
CORE-10257 #resolve

svn path=/trunk/; revision=69508
2015-10-12 10:05:39 +00:00
Pierre Schweitzer c4b93ac3c5 [WHOOPS]
C/P error

svn path=/trunk/; revision=69507
2015-10-11 21:51:32 +00:00
Pierre Schweitzer 24420c2ba1 [NTDLL_APITESTS]
Extend the RtlAllocateHeap() test

svn path=/trunk/; revision=69506
2015-10-11 21:49:16 +00:00
Pierre Schweitzer a6f57db58c [RTL]
Implement support for HEAP_CREATE_ALIGN_16 in RtlAllocateHeap()

svn path=/trunk/; revision=69505
2015-10-11 21:10:46 +00:00
Pierre Schweitzer 7feed70d00 [NTDLL_APITESTS]
Add a test that shows that RtlAllocateHeap() totally ignores HEAP_CREATE_ALIGN_16

svn path=/trunk/; revision=69504
2015-10-11 21:10:03 +00:00
Thomas Faber c0cd33da02 [NTOS:PO]
- Pass the correct DeviceObject to PoRequestPowerIrp's callback
- Use the IRP stack to store callback parameters instead of a pool allocation as shown by the test

svn path=/trunk/; revision=69503
2015-10-11 19:57:06 +00:00
Daniel Reimer a7c1b9e740 [RAPPS]
These are ini files in theory, so the ending is by default CRLF. Explained here: http://www.nongnu.org/chmspec/latest/INI.html

svn path=/trunk/; revision=69502
2015-10-11 18:38:40 +00:00
Eric Kohl bc538be477 [INTL]
Update number and currency examples according to the current settings.
CORE-10074 #resolve

svn path=/trunk/; revision=69501
2015-10-11 18:36:22 +00:00
Thomas Faber 5e05f2675b [KMTESTS:PO]
- Fix build

svn path=/trunk/; revision=69500
2015-10-11 17:11:53 +00:00
Thomas Faber 073a2904ca [KMTESTS:PO]
- Add a test for PoRequestPowerIrp

svn path=/trunk/; revision=69499
2015-10-11 17:06:14 +00:00
Daniel Reimer 400e093f7b [RAPPS]
Add SHA-1 digests to RAPPS DB packages by Ismael Ferreras Morasuelas (swyter)
CORE-10319 #resolve #comment Errr... sorry, I was just told that we already verify downloaded stuff in rapps... committed and thx for the work you spent in it...
/me hides

svn path=/trunk/; revision=69498
2015-10-11 15:41:55 +00:00
Eric Kohl b0c11b7004 [INTL]
Update date and time examples according to the current settings.
CORE-10074

svn path=/trunk/; revision=69497
2015-10-11 15:21:25 +00:00
Stefan Ginsberg 9d6572fbd3 [NTOS] Follow up to r69075: Assert IRQL correctly in KeDisconnectInterrupt too (do not assume debug build means MP build).
svn path=/trunk/; revision=69496
2015-10-11 13:18:30 +00:00
Thomas Faber 8fc986080b [PORTCLS]
- Don't attempt broken pointer magic on power states

svn path=/trunk/; revision=69495
2015-10-11 08:19:18 +00:00
Thomas Faber 8b6a867b02 [WIN32K]
- Separate system-defined from user-defined window properties. The values stored by win32k/user32 must not interfere with those stored by applications. Fixes various applications (e.g. PeaZip) randomly getting their window properties overwritten by the system
CORE-3897 #resolve

svn path=/trunk/; revision=69494
2015-10-10 19:50:05 +00:00
Thomas Faber 09e3698afb [WIN32K]
- Rename IntSetProp to UserSetProp, IntRemoveProp to UserRemoveProp and IntRemoveWindowProp to UserRemoveWindowProps

svn path=/trunk/; revision=69493
2015-10-10 17:56:09 +00:00
Thomas Faber 0d9f374451 [WIN32K:NTUSER]
- Remove some unnecessary referencing in NtUserCallHwnd

svn path=/trunk/; revision=69492
2015-10-10 17:46:57 +00:00
Thomas Faber e8273d11f2 [WIN32K:NTUSER]
- Don't call IntGetProp from outside prop.c

svn path=/trunk/; revision=69491
2015-10-10 16:43:47 +00:00