reactos.git
8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 12 May 2015 19:10:52 +0000 (19:10 +0000)]
[FAST486]
- Only flush the TLB when needed.
- Flush the TLB after a reset.

svn path=/trunk/; revision=67698

8 years ago[REDEXPL]
Daniel Reimer [Tue, 12 May 2015 18:14:39 +0000 (18:14 +0000)]
[REDEXPL]
This is evil under amd64, too... so we disable it for now.
[ROSHTTPD]
UINT -> size_t
[NCFTP]
About time to clean this mess. Are we a Unix? No sir!

svn path=/trunk/; revision=67697

8 years ago[OLEAUT32]
Daniel Reimer [Tue, 12 May 2015 18:09:04 +0000 (18:09 +0000)]
[OLEAUT32]
Wine guys... if you put all stuff which uses one local variable in a #ifdef __i386__, then god heaven... put that one in a #ifdef, too! Should be sent upstream!

svn path=/trunk/; revision=67696

8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 12 May 2015 17:09:16 +0000 (17:09 +0000)]
[FAST486]
Fix TLB flushing. An unused entry should be INVALID_TLB_ENTRY (0xFFFFFFFF) and not 0.

svn path=/trunk/; revision=67695

8 years ago[WINMINE] Sync with Wine Staging 1.7.37 while keeping our own resources. CORE-9246
Amine Khaldi [Tue, 12 May 2015 14:40:23 +0000 (14:40 +0000)]
[WINMINE] Sync with Wine Staging 1.7.37 while keeping our own resources. CORE-9246

svn path=/trunk/; revision=67692

8 years ago[NDK] Add FILE_READ_ONLY_VOLUME definition in NTOS_MODE_USER mode. [SHELL32] Remove...
Amine Khaldi [Tue, 12 May 2015 12:51:50 +0000 (12:51 +0000)]
[NDK] Add FILE_READ_ONLY_VOLUME definition in NTOS_MODE_USER mode. [SHELL32] Remove the now unneeded FILE_READ_ONLY_VOLUME definition.

svn path=/trunk/; revision=67691

8 years ago[CMAKE] Prevent CMake from doing importlib handling as we do that on our own.
Amine Khaldi [Tue, 12 May 2015 12:19:41 +0000 (12:19 +0000)]
[CMAKE] Prevent CMake from doing importlib handling as we do that on our own.

svn path=/trunk/; revision=67690

8 years ago[CMAKE] The /SUBSYSTEM flag takes uppercase parameters.
Amine Khaldi [Tue, 12 May 2015 12:18:02 +0000 (12:18 +0000)]
[CMAKE] The /SUBSYSTEM flag takes uppercase parameters.

svn path=/trunk/; revision=67689

8 years ago[CMAKE] Take into account the build type when referencing rsym.
Amine Khaldi [Tue, 12 May 2015 12:11:50 +0000 (12:11 +0000)]
[CMAKE] Take into account the build type when referencing rsym.

svn path=/trunk/; revision=67688

8 years ago[CMAKE] Update rsym location in the GCC build.
Amine Khaldi [Tue, 12 May 2015 11:40:07 +0000 (11:40 +0000)]
[CMAKE] Update rsym location in the GCC build.

svn path=/trunk/; revision=67687

8 years ago[CMAKE] Set the /MP flag for MSVC_IDE globally.
Amine Khaldi [Tue, 12 May 2015 11:38:32 +0000 (11:38 +0000)]
[CMAKE] Set the /MP flag for MSVC_IDE globally.

svn path=/trunk/; revision=67686

8 years ago[CMAKE] Set "Debug" as the default build type globally.
Amine Khaldi [Tue, 12 May 2015 11:35:19 +0000 (11:35 +0000)]
[CMAKE] Set "Debug" as the default build type globally.

svn path=/trunk/; revision=67685

8 years ago[GENINCDATA] Add missing psdk dependency.
Amine Khaldi [Tue, 12 May 2015 11:32:51 +0000 (11:32 +0000)]
[GENINCDATA] Add missing psdk dependency.

svn path=/trunk/; revision=67684

8 years ago[SHELL32] Don't provide the format option when the volume is read only. By Barrett...
Amine Khaldi [Tue, 12 May 2015 10:57:24 +0000 (10:57 +0000)]
[SHELL32] Don't provide the format option when the volume is read only. By Barrett Karish. CORE-9530

svn path=/trunk/; revision=67683

