reactos.git
5 years ago[ROSTESTS]: Move old testdata directory into the new one and add test files by Victor...
Hermès Bélusca-Maïto [Sun, 10 May 2015 14:59:04 +0000 (14:59 +0000)]
[ROSTESTS]: Move old testdata directory into the new one and add test files by Victor Martinez.
ROSTESTS-169 #resolve

svn path=/trunk/; revision=67625

5 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 14:36:00 +0000 (14:36 +0000)]
[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

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 14:34:28 +0000 (14:34 +0000)]
[FAST486]
Fix LTR.

svn path=/trunk/; revision=67623

5 years ago[NTVDM]: Fix a bug introduced in r67619.
Hermès Bélusca-Maïto [Sun, 10 May 2015 14:26:49 +0000 (14:26 +0000)]
[NTVDM]: Fix a bug introduced in r67619.

svn path=/trunk/; revision=67622

5 years ago[CDFS]
Thomas Faber [Sun, 10 May 2015 14:09:47 +0000 (14:09 +0000)]
[CDFS]
- Mark volumes as read-only. Patch by Barrett Karish.
CORE-9655 #resolve

svn path=/trunk/; revision=67621

5 years ago[NTVDM]: Fix current directory stuff.
Hermès Bélusca-Maïto [Sun, 10 May 2015 13:34:02 +0000 (13:34 +0000)]
[NTVDM]: Fix current directory stuff.

svn path=/trunk/; revision=67620

5 years ago[NTVDM]: Fix DOS file find. Introduced in r61507, it was indeed untested...
Hermès Bélusca-Maïto [Sun, 10 May 2015 12:25:27 +0000 (12:25 +0000)]
[NTVDM]: Fix DOS file find. Introduced in r61507, it was indeed untested...

svn path=/trunk/; revision=67619

5 years ago[NTVDM]: Fix (again) command-line parsing in DosCreateProcess.
Hermès Bélusca-Maïto [Sun, 10 May 2015 11:34:35 +0000 (11:34 +0000)]
[NTVDM]: Fix (again) command-line parsing in DosCreateProcess.

svn path=/trunk/; revision=67618

5 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:30:40 +0000 (10:30 +0000)]
[NTFS]
Addendum to r67540: don't complete the IRP twice (NtfsQueryInformation() + NtfsFsdDispatch()).
This fixes regression

svn path=/trunk/; revision=67617

5 years ago[NTVDM]: temporary fix for "lastdrive": put it to 'Z' (max drive letter you can have...
Hermès Bélusca-Maïto [Sun, 10 May 2015 10:28:33 +0000 (10:28 +0000)]
[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

5 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:17:29 +0000 (10:17 +0000)]
[NTFS]
Handle IRP_MJ_DIRECTORY_CONTROL with the dispatch routine

svn path=/trunk/; revision=67615

5 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 10:02:53 +0000 (10:02 +0000)]
[NTFS]
NTFS doesn't need CdfsGetEntryName()

svn path=/trunk/; revision=67614

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 02:10:19 +0000 (02:10 +0000)]
[NTVDM]
Make sure the BOP doesn't repeat when the timeout expires in INT 15h, AH = 41h.

svn path=/trunk/; revision=67613

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 01:42:39 +0000 (01:42 +0000)]
[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

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 10 May 2015 00:55:38 +0000 (00:55 +0000)]
[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

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 23:56:38 +0000 (23:56 +0000)]
[NTVDM]
Correct the byte order of the magic value: 'PAMS' -> 'SMAP'.

svn path=/trunk/; revision=67610

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 23:48:09 +0000 (23:48 +0000)]
[NTVDM]
Implement BIOS INT 15h functions AX = E820 (Get Memory Map) and AX = E801
(Get Memory Size for >64M Configurations).

svn path=/trunk/; revision=67609

5 years ago[DDK]
Thomas Faber [Sat, 9 May 2015 22:49:37 +0000 (22:49 +0000)]
[DDK]
- Include <suppress.h> from wdm.h to satisfy __WARNING_MEMORY_NOT_ACQUIRED. Patch by Mark Jansen.
CORE-9657 #resolve

