Commit graph

62112 commits

Author SHA1 Message Date
Timo Kreuzer
350a7747d4 [CRT]
Rename __CxxFrameHandler to __CxxFrameHandler3

svn path=/trunk/; revision=67731
2015-05-14 22:30:48 +00:00
Timo Kreuzer
c8a7258733 [MSVCRT]
- Separate C++ exports per architecture, add ARM exports (that again have different mangling)
- Add symbol aliases for ARM C++ exports
- Compile in/out functions only on x86
- Add some missing exports for non-x86

svn path=/trunk/; revision=67730
2015-05-14 21:53:15 +00:00
Timo Kreuzer
febee0a7a2 [CRT]
setjmp is a macro expanding to _setjmp or _setjmpex. In soviet russia and on ARM builds, the compiler will convert invocation of _setjmp back into a call to setjmp. The compiler handles _setjmp and _setjmpex in the same way, generating code where r0 points to the jump_buf and r1 points to the current functions stack frame (sp on function entry). So make setjmp and _setjmp aliases to _setjmpex and make the latter use r1.

svn path=/trunk/; revision=67729
2015-05-14 21:52:45 +00:00
Timo Kreuzer
2f20d0b140 [CRT]
Don't use _control87 on ARM builds

svn path=/trunk/; revision=67728
2015-05-14 21:52:23 +00:00
Timo Kreuzer
7b2824f7ee [CRT]
add __va_copy for ARM

svn path=/trunk/; revision=67727
2015-05-14 21:52:09 +00:00
Hermès Bélusca-Maïto
6b9a175dfb [NTVDM]
- Add some early "return" after calls to EmulatorTerminate()
- Some VDDs rely on the fact that NTVDM calls ExitProcess on Windows when it is going to quit, so let's do the same.
- Put port 61h (and 62h) support in ppi.c (programmable-peripheral-interface).

svn path=/trunk/; revision=67726
2015-05-14 21:13:07 +00:00
Eric Kohl
b4e859a232 [NTOSKRNL]
Create the "Hardware Profiles\0000" key as part of the registry setup. This must be done at this point because the "Hardware Profiles\Current" link will only be created, if the "Hardware Profiles\0000" key exists.

svn path=/trunk/; revision=67725
2015-05-14 21:08:42 +00:00
Timo Kreuzer
8bfb541424 [LIBSAMPLERATE]
Fix build

svn path=/trunk/; revision=67724
2015-05-14 20:58:41 +00:00
Timo Kreuzer
12ac6dabfb [D3DX9_36/WINED3D]
Partly revert previous changes, bringing back copysignf. Add global defines copysignf=_copysignf, since we have that now.

svn path=/trunk/; revision=67723
2015-05-14 20:45:56 +00:00
Timo Kreuzer
b2135ede32 [CRT]
Update / improve math.h a bit

svn path=/trunk/; revision=67722
2015-05-14 20:21:14 +00:00
Timo Kreuzer
0c72efe8f1 [CRT]
Make sure to get no errors, when implementing functions that exist as intrinsics.

svn path=/trunk/; revision=67721
2015-05-14 20:20:59 +00:00
Timo Kreuzer
c40efb1837 [CRT/CPPRT]
Add some files for non-x86 to build

svn path=/trunk/; revision=67720
2015-05-14 20:20:31 +00:00
Timo Kreuzer
03282ac383 [CRT]
Fix build

svn path=/trunk/; revision=67719
2015-05-14 19:51:12 +00:00
Timo Kreuzer
d924c50bdf [CRT]
Add simple C implementations for acosf, ceilf, floorf, fmodf and fix sqrtf

svn path=/trunk/; revision=67718
2015-05-14 19:44:50 +00:00
Timo Kreuzer
6115da1a2a [CRT]
Add simple C implementations for _chgsignf, _copysignf, _hypotf, asinf, atan2f, atanf, coshf, expf, log10f, modff, sinhf, tanf, tanhf

svn path=/trunk/; revision=67717
2015-05-14 19:06:00 +00:00
Timo Kreuzer
81e0eb6b13 [NTOSKRNL]
Rewrite KiSwapContext for ARM

svn path=/trunk/; revision=67716
2015-05-14 14:50:19 +00:00
Timo Kreuzer
6212c824eb [NTOSKRNL] Fix compilation of some ARM assembler files
[NTDLL] Add missing ASM stubs for ARM

svn path=/trunk/; revision=67715
2015-05-14 14:50:07 +00:00
Timo Kreuzer
845ec2108d [NTOSKRNL] Fix some Interlocked exports for non-x86, export some ARM specific functions
[NTDLL] Export some ARM specific functions
[SCSIPORT] Fix ARM exports

svn path=/trunk/; revision=67714
2015-05-14 14:49:41 +00:00
Eric Kohl
a84978c658 [PARPORT]
Implement basic funtions of the parallel port driver. It supports Centronics-Mode only.
You can print files using: copy <filename> lpt1:

svn path=/trunk/; revision=67713
2015-05-14 14:42:05 +00:00
Thomas Faber
f1291bfaea [ADVAPI32_WINETEST]
- Replace test_reg_query_info with the upstream version as promised in r67424.
CORE-6976

svn path=/trunk/; revision=67712
2015-05-14 13:08:07 +00:00
Thomas Faber
f94cb518bb [ADVAPI32]
- Add parameter check to RegQueryInfoKeyA
CORE-6976

svn path=/trunk/; revision=67711
2015-05-14 13:02:49 +00:00
Timo Kreuzer
a4c81347b4 [CRT]
Add stubs for __stoi64 and __stou64