8 years ago[LIVECD] Rename "Audiorecorder" shortcut to "Sound Recorder". By Jared Smudde. CORE...
Amine Khaldi [Tue, 12 May 2015 10:46:26 +0000 (10:46 +0000)]
[LIVECD] Rename "Audiorecorder" shortcut to "Sound Recorder". By Jared Smudde. CORE-9687

svn path=/trunk/; revision=67682

8 years ago[NOTEPAD] Apply Wine commit 7854f19 by Andrew Eikum: Don't specify initial dir for...
Amine Khaldi [Tue, 12 May 2015 10:39:31 +0000 (10:39 +0000)]
[NOTEPAD] Apply Wine commit 7854f19 by Andrew Eikum: Don't specify initial dir for save and open dialogs. CORE-9371

svn path=/trunk/; revision=67681

8 years ago[NOTEPAD] Apply Wine commit 80cf194 by Francois Gouget: Remove the unimplemented...
Amine Khaldi [Tue, 12 May 2015 10:27:25 +0000 (10:27 +0000)]
[NOTEPAD] Apply Wine commit 80cf194 by Francois Gouget: Remove the unimplemented help search menu. CORE-9371
* The previous commit (r67679) was from Francois Gouget too. Apologies.

svn path=/trunk/; revision=67680

8 years ago[NOTEPAD] Apply Wine commit 9b21a10 by Alexandre Julliard: Remove the 'Help on Help...
Amine Khaldi [Tue, 12 May 2015 10:22:20 +0000 (10:22 +0000)]
[NOTEPAD] Apply Wine commit 9b21a10 by Alexandre Julliard: Remove the 'Help on Help' menu. It is redundant with the help application's 'Help' menu and clutters notepad. CORE-9371

svn path=/trunk/; revision=67679

8 years ago[NOTEPAD] Apply Wine commit 276306e by Alexandre Julliard: Don't offer vertical fonts...
Amine Khaldi [Tue, 12 May 2015 10:13:32 +0000 (10:13 +0000)]
[NOTEPAD] Apply Wine commit 276306e by Alexandre Julliard: Don't offer vertical fonts in the font dialog. CORE-9371

svn path=/trunk/; revision=67678

8 years ago[NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropri...
Amine Khaldi [Tue, 12 May 2015 10:11:31 +0000 (10:11 +0000)]
[NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropriate. CORE-9371

svn path=/trunk/; revision=67677

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 12 May 2015 03:47:10 +0000 (03:47 +0000)]
[NTVDM]
Fix the XMS driver (again):
- Don't return handle information for unallocated handles.
- Don't allow freeing unallocated handles.

svn path=/trunk/; revision=67676

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 12 May 2015 03:37:00 +0000 (03:37 +0000)]
[NTVDM]
Fix the XMS driver. AH = 08h is supposed to return the size of the
largest free block in AX, and the total amount of *free* memory
in DX.

svn path=/trunk/; revision=67675

8 years ago[FAST486]
Aleksandar Andrejevic [Tue, 12 May 2015 02:47:59 +0000 (02:47 +0000)]
[FAST486]
The default segment is SS when the SIB base is EBP.

svn path=/trunk/; revision=67674

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 23:56:15 +0000 (23:56 +0000)]
[FAST486]
The TSS limit is usually the actual limit - 1.
[NTVDM]
Increase the XMS size to use the last megabyte too.

svn path=/trunk/; revision=67673

8 years agoRevert a change that should never have been done.
Hermès Bélusca-Maïto [Mon, 11 May 2015 23:10:00 +0000 (23:10 +0000)]
Revert a change that should never have been done.

svn path=/trunk/; revision=67672

8 years ago[NTVDM][DDK]
Hermès Bélusca-Maïto [Mon, 11 May 2015 23:04:24 +0000 (23:04 +0000)]
[NTVDM][DDK]
Implement VDD user hooks: they are called when a DOS program is started or terminated, and when the VM enters a blocking state or is resumed.

[NTVDM]
- Do some parameter checks and set last errors in VDD memory helpers.
- Fix a bug in VDDInstallIOHook when installing IO hooks: the IoHandlers pointer MUST NEVER be incremented!!

[TESTVDD]: Update my test VDD with tests for the user hooks.

svn path=/trunk/; revision=67671

8 years ago[NTFS]
Pierre Schweitzer [Mon, 11 May 2015 21:11:48 +0000 (21:11 +0000)]
[NTFS]
Handle IRP_MJ_DEVICE_CONTROL with the dispatch routine