svn path=/trunk/; revision=67608

5 years ago[CMAKE]
Thomas Faber [Sat, 9 May 2015 22:44:52 +0000 (22:44 +0000)]
[CMAKE]
- Enable C4189 (local variable initialized but not referenced) on MSVC builds and make it an error.
CORE-9676 #resolve

svn path=/trunk/; revision=67607

5 years ago[FAST486]
Aleksandar Andrejevic [Sat, 9 May 2015 21:56:40 +0000 (21:56 +0000)]
[FAST486]
If the executable bit of a segment descriptor is set, it's never a grow-down segment.

svn path=/trunk/; revision=67606

5 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 May 2015 03:15:11 +0000 (03:15 +0000)]
[NTVDM]
Remove an accidentally committed temporary DPRINT1.

svn path=/trunk/; revision=67605

5 years ago[NTVDM]: hardcoded_values--;
Hermès Bélusca-Maïto [Fri, 8 May 2015 23:47:33 +0000 (23:47 +0000)]
[NTVDM]: hardcoded_values--;

svn path=/trunk/; revision=67604

5 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 8 May 2015 23:26:15 +0000 (23:26 +0000)]
[NTVDM]
DosTerminateProcess shouldn't blindly attempt to restore the old state,
(for example if the process was started manually by a debugger).

svn path=/trunk/; revision=67603

5 years ago[NTVDM]: Merge Bios32 ResetBop with POST function.
Hermès Bélusca-Maïto [Fri, 8 May 2015 19:43:12 +0000 (19:43 +0000)]
[NTVDM]: Merge Bios32 ResetBop with POST function.

svn path=/trunk/; revision=67602

5 years ago[NTVDM]: Implement PC reset handling in the BIOS. Used by some apps for switching...
Hermès Bélusca-Maïto [Fri, 8 May 2015 19:26:46 +0000 (19:26 +0000)]
[NTVDM]: Implement PC reset handling in the BIOS. Used by some apps for switching from protected mode back to real mode the 286 way (see: rcollins.org/articles/pmbasics/ for more details).

svn path=/trunk/; revision=67601

5 years ago[MSPAINT_NEW] Convert to C++, update header comments
Benedikt Freisen [Fri, 8 May 2015 16:27:46 +0000 (16:27 +0000)]
[MSPAINT_NEW] Convert to C++, update header comments

svn path=/trunk/; revision=67600

5 years ago[MSPAINT_NEW] bootstrap mspaint_new from mspaint
Benedikt Freisen [Fri, 8 May 2015 16:02:36 +0000 (16:02 +0000)]
[MSPAINT_NEW] bootstrap mspaint_new from mspaint

svn path=/trunk/; revision=67599

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 03:43:31 +0000 (03:43 +0000)]
[FAST486]
Fix the order of operatins in RETF.

svn path=/trunk/; revision=67598

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 02:30:28 +0000 (02:30 +0000)]
[FAST486]
The "Call" parameter should be true for calls.

svn path=/trunk/; revision=67597

5 years ago[FAST486]
Aleksandar Andrejevic [Fri, 8 May 2015 01:34:18 +0000 (01:34 +0000)]
[FAST486]
Don't forget to check for gates in 16-bit protected mode too.

svn path=/trunk/; revision=67596

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 7 May 2015 23:54:47 +0000 (23:54 +0000)]
[NTVDM]
- Move some interrupt initialization where it belongs and activate few other ones.
- Initialize interruct vector for INT 2Ah (Network check) because some apps directly call it and crash if it contains NULL.

svn path=/trunk/; revision=67595

5 years ago[NTVDM]: Initialize only the interrupt vectors that we really need, and nothing else...
Hermès Bélusca-Maïto [Thu, 7 May 2015 23:11:32 +0000 (23:11 +0000)]
[NTVDM]: Initialize only the interrupt vectors that we really need, and nothing else. I also include a (by default disabled) option that activates extended debug features that may break some DOS apps (for example, initializing ALL of the non-handled interrupts to a default vector), to be used at your own risk.

