Commit graph

61971 commits

Author SHA1 Message Date
Amine Khaldi 43536d8977 [REG] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67529
2015-05-03 11:30:49 +00:00
Aleksandar Andrejevic 923efbbc4e [FAST486]
Properly check the limit for "expand down" segments.


svn path=/trunk/; revision=67528
2015-05-03 03:37:06 +00:00
Aleksandar Andrejevic 3da5321a16 [NTVDM]
- Fix a typo.
- Use a #define for the device flag.
- In r67526, the following change was committed but not described in the commit message:
- Enable opening devices in DosCreateFile and DosCreateFileEx.


svn path=/trunk/; revision=67527
2015-05-03 02:11:32 +00:00
Aleksandar Andrejevic a1e439008e [FAST486]
Update the copyright year (better late than never).
Push the error code inside Fast486InterruptInternal, to make the size of the
pushed value on the stack correct.
Update the CPL in Fast486TaskSwitch.


svn path=/trunk/; revision=67526
2015-05-03 01:45:57 +00:00
Timo Kreuzer e8cff2f3a5 [NDK]
Add a few definitions based on (Windows RT 8.1) symbol files, ks386.inc, ksamd64.inc, ksarm.inc and Windows 10 WDK (ntosp.h ftw!)

svn path=/trunk/; revision=67525
2015-05-02 23:12:19 +00:00
Timo Kreuzer 5b7d2dec59 [NTOSKRNL]
- Implement KiCpuId and make use of it
- Get rid of ugly CPUID, RDMSR and WRMSR functions
- remove unused KTS_ constants

svn path=/trunk/; revision=67524
2015-05-02 23:11:50 +00:00
Timo Kreuzer 0100d8de0c [NTOSKRNL] Handle some more KeFeatureFlags in amd64/cpu.c and set RtlpUse16ByteSLists
[NTDLL] Set RtlpUse16ByteSLists
[RTL] Make use of RtlpUse16ByteSLists in x64 Interlocked SList functions

svn path=/trunk/; revision=67523
2015-05-02 22:20:59 +00:00
Timo Kreuzer e31acf630c [RTL]
- Implement C versions of RtlInterlockedPushEntrySList, RtlInterlockedPushListSList, RtlInterlockedPopEntrySList and RtlInterlockedFlushSList.
- RtlInterlockedPushListSList is fastcall, not stdcall

svn path=/trunk/; revision=67522
2015-05-02 22:20:38 +00:00
Timo Kreuzer 0c0c8d637f [DDK/XDK]
- Improve definition of ExInterlockedCompareExchange64 and interlocked SList functions and improve some annotations based on native header
- Update processor feature constants

svn path=/trunk/; revision=67521
2015-05-02 22:20:18 +00:00
Timo Kreuzer 49dfd75396 [XDK/DDK/NDK]
Simplify RtlXxxByteSwap macros (use them unconditionally)