svn path=/trunk/; revision=67670

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 18:49:10 +0000 (18:49 +0000)]
[FAST486]
Duplicate prefixes don't generate #UD. Multiple segment overrides
override each other, and so do REP and REPNZ.

svn path=/trunk/; revision=67669

8 years ago[PSDK] Bring lmserver.h a bit into our formatting. NFC.
Amine Khaldi [Mon, 11 May 2015 17:27:08 +0000 (17:27 +0000)]
[PSDK] Bring lmserver.h a bit into our formatting. NFC.

svn path=/trunk/; revision=67668

8 years ago[CDROM_NEW] Fix MSVC build.
Amine Khaldi [Mon, 11 May 2015 17:23:38 +0000 (17:23 +0000)]
[CDROM_NEW] Fix MSVC build.

svn path=/trunk/; revision=67667

8 years ago[PSDK]
Thomas Faber [Mon, 11 May 2015 16:15:18 +0000 (16:15 +0000)]
[PSDK]
- Add __field_bcount_full
- Add a stub definition for __deref_out_range

svn path=/trunk/; revision=67666

8 years ago[DDK]
Thomas Faber [Mon, 11 May 2015 14:09:02 +0000 (14:09 +0000)]
[DDK]
- Add NTSTRSAFE_UNICODE_STRING_MAX_CCH

svn path=/trunk/; revision=67664

8 years ago[WS2_32] Apply Wine commit 51e7732 by Piotr Caban: Fix ai_canonname buffer allocation...
Amine Khaldi [Mon, 11 May 2015 13:43:37 +0000 (13:43 +0000)]
[WS2_32] Apply Wine commit 51e7732 by Piotr Caban: Fix ai_canonname buffer allocation in addrinfo_AtoW.

svn path=/trunk/; revision=67663

8 years ago[WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:58:10 +0000 (12:58 +0000)]
[WTSAPI32_WINETEST] Import from Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67661

8 years ago[WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:55:05 +0000 (12:55 +0000)]
[WTSAPI32] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67660

8 years ago[PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.
Amine Khaldi [Mon, 11 May 2015 12:52:08 +0000 (12:52 +0000)]
[PSDK] Add missing WTS_CURRENT_SERVER_HANDLE definition.

svn path=/trunk/; revision=67659

8 years ago[WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:51:23 +0000 (12:51 +0000)]
[WINTRUST_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67658

8 years ago[WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:51:01 +0000 (12:51 +0000)]
[WINTRUST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67657

8 years ago[WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:50:02 +0000 (12:50 +0000)]
[WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67656

8 years ago[WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:49:42 +0000 (12:49 +0000)]
[WINDOWSCODECS] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67655

8 years ago[XCOPY] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 11 May 2015 12:47:54 +0000 (12:47 +0000)]
[XCOPY] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=67654

8 years ago[CRT]
Thomas Faber [Mon, 11 May 2015 12:27:54 +0000 (12:27 +0000)]
[CRT]
- Add missing __INTRIN_INLINE for x64 intrinsics

svn path=/trunk/; revision=67653

8 years ago[CRT]
Thomas Faber [Mon, 11 May 2015 12:10:19 +0000 (12:10 +0000)]
[CRT]
- Fix some x64 GCC intrinsics

svn path=/trunk/; revision=67652

8 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 11 May 2015 03:36:02 +0000 (03:36 +0000)]
[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

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 03:31:04 +0000 (03:31 +0000)]
[FAST486]
In HLT, check the CPL and not CS.DPL.

svn path=/trunk/; revision=67650

8 years ago[NTVDM]
Aleksandar Andrejevic [Mon, 11 May 2015 02:54:46 +0000 (02:54 +0000)]
[NTVDM]
Move various private DOS variables into the Swappable Data Area.
It's still mostly unused though.

svn path=/trunk/; revision=67649

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 11 May 2015 02:49:25 +0000 (02:49 +0000)]
[FAST486]
Don't perform privilege checks while reading the IDT, GDT or TSS.

svn path=/trunk/; revision=67648

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 23:50:33 +0000 (23:50 +0000)]
[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

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 22:54:15 +0000 (22:54 +0000)]
[FAST486]
Don't check for gates in virtual 8086 mode.

svn path=/trunk/; revision=67646

8 years ago[FAST486]
Aleksandar Andrejevic [Sun, 10 May 2015 21:59:07 +0000 (21:59 +0000)]
[FAST486]
- Fix VM86-related stuff.
- Optimize MOV.