svn path=/trunk/; revision=67594

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 13:38:29 +0000 (13:38 +0000)]
[FAST486]
Support legacy (286) Task State Segments in Fast486InterruptInternal and Fast486CallGate.

svn path=/trunk/; revision=67593

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 12:18:41 +0000 (12:18 +0000)]
[FAST486]
The NULL selector is valid in the LDT.

svn path=/trunk/; revision=67592

5 years ago[FAST486]
Aleksandar Andrejevic [Thu, 7 May 2015 03:22:18 +0000 (03:22 +0000)]
[FAST486]
Add support for legacy (286) Task State Segments.

svn path=/trunk/; revision=67591

5 years ago[NTVDM]: Update the console title only in non-standalone mode.
Hermès Bélusca-Maïto [Thu, 7 May 2015 01:44:29 +0000 (01:44 +0000)]
[NTVDM]: Update the console title only in non-standalone mode.

svn path=/trunk/; revision=67590

5 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 7 May 2015 01:23:33 +0000 (01:23 +0000)]
[NTVDM]
- Improvement/Usability: when a DOS app is started in a separate console, print its full path as it's done in Windows.
- Stubplement a LoadGlobalSettings function for NTVDM so that it will be able to grab user settings from the registry.
- Move DOS-only related variables AcceptCommands, CommandThread and SessionId to where they belong. I will rework ConsoleCtrlHandler to make it more elegant in the future (DOS-agnostic).
- Remove the useless ENTER-key-up hack.

svn path=/trunk/; revision=67589

5 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 7 May 2015 00:53:47 +0000 (00:53 +0000)]
[NTVDM]
Fix the previous fix.

svn path=/trunk/; revision=67588

5 years ago[NTVDM]
Aleksandar Andrejevic [Thu, 7 May 2015 00:36:14 +0000 (00:36 +0000)]
[NTVDM]
Fix the calculation of the executable's base size.

svn path=/trunk/; revision=67587

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 23:13:55 +0000 (23:13 +0000)]
[NTVDM]
... and don't forget to set AH to the error code.

svn path=/trunk/; revision=67586

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 23:06:28 +0000 (23:06 +0000)]
[NTVDM]
Implement EMS function AH = 59h (Get Expanded Memory Hardware Information).

svn path=/trunk/; revision=67585

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 22:41:22 +0000 (22:41 +0000)]
[NTVDM]
- INT 21h AH = 0Ah: don't increment the count for a backspace.
- Fix the EMS version number.

svn path=/trunk/; revision=67584

5 years ago[EXPLORER]
David Quintana [Wed, 6 May 2015 22:13:06 +0000 (22:13 +0000)]
[EXPLORER]
Remove notification icons when their attached HWND is no longer valid. Patch by Joachim Henze (reactosfanboy), with some extra newlines by me.
CORE-9537 #resolve

svn path=/trunk/; revision=67583

5 years ago[NTVDM]: Move the DosStartProcess dprint inside the function.
Hermès Bélusca-Maïto [Wed, 6 May 2015 22:07:16 +0000 (22:07 +0000)]
[NTVDM]: Move the DosStartProcess dprint inside the function.

svn path=/trunk/; revision=67582

5 years ago[ATL]
Ged Murphy [Wed, 6 May 2015 21:56:24 +0000 (21:56 +0000)]
[ATL]
Add support for assigning CAtlString to WCHAR

svn path=/trunk/; revision=67581

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 21:56:15 +0000 (21:56 +0000)]
[NTVDM]
Try to find the shortened full path in DosLoadExecutable, and use that whenever
possible.

svn path=/trunk/; revision=67580

5 years ago[ATL]
Ged Murphy [Wed, 6 May 2015 21:31:40 +0000 (21:31 +0000)]
[ATL]
Add skeleton support for CAtlStringW

svn path=/trunk/; revision=67579

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 20:09:38 +0000 (20:09 +0000)]
[NTVDM]
The DOS CON driver shouldn't return DOS_DEVSTAT_BUSY while an extended
character can be read.

