Commit graph

61961 commits

Author SHA1 Message Date
Aleksandar Andrejevic
64dcdf9208 [NTVDM]
Don't set all the bits in the bitmap in XmsAlloc.


svn path=/trunk/; revision=67572
2015-05-06 02:05:01 +00:00
Ged Murphy
3f81100a8b 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
2015-05-05 22:30:50 +00:00
Daniel Reimer
8ad8574f4b [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
2015-05-05 21:00:44 +00:00
Aleksandar Andrejevic
fbd6184f27 [NTVDM]
Fix INT 16h, AH=01h/11h.


svn path=/trunk/; revision=67569
2015-05-05 20:49:09 +00:00
Timo Kreuzer
066c89edc7 [NTOSKRNL/FREELDR/NDK]
- "equalize" internal arch specific Mm headers
- Move some definitions into more appropriate locations

svn path=/trunk/; revision=67568
2015-05-05 20:36:07 +00:00
Timo Kreuzer
e2ae1410f2 [NTOSKRNL]
Clean up some obsolete architecture specific Mm definitions

svn path=/trunk/; revision=67567
2015-05-05 20:35:27 +00:00
Timo Kreuzer
29182af8fc [NTOSKRNL]
Remove unused MmGetPageDirectory.

svn path=/trunk/; revision=67566
2015-05-05 20:35:00 +00:00
Timo Kreuzer
472e68f392 [DDK]
Fix declaration of NdisCopyLookaheadData

svn path=/trunk/; revision=67565
2015-05-05 20:34:34 +00:00
Timo Kreuzer
1112c00ae0 [CPPRT]
Add some symbol aliases for ARM

svn path=/trunk/; revision=67564
2015-05-05 20:14:28 +00:00
Ged Murphy
b9c0d08099 [DDK]
Fix the FS filter callback definitions

svn path=/trunk/; revision=67563
2015-05-05 18:54:28 +00:00
Aleksandar Andrejevic
82000b2bed [NTVDM]
Revert r67561. It's incorrect.


svn path=/trunk/; revision=67562
2015-05-05 18:16:56 +00:00
Aleksandar Andrejevic
d9c9353901 [NTVDM]
The DOS CON driver should support extended keystrokes.


svn path=/trunk/; revision=67561
2015-05-05 17:56:37 +00:00
Aleksandar Andrejevic
935a593a23 [NTVDM]
Fix the BIOS handling of extended scancodes.


svn path=/trunk/; revision=67560
2015-05-05 17:37:06 +00:00
Daniel Reimer
ba0887eb81 [ROSAPPS]
After r67555 regexpl builds fine on MSVC. So reactivate it. Thx goes to ThFabba

svn path=/trunk/; revision=67559
2015-05-05 17:02:28 +00:00
Christoph von Wittich
ded00cc5f0 [NTVDM]
addenum to r67557

svn path=/trunk/; revision=67558
2015-05-05 08:11:22 +00:00
Christoph von Wittich
5324112cdb [NTVDM]
don't try to deference an uninitialized Timer

svn path=/trunk/; revision=67557
2015-05-05 08:07:08 +00:00
Aleksandar Andrejevic
4e51a1b77e [NTVDM]
In DosTerminateProcess, McbSegment is the segment of the MCB itself, not the data
it contains.


svn path=/trunk/; revision=67556
2015-05-05 03:52:25 +00:00
Thomas Faber
6e72d71daa [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
2015-05-05 02:44:17 +00:00
Daniel Reimer
72d0938ba9 oooops
svn path=/trunk/; revision=67554
2015-05-05 01:27:21 +00:00
Daniel Reimer
2daf95e450 [ROSAPPS]
Disable regexpl for now because this is a strange MSVC build error...

svn path=/trunk/; revision=67553
2015-05-05 01:25:11 +00:00
Daniel Reimer
edcfde0c22 [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
2015-05-05 01:07:42 +00:00
Aleksandar Andrejevic
fc5ec1fbac [NTVDM]
Send 0xE0 before each extended key scancode.


svn path=/trunk/; revision=67551
2015-05-05 00:55:56 +00:00
Daniel Reimer
cd87007594 [ROSAPPS]
Fix binpatch and systeminfo MSVC build.

svn path=/trunk/; revision=67550
2015-05-05 00:18:15 +00:00
Hermès Bélusca-Maïto
0048c572a0 [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
2015-05-05 00:11:43 +00:00
Daniel Reimer
26aa5486a1 [ROSAPPS]
Fix symdump, ncftp and netreg MSVC build.

svn path=/trunk/; revision=67548
2015-05-04 23:08:17 +00:00
Aleksandar Andrejevic
772a8d3918 [FAST486]
The parameter count is not pushed onto the stack for call gates.


svn path=/trunk/; revision=67547
2015-05-04 22:16:20 +00:00
Hermès Bélusca-Maïto
048d0522f4 [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
2015-05-04 20:50:51 +00:00
Aleksandar Andrejevic
ac4f5ac401 [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
2015-05-04 19:14:23 +00:00
Aleksandar Andrejevic
866f04e377 [NTVDM]
Implement VGA read mode 1.


svn path=/trunk/; revision=67541
2015-05-03 22:02:41 +00:00
Pierre Schweitzer
0a02a6e9b7 [NTFS]
Handle the file query information IRP major with the dispatch routine

svn path=/trunk/; revision=67540
2015-05-03 18:36:58 +00:00
Pierre Schweitzer
7a305fc01f [NTFS]
Store stack & FO in IRP context

svn path=/trunk/; revision=67539
2015-05-03 18:25:55 +00:00
Pierre Schweitzer
0e1b711195 [NTFS]
Set a flag in the IRP context when an IRP can wait on locking

svn path=/trunk/; revision=67538
2015-05-03 18:17:39 +00:00
Timo Kreuzer
344e771eb2 [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
2015-05-03 18:15:19 +00:00
Pierre Schweitzer
f982ad2644 [NTFS]
An IRP context without an IRP sounds like a challenge...

svn path=/trunk/; revision=67536
2015-05-03 18:13:16 +00:00
Timo Kreuzer
11a3512389 [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
2015-05-03 18:03:31 +00:00
Timo Kreuzer
a1bc58aee7 [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
2015-05-03 15:10:09 +00:00
Aleksandar Andrejevic
1317139297 [FAST486]
Don't overwrite the masked flags in IRET.


svn path=/trunk/; revision=67533
2015-05-03 13:14:53 +00:00
Amine Khaldi
dff30c48fa [KERNEL32] Add Italian translation by Carlo Bramini. CORE-9650
svn path=/trunk/; revision=67532
2015-05-03 12:56:51 +00:00
Amine Khaldi
6135f8221c [SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67531
2015-05-03 11:33:46 +00:00
Amine Khaldi
a31e415ce7 [REG_WINETEST] Import from Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67530
2015-05-03 11:32:28 +00:00
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