Commit graph

62046 commits

Author SHA1 Message Date
Amine Khaldi 4f5bd9b360 [WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67660
2015-05-11 12:55:05 +00:00
Amine Khaldi 02b3db07d5 [PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.
svn path=/trunk/; revision=67659
2015-05-11 12:52:08 +00:00
Amine Khaldi a9b4645a46 [WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67658
2015-05-11 12:51:23 +00:00
Amine Khaldi bf967c9470 [WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67657
2015-05-11 12:51:01 +00:00
Amine Khaldi f3b6069ebd [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67656
2015-05-11 12:50:02 +00:00
Amine Khaldi cc67cfede3 [WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67655
2015-05-11 12:49:42 +00:00
Amine Khaldi 037f0d351f [XCOPY] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67654
2015-05-11 12:47:54 +00:00
Thomas Faber 059e72b8c3 [CRT]
- Add missing __INTRIN_INLINE for x64 intrinsics

svn path=/trunk/; revision=67653
2015-05-11 12:27:54 +00:00
Thomas Faber 4b07b445ac [CRT]
- Fix some x64 GCC intrinsics

svn path=/trunk/; revision=67652
2015-05-11 12:10:19 +00:00
Aleksandar Andrejevic 6fb47e311b [NTVDM]
Use the SDA for storing the request in DosCallDriver.
Rename some more fields we aren't going to use to "Unused..." in the SDA.


svn path=/trunk/; revision=67651
2015-05-11 03:36:02 +00:00
Aleksandar Andrejevic c7f19ff4c0 [FAST486]
In HLT, check the CPL and not CS.DPL.


svn path=/trunk/; revision=67650
2015-05-11 03:31:04 +00:00
Aleksandar Andrejevic e4960b02d3 [NTVDM]
Move various private DOS variables into the Swappable Data Area.
It's still mostly unused though.


svn path=/trunk/; revision=67649
2015-05-11 02:54:46 +00:00
Aleksandar Andrejevic f1bf14da62 [FAST486]
Don't perform privilege checks while reading the IDT, GDT or TSS.


svn path=/trunk/; revision=67648
2015-05-11 02:49:25 +00:00
Aleksandar Andrejevic ee08940855 [FAST486]
The LMSW instruction doesn't #GP when the program tries to return to real mode.
Rather, it just doesn't happen (the PE bit remains 1).


svn path=/trunk/; revision=67647
2015-05-10 23:50:33 +00:00
Aleksandar Andrejevic 45b03b53d3 [FAST486]
Don't check for gates in virtual 8086 mode.


svn path=/trunk/; revision=67646
2015-05-10 22:54:15 +00:00
Aleksandar Andrejevic ed774c797b [FAST486]
- Fix VM86-related stuff.
- Optimize MOV.


svn path=/trunk/; revision=67645
2015-05-10 21:59:07 +00:00
Pierre Schweitzer 4daee24f06 [NTFS]
Don't call MmGetSystemAddressForMdl()

svn path=/trunk/; revision=67644
2015-05-10 21:24:51 +00:00
Timo Kreuzer acfb380603 [RTL]
Implement DbgUserBreakPoint and DbgBreakPointWithStatus on ARM

svn path=/trunk/; revision=67643
2015-05-10 21:05:01 +00:00
Timo Kreuzer c7e9f9e06c [CRT]
Implement __rt_srsh

svn path=/trunk/; revision=67642
2015-05-10 21:04:48 +00:00
Timo Kreuzer 70ff0e774d [CRT/RTL/NTOSKRNL]
Add new ARM files to build and improve the stubs a bit

svn path=/trunk/; revision=67641
2015-05-10 21:04:27 +00:00
Timo Kreuzer 9fbce543e9 [ASM]
- Make syscalls ARM compatible

svn path=/trunk/; revision=67640
2015-05-10 21:03:53 +00:00
Timo Kreuzer 89ee675f59 [KSARM.H]
- Fix/add a number of macros based on native definitions
- Add "intrinsics" for GNU ARM assembler
- Move trap macros to asmmacro.S

svn path=/trunk/; revision=67639
2015-05-10 21:03:33 +00:00
Timo Kreuzer 7c09970347 [ASM]
Update templates for asm include generation

svn path=/trunk/; revision=67638
2015-05-10 21:03:09 +00:00
Timo Kreuzer d6c154bc77 [CRT]
- Add _JUMP_BUFFER for ARM
- On ARM there are no underscore prefixes

svn path=/trunk/; revision=67637
2015-05-10 21:02:53 +00:00
Pierre Schweitzer 07f38d007d [NTFS]
- Only set the IOSB status if we complete the IRP
- Fix the assert: the caller might want not to complete the IRP nor to queue it (passed down IRPs)

svn path=/trunk/; revision=67636
2015-05-10 20:56:48 +00:00
Pierre Schweitzer 0c5f4d92cd [NTFS]
Add two more flags (mutually exclusive) for IRP context:
- _COMPLETE will cause the IRP to be completed at the end of the dispatch, with the run-time priority boost set by caller
- _QUEUE will cause the IRP to be queued for delayed execution (not yet implemented)

This allows more flexibility for callers that can set the behavior thanks to the flags.
Default behavior is the previous one: by default the IRP is completed at the end of the dispatch

That one should really come to FastFAT...

svn path=/trunk/; revision=67635
2015-05-10 20:47:44 +00:00
Pierre Schweitzer edef9fdfae [NTFS]
Handle IRP_MJ_READ with the dispatch routine

svn path=/trunk/; revision=67634
2015-05-10 20:35:40 +00:00
Timo Kreuzer 241a326520 [NTOSKRNL/MM]
Add MI_MAKE_CLEAN_PAGE
Use PTE access macros for portability

svn path=/trunk/; revision=67633
2015-05-10 19:35:24 +00:00
Timo Kreuzer 73e043f5b5 [NTOSKRNL]
- Fix MMPTE vs MMPDE usage
- Use MiPteToPde instead of MiAddressToPte

svn path=/trunk/; revision=67632
2015-05-10 19:35:00 +00:00
Timo Kreuzer c74c888770 [XDK/DDK/NDK/PSDK/ARMDDK]
- Move stuff from armddk.h to XDK/DDK
- Fix ARM CONTEXT flags
- Add missing KeGetCurrentIrql() for ARM
- Improve some amd64 based definitions
- Use Native math for Int64Sh**Mod32 on ARM

svn path=/trunk/; revision=67631
2015-05-10 19:34:38 +00:00
Timo Kreuzer 840af6fcb3 [NDK]
- Remove unused HYPERSPACE_BASE (which was broken for x86, too)
- Add PAE values for HYPER_SPACE and HYPER_SPACE_END on x86
- Add missing MM_HAL_VA_START and MM_HAL_VA_END for ARM

svn path=/trunk/; revision=67630
2015-05-10 19:33:56 +00:00
Hermès Bélusca-Maïto d60f8dcc0a [NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its support for VDDs.
svn path=/trunk/; revision=67629
2015-05-10 18:02:45 +00:00
Timo Kreuzer fe491d1d3b [RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628
2015-05-10 17:59:10 +00:00
Timo Kreuzer f2b82513c2 [RICHED20_WINETEST]
Fix a few more set-but-unused warnings. ("Should be sent to wine-staging"(tm))

svn path=/trunk/; revision=67627
2015-05-10 17:54:02 +00:00
Timo Kreuzer 079df38c99 [KMTEST]
Hey Arch, if you turn warnings into errors, make sure to fix the warnings before!

svn path=/trunk/; revision=67626
2015-05-10 17:37:54 +00:00
Hermès Bélusca-Maïto e2d20087ab [ROSTESTS]: Move old testdata directory into the new one and add test files by Victor Martinez.
ROSTESTS-169 #resolve

svn path=/trunk/; revision=67625
2015-05-10 14:59:04 +00:00
Pierre Schweitzer e1c4e3ae3a [NTFS]
Don't force the run-time priority boost in NtfsFsdDispatch(). Some dispatched MJ functions might want to adjust it (MJ_READ/MJ_WRITE/MJ_CREATE).

The same should be actually done in FastFAT. I believe that would help avoiding several code duplications... 

svn path=/trunk/; revision=67624
2015-05-10 14:36:00 +00:00
Aleksandar Andrejevic 4b508e967a [FAST486]
Fix LTR.


svn path=/trunk/; revision=67623
2015-05-10 14:34:28 +00:00
Hermès Bélusca-Maïto 25427ebb72 [NTVDM]: Fix a bug introduced in r67619.
svn path=/trunk/; revision=67622
2015-05-10 14:26:49 +00:00
Thomas Faber f7d9d7088b [CDFS]
- Mark volumes as read-only. Patch by Barrett Karish.
CORE-9655 #resolve

svn path=/trunk/; revision=67621
2015-05-10 14:09:47 +00:00
Hermès Bélusca-Maïto 020e3f1630 [NTVDM]: Fix current directory stuff.
svn path=/trunk/; revision=67620
2015-05-10 13:34:02 +00:00
Hermès Bélusca-Maïto 86ba2faa4e [NTVDM]: Fix DOS file find. Introduced in r61507, it was indeed untested...
svn path=/trunk/; revision=67619
2015-05-10 12:25:27 +00:00
Hermès Bélusca-Maïto 122a0a5ccc [NTVDM]: Fix (again) command-line parsing in DosCreateProcess.
svn path=/trunk/; revision=67618
2015-05-10 11:34:35 +00:00
Pierre Schweitzer 2225244d03 [NTFS]
Addendum to r67540: don't complete the IRP twice (NtfsQueryInformation() + NtfsFsdDispatch()).
This fixes regression

svn path=/trunk/; revision=67617
2015-05-10 10:30:40 +00:00
Hermès Bélusca-Maïto 32bc389748 [NTVDM]: temporary fix for "lastdrive": put it to 'Z' (max drive letter you can have on DOS). A better fix would be DOS listing all the accessible drives in the current PC and compute the last one.
svn path=/trunk/; revision=67616
2015-05-10 10:28:33 +00:00
Pierre Schweitzer 8ddf736b58 [NTFS]
Handle IRP_MJ_DIRECTORY_CONTROL with the dispatch routine

svn path=/trunk/; revision=67615
2015-05-10 10:17:29 +00:00
Pierre Schweitzer 8426d2f96e [NTFS]
NTFS doesn't need CdfsGetEntryName()

svn path=/trunk/; revision=67614
2015-05-10 10:02:53 +00:00
Aleksandar Andrejevic 2c93627ac0 [NTVDM]
Make sure the BOP doesn't repeat when the timeout expires in INT 15h, AH = 41h.


svn path=/trunk/; revision=67613
2015-05-10 02:10:19 +00:00
Aleksandar Andrejevic 4113fbb5a3 [NTVDM]
- Modify the int32 dispatch to clear the CF only on entry, so that we can
track in our handlers whether it was the first time the BOP executed.
- Implement INT 15h, AH = 41h (Wait On External Event).
- Fix INT 15h, AX = E801h - modify the stack CF instead of the handler CF.
- Make INT 16h AH = 00h clear CF when there is a character, so that the BOP doesn't
repeat.


svn path=/trunk/; revision=67612
2015-05-10 01:42:39 +00:00
Aleksandar Andrejevic 8872cfb339 [NTVDM]
- Implement XMS function 0x0E (Get Handle Information).
- Fix INT 15h, AX = E820h - setCF can't be used inside an int32 callback for changing
the return carry flag, because it has a different meaning there (it means that the BOP
should be repeated). Instead, we must modify the CF that was pushed on the stack.


svn path=/trunk/; revision=67611
2015-05-10 00:55:38 +00:00