svn path=/trunk/; revision=67578

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 03:52:19 +0000 (03:52 +0000)]
[NTVDM]
Implement EMS functions AH = 47h and AH = 48h (Save/Restore Page Map).

svn path=/trunk/; revision=67574

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 03:38:41 +0000 (03:38 +0000)]
[NTVDM]
Implement EMS function AH = 53h (Get/Set Handle Name).
Some programs expect to find the string "EMMXXXX0" at offset 0x0A in
the segment where the EMS interrupt handler is, so move the interrupt
handler BOP to the private device area of the EMS driver.

svn path=/trunk/; revision=67573

5 years ago[NTVDM]
Aleksandar Andrejevic [Wed, 6 May 2015 02:05:01 +0000 (02:05 +0000)]
[NTVDM]
Don't set all the bits in the bitmap in XmsAlloc.

svn path=/trunk/; revision=67572

5 years agoRevert NTAPI changes.
Ged Murphy [Tue, 5 May 2015 22:30:50 +0000 (22:30 +0000)]
Revert NTAPI changes.
MS uses stdcall by default (/gz), we don't and need to explicitly add this in the headers

svn path=/trunk/; revision=67571

5 years ago[RC] Truncate some too long strings in resources. Some I cant't cut down because...
Daniel Reimer [Tue, 5 May 2015 21:00:44 +0000 (21:00 +0000)]
[RC] Truncate some too long strings in resources. Some I cant't cut down because of it's language were marked as too long for translators to fix. VMWInst skipped, it should die anyway.

svn path=/trunk/; revision=67570

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 20:49:09 +0000 (20:49 +0000)]
[NTVDM]
Fix INT 16h, AH=01h/11h.

svn path=/trunk/; revision=67569

5 years ago[NTOSKRNL/FREELDR/NDK]
Timo Kreuzer [Tue, 5 May 2015 20:36:07 +0000 (20:36 +0000)]
[NTOSKRNL/FREELDR/NDK]
- "equalize" internal arch specific Mm headers
- Move some definitions into more appropriate locations

svn path=/trunk/; revision=67568

5 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 5 May 2015 20:35:27 +0000 (20:35 +0000)]
[NTOSKRNL]
Clean up some obsolete architecture specific Mm definitions

svn path=/trunk/; revision=67567

5 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 5 May 2015 20:35:00 +0000 (20:35 +0000)]
[NTOSKRNL]
Remove unused MmGetPageDirectory.

svn path=/trunk/; revision=67566

5 years ago[DDK]
Timo Kreuzer [Tue, 5 May 2015 20:34:34 +0000 (20:34 +0000)]
[DDK]
Fix declaration of NdisCopyLookaheadData

svn path=/trunk/; revision=67565

5 years ago[CPPRT]
Timo Kreuzer [Tue, 5 May 2015 20:14:28 +0000 (20:14 +0000)]
[CPPRT]
Add some symbol aliases for ARM

svn path=/trunk/; revision=67564

5 years ago[DDK]
Ged Murphy [Tue, 5 May 2015 18:54:28 +0000 (18:54 +0000)]
[DDK]
Fix the FS filter callback definitions

svn path=/trunk/; revision=67563

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 18:16:56 +0000 (18:16 +0000)]
[NTVDM]
Revert r67561. It's incorrect.

svn path=/trunk/; revision=67562

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 17:56:37 +0000 (17:56 +0000)]
[NTVDM]
The DOS CON driver should support extended keystrokes.

svn path=/trunk/; revision=67561

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 17:37:06 +0000 (17:37 +0000)]
[NTVDM]
Fix the BIOS handling of extended scancodes.

svn path=/trunk/; revision=67560

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 17:02:28 +0000 (17:02 +0000)]
[ROSAPPS]
After r67555 regexpl builds fine on MSVC. So reactivate it. Thx goes to ThFabba

svn path=/trunk/; revision=67559

5 years ago[NTVDM]
Christoph von Wittich [Tue, 5 May 2015 08:11:22 +0000 (08:11 +0000)]
[NTVDM]
addenum to r67557