svn path=/trunk/; revision=67520
2015-05-02 22:19:47 +00:00
Timo Kreuzer 6223a53eb1 [CRT] Fix MSVC warnings
svn path=/trunk/; revision=67519
2015-05-02 22:19:31 +00:00
Hermès Bélusca-Maïto bc3ca7d415 [NTVDM]
Mouse:
- Remove now useless code in mouse support in BIOS.
- Implement INT 33h, AH=1Bh "Return mouse sensitivity" (returning hardcoded standard values since we don't support custom sensitivities) (AH=13h and 1Ah are marked as UNSUPPORTED).
- INT 33h, AH=1Fh "Disable mouse driver" returns in ES:BX the old INT 33h vector value: implement that.
- Implement INT 33h, AH=21h "Software reset", AH=24h and 4Dh and 6Dh "Software version and mouse info", "pointer to copyright string" and "version 'string'" functionalities.

DOS:
- Initialize in Win2k3-ntvdm-compatible order the DOS drivers: NUL, then CON, then XMS, and then EMS.
- Fix segment/offset inversion usage in INT 21h, AH=5Ch "Lock/Unlock region of file": when using MAKELONG macro to build a far pointer, the first parameter (loword) is the offset, and the second parameter (hiword) is the segment.

svn path=/trunk/; revision=67518
2015-05-02 20:48:08 +00:00
Amine Khaldi b18c48243f [BOOTDATA] Add missing font DPI entries in registry. By Ziliang Guo. CORE-8902
svn path=/trunk/; revision=67517
2015-05-02 19:55:55 +00:00
Amine Khaldi e242dc3f08 [SYSSETUP] Fix timezone setup in the unattended install of ReactOS. Spotted and fixed by V. CORE-9648
svn path=/trunk/; revision=67516
2015-05-02 19:48:26 +00:00
Amine Khaldi a4675648df [WBEMDISP_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67515
2015-05-02 19:40:48 +00:00
Amine Khaldi 8597a0a5f3 [WBEMDISP] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67514
2015-05-02 19:38:14 +00:00
Aleksandar Andrejevic af48f83e26 [NTVDM]
Save/restore the processor state when executing/terminating nested tasks.


svn path=/trunk/; revision=67513
2015-05-02 18:51:03 +00:00
Aleksandar Andrejevic a4901dfae5 [FAST486]
When storing a segment selector, the operand size attribute is only ignored when
writing to memory (where it's treated as if it's always 16-bit).


svn path=/trunk/; revision=67512
2015-05-02 16:09:00 +00:00
Timo Kreuzer 9806b6c055 [CRT]
Implement _setjmp / longjmp on ARM

svn path=/trunk/; revision=67511
2015-05-02 14:07:28 +00:00
Timo Kreuzer dbdef0de20 [CRT]
Add stub for __i64tod and C++ wrappers for ARM

svn path=/trunk/; revision=67510
2015-05-02 12:48:50 +00:00
Amine Khaldi c8824c92cf [MSPORTS] Introduce a setting that makes the driver accept resources with an IRQ instead of only resources without an IRQ. Brought to you by The ReactOS Printing Group. CORE-9645
svn path=/trunk/; revision=67509
2015-05-02 10:23:26 +00:00
Amine Khaldi 25b7bb215e [PARPORT] Introduce a skeleton that will serve as base for implementing the parallel port function driver. Brought to you by The ReactOS Printing Group. CORE-9644
svn path=/trunk/; revision=67508
2015-05-02 10:15:37 +00:00
Aleksandar Andrejevic b2311765e9 [NTVDM]
Implement INT 27h (Terminate and Stay Resident).
Keep track of the last entry SS:SP in the INT 21h handler.
Restore the stack in DosTerminateProcess.
The number of bytes to keep resident applies only to the block which holds the PSP,
other blocks are not freed.


svn path=/trunk/; revision=67507
2015-05-02 02:59:21 +00:00
Hermès Bélusca-Maïto dc0c0c695b Fix compilation.
svn path=/trunk/; revision=67506
2015-05-02 01:26:42 +00:00
Hermès Bélusca-Maïto 0345f7203f [NTVDM]
- Fix command-line handling.
- Disable a hack introduced in r65012 for testing purposes.

svn path=/trunk/; revision=67505
2015-05-02 01:23:27 +00:00
Aleksandar Andrejevic 9b5a4bf8a2 [NTVDM]
Implement INT 21h, AH = 36h "Get Free Disk Space".


svn path=/trunk/; revision=67504
2015-05-01 23:04:03 +00:00
Thomas Faber 5f7df0d9ad [NPFS]
- Correctly check for write quota in NpCommonWrite. Should fix test regressions after enabling fast I/O.

svn path=/trunk/; revision=67503
2015-05-01 19:40:04 +00:00
Pierre Schweitzer 8ce4d75f45 [NTFS]
Why would you allocate NTFS global data structure twice to use it from only one location?
Fix that misbehavior.

svn path=/trunk/; revision=67502
2015-05-01 18:58:00 +00:00
Pierre Schweitzer e7ad148a6c [NTFS]
Add FastIO non-support in NTFS

svn path=/trunk/; revision=67501
2015-05-01 18:38:10 +00:00
Pierre Schweitzer b4e21f0b6f [CDFS]
No, FastIo is not possible!

svn path=/trunk/; revision=67500
2015-05-01 17:45:16 +00:00
Pierre Schweitzer e295fdb99b [CDFS]
Set SizeOfFastIoDispatch member

svn path=/trunk/; revision=67499
2015-05-01 17:41:38 +00:00
Aleksandar Andrejevic 613b74b43d [NTVDM]
Separate the process-related code from the DOS kernel.
Enable starting processes from other processes in STANDALONE mode.
Implement INT 21h, AH = 55h and INT 21h, AH = 26h (Create/Clone PSP).
Implement overlay loading.


svn path=/trunk/; revision=67498
2015-05-01 15:42:54 +00:00
Thomas Faber 2aab9460a2 [BLUE]
- Arch, learn how to properly revert things?

svn path=/trunk/; revision=67497
2015-05-01 13:58:37 +00:00
Thomas Faber 067be5c23a [BLUE][CDFS]
- Arch, don't assume the driver you see in the backtrace is one that needs fixing. CDFS is the one who's a file system driver here...

svn path=/trunk/; revision=67496
2015-05-01 13:56:37 +00:00
Thomas Faber a1283b2745 [BLUE]
- FastIoDispatch is not optional for file system drivers!

svn path=/trunk/; revision=67495
2015-05-01 13:46:08 +00:00
Thomas Faber e03d4423da [NTOS:IO]
- Implement Fast I/O support in NtReadFile/NtWriteFile
CORE-9624

svn path=/trunk/; revision=67494
2015-05-01 13:20:26 +00:00
Thomas Faber 68defa9dd4 [KMTESTS:IO]
- Also test write operations in IoReadWrite
- Add some nonzero success statuses
CORE-9624

svn path=/trunk/; revision=67493
2015-05-01 12:50:12 +00:00
Eric Kohl e6c08e03e2 [FASTFAT]
VfatRead: Check the Length before checking the ByteOffset because reading 0 bytes should always be successful.

svn path=/trunk/; revision=67492
2015-05-01 12:15:49 +00:00
Thomas Faber e02846b73f [NTOS:IO]
- Free the correct event pointer when out of memory in IopDeviceFsIoControl

svn path=/trunk/; revision=67491
2015-05-01 12:00:50 +00:00
Thomas Faber bb4b99166e [NTOS:IO]
- Don't leak event object reference when out of memory in NtReadFile/NtWriteFile

svn path=/trunk/; revision=67490
2015-05-01 11:57:51 +00:00
Thomas Faber fbe8fcb291 [NTOS:IO]
- IopCompleteRequest: in case of an exception, fail the IRP as shown by kmtest:IoReadWrite
CORE-9624

svn path=/trunk/; revision=67489
2015-05-01 11:52:32 +00:00
Thomas Faber f1b1a2086e [KMTESTS:IO]
- Fix GCC build

svn path=/trunk/; revision=67488
2015-05-01 11:07:40 +00:00
Thomas Faber abb2dff020 [KMTESTS:IO]
- Add a test for the interaction between NtReadFile and a file system driver
CORE-9624

svn path=/trunk/; revision=67487
2015-05-01 11:03:21 +00:00
Thomas Faber 054e41ecad [KMTEST]
- Add TESTENTRY_NO_READONLY_DEVICE and TESTENTRY_BUFFERED_IO_DEVICE flags for standalone drivers

svn path=/trunk/; revision=67486
2015-05-01 10:52:37 +00:00
Thomas Faber 6a200446dc [NTOS:IO]
- Add missing SEH around user buffer access in IopCompleteRequest
- Remove a redundant condition
CORE-9624

svn path=/trunk/; revision=67485
2015-05-01 10:49:50 +00:00
David Quintana fd81042a22 Note to self: review diffs and remove temporary changes BEFORE commiting (not after).
svn path=/trunk/; revision=67484
2015-04-30 22:09:11 +00:00
David Quintana 3933ca6bce This commit brings support for compiling ReactOS with Visual Studio 2015 RC (and possibly the final release).
[BUILD]
msvc.cmake: Disable thread-local static initialization.
CMakeLists.txt: Disable PCH for VS2015.
configure.cmd: Make it aware of cl.exe version 19.x

[CPPRT]
Add alias for the new variants of the delete operators.

[BROWSEUI]
[MFIFS]
[FRAMEDYN]
[NDIS]
[DDK]
[PSDK]
[STLPORT]
Add explicit declarations of the new delete operators for those modules that don't use the WITH_RUNTIME option.

[WIDL]
[WPP]
Do not alias the snprintf family of functions to the _snprintf variants, since VS14 already declares them internally.

svn path=/trunk/; revision=67483
2015-04-30 21:48:26 +00:00
Timo Kreuzer a4df06a55c [CRT/KERNEL32]
Add some more ARM stubs

svn path=/trunk/; revision=67482
2015-04-30 21:07:08 +00:00
Timo Kreuzer 3a25ca3b5c [CRT]
Add a number of ARM 

svn path=/trunk/; revision=67481
2015-04-30 21:04:29 +00:00
Amine Khaldi 80217852de [COMCTL32] Export DrawShadowText() and mention that it's exported only in v6. Dedicated to Stefano Toncich aka Tonix.
svn path=/trunk/; revision=67480
2015-04-30 15:56:19 +00:00