svn path=/trunk/; revision=67710
2015-05-14 10:20:08 +00:00
Timo Kreuzer
c167f82226 [D3DX9_36/WINED3D]
- Remove useless copysignf invocation and the wrong defines for it
- BrokenHacksOnTopOfBrokenCode--;
- Should be sent upstream

svn path=/trunk/; revision=67709
2015-05-14 10:00:37 +00:00
Aleksandar Andrejevic
0aff65fcb4 [FAST486]
- Make Fast486ReadMemory and Fast486WriteMemory FASTCALL.
- Fix build when FAST486_NO_FPU is defined.


svn path=/trunk/; revision=67708
2015-05-13 23:26:25 +00:00
Aleksandar Andrejevic
365727d3e7 [NTVDM]
Fill the part of the buffer that was supposed to receive memory data
above the MAX_ADDRESS with 0xFF.


svn path=/trunk/; revision=67707
2015-05-13 23:23:17 +00:00
Amine Khaldi
41b8d0a78c [CMAKE] Add a minimum major/minor subsystem version number for ARM. Dedicated to Timo.
svn path=/trunk/; revision=67706
2015-05-13 12:12:20 +00:00
Aleksandar Andrejevic
915d26288b [FAST486]
For regular protected mode interrupts, the TF and NT flags should be cleared.


svn path=/trunk/; revision=67704
2015-05-13 03:00:54 +00:00
Aleksandar Andrejevic
dafeadd7ab [FAST486]
Addendum to r67702.


svn path=/trunk/; revision=67703
2015-05-12 21:37:10 +00:00
Aleksandar Andrejevic
84ed5d3cf2 [FAST486]
Superfluous prefixes don't usually generate #UD, except for LOCK.


svn path=/trunk/; revision=67702
2015-05-12 20:08:39 +00:00
Daniel Reimer
1e3adf9e73 [REGEXPL]
Reenable for amd64

svn path=/trunk/; revision=67701
2015-05-12 19:16:30 +00:00
Daniel Reimer
a990c60f4d [C++]
Add amd64 version of r64555. Suggested and reviewed by Thomas Faber

svn path=/trunk/; revision=67700
2015-05-12 19:16:03 +00:00
Aleksandar Andrejevic
8664805720 Fix build. Forgot a file.
svn path=/trunk/; revision=67699
2015-05-12 19:11:53 +00:00
Aleksandar Andrejevic
0dc2da8084 [FAST486]
- Only flush the TLB when needed.
- Flush the TLB after a reset.


svn path=/trunk/; revision=67698
2015-05-12 19:10:52 +00:00
Daniel Reimer
5670e997ca [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
2015-05-12 18:14:39 +00:00
Daniel Reimer
7511e4b024 [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
2015-05-12 18:09:04 +00:00
Aleksandar Andrejevic
091319ab73 [FAST486]
Fix TLB flushing. An unused entry should be INVALID_TLB_ENTRY (0xFFFFFFFF) and not 0.


svn path=/trunk/; revision=67695
2015-05-12 17:09:16 +00:00
Amine Khaldi
3889e12a3a [WINMINE] Sync with Wine Staging 1.7.37 while keeping our own resources. CORE-9246
svn path=/trunk/; revision=67692
2015-05-12 14:40:23 +00:00
Amine Khaldi
f730a539f5 [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
2015-05-12 12:51:50 +00:00
Amine Khaldi
05a5f2bb89 [CMAKE] Prevent CMake from doing importlib handling as we do that on our own.
svn path=/trunk/; revision=67690
2015-05-12 12:19:41 +00:00
Amine Khaldi
abebbac08d [CMAKE] The /SUBSYSTEM flag takes uppercase parameters.
svn path=/trunk/; revision=67689
2015-05-12 12:18:02 +00:00
Amine Khaldi
7af59d2927 [CMAKE] Take into account the build type when referencing rsym.
svn path=/trunk/; revision=67688
2015-05-12 12:11:50 +00:00
Amine Khaldi
a4e41cab78 [CMAKE] Update rsym location in the GCC build.
svn path=/trunk/; revision=67687
2015-05-12 11:40:07 +00:00
Amine Khaldi
cec93846d6 [CMAKE] Set the /MP flag for MSVC_IDE globally.
svn path=/trunk/; revision=67686
2015-05-12 11:38:32 +00:00
Amine Khaldi
75b42e9678 [CMAKE] Set "Debug" as the default build type globally.
svn path=/trunk/; revision=67685
2015-05-12 11:35:19 +00:00
Amine Khaldi
78eb5f5154 [GENINCDATA] Add missing psdk dependency.
svn path=/trunk/; revision=67684
2015-05-12 11:32:51 +00:00
Amine Khaldi
4f9b940d54 [SHELL32] Don't provide the format option when the volume is read only. By Barrett Karish. CORE-9530
svn path=/trunk/; revision=67683
2015-05-12 10:57:24 +00:00
Amine Khaldi
f591467049 [LIVECD] Rename "Audiorecorder" shortcut to "Sound Recorder". By Jared Smudde. CORE-9687
svn path=/trunk/; revision=67682
2015-05-12 10:46:26 +00:00
Amine Khaldi
70f374d4e7 [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
2015-05-12 10:39:31 +00:00
Amine Khaldi
3b59131ee6 [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
2015-05-12 10:27:25 +00:00
Amine Khaldi
17390e9975 [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
2015-05-12 10:22:20 +00:00