svn path=/trunk/; revision=67558

5 years ago[NTVDM]
Christoph von Wittich [Tue, 5 May 2015 08:07:08 +0000 (08:07 +0000)]
[NTVDM]
don't try to deference an uninitialized Timer

svn path=/trunk/; revision=67557

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 03:52:25 +0000 (03:52 +0000)]
[NTVDM]
In DosTerminateProcess, McbSegment is the segment of the MCB itself, not the data
it contains.

svn path=/trunk/; revision=67556

5 years ago[C++]
Thomas Faber [Tue, 5 May 2015 02:44:17 +0000 (02:44 +0000)]
[C++]
- Add nothrow versions of new/delete operators
- Add <cassert>
- Fix a TODO and add missing dependency to <exception> header

svn path=/trunk/; revision=67555

5 years agooooops
Daniel Reimer [Tue, 5 May 2015 01:27:21 +0000 (01:27 +0000)]
oooops

svn path=/trunk/; revision=67554

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 01:25:11 +0000 (01:25 +0000)]
[ROSAPPS]
Disable regexpl for now because this is a strange MSVC build error...

svn path=/trunk/; revision=67553

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 01:07:42 +0000 (01:07 +0000)]
[ROSAPPS]
Add some missing german translations
Add some missing manifests
Improve some resources
Add possibility to build an application with one language

svn path=/trunk/; revision=67552

5 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 5 May 2015 00:55:56 +0000 (00:55 +0000)]
[NTVDM]
Send 0xE0 before each extended key scancode.

svn path=/trunk/; revision=67551

5 years ago[ROSAPPS]
Daniel Reimer [Tue, 5 May 2015 00:18:15 +0000 (00:18 +0000)]
[ROSAPPS]
Fix binpatch and systeminfo MSVC build.

svn path=/trunk/; revision=67550

5 years ago[NTVDM]: Add a debug feature to detect which apps erroneously call by themselves...
Hermès Bélusca-Maïto [Tue, 5 May 2015 00:11:43 +0000 (00:11 +0000)]
[NTVDM]: Add a debug feature to detect which apps erroneously call by themselves the BIOS initialization routine (POST). For whatever reason it is what MSD version 2 and above does.

svn path=/trunk/; revision=67549

5 years ago[ROSAPPS]
Daniel Reimer [Mon, 4 May 2015 23:08:17 +0000 (23:08 +0000)]
[ROSAPPS]
Fix symdump, ncftp and netreg MSVC build.

svn path=/trunk/; revision=67548

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 4 May 2015 22:16:20 +0000 (22:16 +0000)]
[FAST486]
The parameter count is not pushed onto the stack for call gates.

svn path=/trunk/; revision=67547

5 years ago[USETUP]: Instead of defining a special function "DrawInputField" just to draw an...
Hermès Bélusca-Maïto [Mon, 4 May 2015 20:50:51 +0000 (20:50 +0000)]
[USETUP]: Instead of defining a special function "DrawInputField" just to draw an input field for entering the partition size number, just use the already existing CONSOLE_SetInputTextXY function (and adapt the calling code because the string buffer for the SetInputTextXY function wants a unicode string). We now have a consistent input UI for usetup.
CORE-9453 #resolve #comment I committed a more elegant solution to this problem.

svn path=/trunk/; revision=67546

5 years ago[FAST486]
Aleksandar Andrejevic [Mon, 4 May 2015 19:14:23 +0000 (19:14 +0000)]
[FAST486]
- Implement call gates.
- Fix Fast486InterruptInternal and get rid of ugly hacks.
- Fix IRET (CS loaded too early).
- Add a structure definition for the 16-bit TSS (not supported yet).

svn path=/trunk/; revision=67545

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 3 May 2015 22:02:41 +0000 (22:02 +0000)]
[NTVDM]
Implement VGA read mode 1.

svn path=/trunk/; revision=67541

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:36:58 +0000 (18:36 +0000)]
[NTFS]
Handle the file query information IRP major with the dispatch routine