svn path=/trunk/; revision=67645

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 21:24:51 +0000 (21:24 +0000)]
[NTFS]
Don't call MmGetSystemAddressForMdl()

svn path=/trunk/; revision=67644

8 years ago[RTL]
Timo Kreuzer [Sun, 10 May 2015 21:05:01 +0000 (21:05 +0000)]
[RTL]
Implement DbgUserBreakPoint and DbgBreakPointWithStatus on ARM

svn path=/trunk/; revision=67643

8 years ago[CRT]
Timo Kreuzer [Sun, 10 May 2015 21:04:48 +0000 (21:04 +0000)]
[CRT]
Implement __rt_srsh

svn path=/trunk/; revision=67642

8 years ago[CRT/RTL/NTOSKRNL]
Timo Kreuzer [Sun, 10 May 2015 21:04:27 +0000 (21:04 +0000)]
[CRT/RTL/NTOSKRNL]
Add new ARM files to build and improve the stubs a bit

svn path=/trunk/; revision=67641

8 years ago[ASM]
Timo Kreuzer [Sun, 10 May 2015 21:03:53 +0000 (21:03 +0000)]
[ASM]
- Make syscalls ARM compatible

svn path=/trunk/; revision=67640

8 years ago[KSARM.H]
Timo Kreuzer [Sun, 10 May 2015 21:03:33 +0000 (21:03 +0000)]
[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

8 years ago[ASM]
Timo Kreuzer [Sun, 10 May 2015 21:03:09 +0000 (21:03 +0000)]
[ASM]
Update templates for asm include generation

svn path=/trunk/; revision=67638

8 years ago[CRT]
Timo Kreuzer [Sun, 10 May 2015 21:02:53 +0000 (21:02 +0000)]
[CRT]
- Add _JUMP_BUFFER for ARM
- On ARM there are no underscore prefixes

svn path=/trunk/; revision=67637

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:56:48 +0000 (20:56 +0000)]
[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

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:47:44 +0000 (20:47 +0000)]
[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

8 years ago[NTFS]
Pierre Schweitzer [Sun, 10 May 2015 20:35:40 +0000 (20:35 +0000)]
[NTFS]
Handle IRP_MJ_READ with the dispatch routine

svn path=/trunk/; revision=67634

8 years ago[NTOSKRNL/MM]
Timo Kreuzer [Sun, 10 May 2015 19:35:24 +0000 (19:35 +0000)]
[NTOSKRNL/MM]
Add MI_MAKE_CLEAN_PAGE
Use PTE access macros for portability

svn path=/trunk/; revision=67633

8 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 10 May 2015 19:35:00 +0000 (19:35 +0000)]
[NTOSKRNL]
- Fix MMPTE vs MMPDE usage
- Use MiPteToPde instead of MiAddressToPte

svn path=/trunk/; revision=67632

8 years ago[XDK/DDK/NDK/PSDK/ARMDDK]
Timo Kreuzer [Sun, 10 May 2015 19:34:38 +0000 (19:34 +0000)]
[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

8 years ago[NDK]
Timo Kreuzer [Sun, 10 May 2015 19:33:56 +0000 (19:33 +0000)]
[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

8 years ago[NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its...
Hermès Bélusca-Maïto [Sun, 10 May 2015 18:02:45 +0000 (18:02 +0000)]
[NTVDM]: Implement support for DMA transfers, single-mode only for now, and fix its support for VDDs.

svn path=/trunk/; revision=67629

8 years ago[RICHED20_WINETEST]
Timo Kreuzer [Sun, 10 May 2015 17:59:10 +0000 (17:59 +0000)]
[RICHED20_WINETEST]
Hey Arch, stop breaking GCC build, while trying to fix MSVC build!

svn path=/trunk/; revision=67628

8 years ago[RICHED20_WINETEST]
Timo Kreuzer [Sun, 10 May 2015 17:54:02 +0000 (17:54 +0000)]
[RICHED20_WINETEST]
Fix a few more set-but-unused warnings. ("Should be sent to wine-staging"(tm))

svn path=/trunk/; revision=67627

8 years ago[KMTEST]
Timo Kreuzer [Sun, 10 May 2015 17:37:54 +0000 (17:37 +0000)]
[KMTEST]
Hey Arch, if you turn warnings into errors, make sure to fix the warnings before!

svn path=/trunk/; revision=67626

8 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

8 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

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

svn path=/trunk/; revision=67623

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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