svn path=/trunk/; revision=67540

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:25:55 +0000 (18:25 +0000)]
[NTFS]
Store stack & FO in IRP context

svn path=/trunk/; revision=67539

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:17:39 +0000 (18:17 +0000)]
[NTFS]
Set a flag in the IRP context when an IRP can wait on locking

svn path=/trunk/; revision=67538

5 years ago[CRT]
Timo Kreuzer [Sun, 3 May 2015 18:15:19 +0000 (18:15 +0000)]
[CRT]
- Implement portable fabsf.c
- Move some ARM stubs to a better location
- Add stubs for __dtoi64, __i64tos, __u64tos, _clearfp

svn path=/trunk/; revision=67537

5 years ago[NTFS]
Pierre Schweitzer [Sun, 3 May 2015 18:13:16 +0000 (18:13 +0000)]
[NTFS]
An IRP context without an IRP sounds like a challenge...

svn path=/trunk/; revision=67536

5 years ago[ATL]
Timo Kreuzer [Sun, 3 May 2015 18:03:31 +0000 (18:03 +0000)]
[ATL]
- Handle failure to allocate VM for thunk code
- Factor out the assembly thumk code, fix amd64 code and implement ARM code

svn path=/trunk/; revision=67535

5 years ago[ATL]
Timo Kreuzer [Sun, 3 May 2015 15:10:09 +0000 (15:10 +0000)]
[ATL]
- Convert tabs to spaces
- Remove excessive local variable indentation for alignment, since that doesn't help to improve readability
- No code changes

svn path=/trunk/; revision=67534

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 13:14:53 +0000 (13:14 +0000)]
[FAST486]
Don't overwrite the masked flags in IRET.

svn path=/trunk/; revision=67533

5 years ago[KERNEL32] Add Italian translation by Carlo Bramini. CORE-9650
Amine Khaldi [Sun, 3 May 2015 12:56:51 +0000 (12:56 +0000)]
[KERNEL32] Add Italian translation by Carlo Bramini. CORE-9650

svn path=/trunk/; revision=67532

5 years ago[SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:33:46 +0000 (11:33 +0000)]
[SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67531

5 years ago[REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:32:28 +0000 (11:32 +0000)]
[REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67530

5 years ago[REG] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Sun, 3 May 2015 11:30:49 +0000 (11:30 +0000)]
[REG] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67529

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 03:37:06 +0000 (03:37 +0000)]
[FAST486]
Properly check the limit for "expand down" segments.

svn path=/trunk/; revision=67528

5 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 3 May 2015 02:11:32 +0000 (02:11 +0000)]
[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

5 years ago[FAST486]
Aleksandar Andrejevic [Sun, 3 May 2015 01:45:57 +0000 (01:45 +0000)]
[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

5 years ago[NDK]
Timo Kreuzer [Sat, 2 May 2015 23:12:19 +0000 (23:12 +0000)]
[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

5 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 2 May 2015 23:11:50 +0000 (23:11 +0000)]
[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

5 years ago[NTOSKRNL] Handle some more KeFeatureFlags in amd64/cpu.c and set RtlpUse16ByteSLists
Timo Kreuzer [Sat, 2 May 2015 22:20:59 +0000 (22:20 +0000)]
[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

5 years ago[RTL]
Timo Kreuzer [Sat, 2 May 2015 22:20:38 +0000 (22:20 +0000)]
[RTL]
- Implement C versions of RtlInterlockedPushEntrySList, RtlInterlockedPushListSList, RtlInterlockedPopEntrySList and RtlInterlockedFlushSList.
- RtlInterlockedPushListSList is fastcall, not stdcall

svn path=/trunk/; revision=67522

5 years ago[DDK/XDK]
Timo Kreuzer [Sat, 2 May 2015 22:20:18 +0000 (22:20 +0000)]
[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

5 years ago[XDK/DDK/NDK]
Timo Kreuzer [Sat, 2 May 2015 22:19:47 +0000 (22:19 +0000)]
[XDK/DDK/NDK]
Simplify RtlXxxByteSwap macros (use them unconditionally)

svn path=/trunk/; revision=67520