Commit graph

46557 commits

Author SHA1 Message Date
Timo Kreuzer
0944b73b87 [ISOBOOT]
Fix portable bootsector and make it gas compatible (its opcode identical to the nasm compiled one and works correctly)

svn path=/trunk/; revision=52153
2011-06-09 11:23:01 +00:00
Cameron Gutman
17de5b1c0f [AFD]
- Fix a bug in some completion routines that resulted in failures being treated as successes
- Fix various cancellation bugs
- Fixes termination of programs that open listening sockets (Firefox, server.exe, tcpsvcs.exe, telnetd.exe, etc) and should increase stability in these programs as well

svn path=/trunk/; revision=52152
2011-06-08 22:15:27 +00:00
Timo Kreuzer
7c2030f619 [ASM]
Add some more protability macros

svn path=/trunk/; revision=52151
2011-06-08 19:06:01 +00:00
Timo Kreuzer
57490e06f6 [ISOBOOT]
Add portable asm version of iso boot sector

svn path=/trunk/; revision=52150
2011-06-08 18:48:34 +00:00
Rafal Harabien
25b068df28 [WIN32K]
- Revert r51139. Fixes incorrect reading of all REG_MULTI_SZ values
See issue #6295 for more details.

svn path=/trunk/; revision=52149
2011-06-08 15:37:15 +00:00
Amine Khaldi
83af0a00e0 [CMAKE]
* Fix reactos.cab creation.

svn path=/trunk/; revision=52148
2011-06-08 13:58:33 +00:00
Timo Kreuzer
8d5976819d [FAT32]
Fix the "portable" version of the fat32 bootsector
Its now mostly identical to the one we currently use, only a few encoding differences

svn path=/trunk/; revision=52147
2011-06-08 12:45:56 +00:00
Timo Kreuzer
af201a5b6a [OBJ2BIN]
- Fix relocation for gas build objetcs
- Protect from buffer overwrite

svn path=/trunk/; revision=52146
2011-06-08 12:42:04 +00:00
Timo Kreuzer
fbbc07eda8 [CMAKE]
- Export obj2bin on MSVC builds
- Move CreateBootSectorTarget into compiler specific files
- Add _base_address parameter to CreateBootSectorTarget (neccessary for obj2bin)
- Implement CreateBootSectorTarget for msvc
- Add ML compatible fat32 bootsector (untested)

svn path=/trunk/; revision=52143
2011-06-07 23:22:38 +00:00
Timo Kreuzer
1ea0675e6b Fix build
svn path=/trunk/; revision=52142
2011-06-07 22:54:43 +00:00
Timo Kreuzer
96cf66ac35 [OBJ2BIN]
- Implement coff relocation

svn path=/trunk/; revision=52141
2011-06-07 22:45:56 +00:00
Rafal Harabien
26a96b762b [WIN32K]
- Ops, remove DbgBreakPoint

svn path=/trunk/; revision=52140
2011-06-07 20:52:09 +00:00
Rafal Harabien
d2319845e3 - Silence unwanted debug messages added in r52136
svn path=/trunk/; revision=52139
2011-06-07 20:46:32 +00:00
Timo Kreuzer
d1e3dc84fc [OBJ2BIN]
- Fix warnings

svn path=/trunk/; revision=52137
2011-06-07 20:16:52 +00:00
Rafal Harabien
cc329d2fe9 - Add ShowingCursor counter and CursorObject to message queue and use them when moving mouse. They are not globally in Windows.
svn path=/trunk/; revision=52136
2011-06-07 20:12:56 +00:00
Rafal Harabien
a1560e1c82 [WIN32K]
- Check if window object still exist in proper place
- Send WM_MOUSEMOVE message if mouse is over appearing window

svn path=/trunk/; revision=52135
2011-06-07 20:09:04 +00:00
Timo Kreuzer
7ae4309300 [NTOSKRNL]
Revert r51748 by popular demand

svn path=/trunk/; revision=52134
2011-06-07 19:50:01 +00:00
Timo Kreuzer
fcff3cbf18 [OBJ2BIN]
- Add new tool obj2bin, that converts a coff object file into a raw binary file
- Move pe/coff types into a common header file pecoff.h

svn path=/trunk/; revision=52133
2011-06-07 19:29:09 +00:00
Timo Kreuzer
0705ceae3e [NTOSKRNL/USERINIT/WIN32K]
Implement support for SafeMode boot
Patch by Adam Kachwalla (geekdundee at gmail dot com)

See issue #6275 for more details.

svn path=/trunk/; revision=52132
2011-06-07 16:42:43 +00:00
Amine Khaldi
a5bccb23d5 [CMAKE]
* Temporarily disable PCH support, as it breaks build for windows users with ccache (most importantly our windows buildbot).

svn path=/trunk/; revision=52131
2011-06-07 15:38:10 +00:00
Timo Kreuzer
ba527343d6 [ASM]
Fix amd64 compilation of some code

svn path=/trunk/; revision=52130
2011-06-07 14:21:46 +00:00
Timo Kreuzer
ca01ae5c4a [SPEC2DEF]
Fix another typo. Should fix cmake build


svn path=/trunk/; revision=52129
2011-06-07 14:19:17 +00:00
Timo Kreuzer
639f5ac23b [HAL]
Use KeMemoryBarrierWithoutFence instead of _ReadWriteBarrier

svn path=/trunk/; revision=52128
2011-06-07 09:49:23 +00:00
Timo Kreuzer
f26fd84197 [NDK]
- MMPTE is 64 bits on amd64, so make the Long field a ULONG_PTR

svn path=/trunk/; revision=52127
2011-06-07 09:31:39 +00:00
Timo Kreuzer
0dafd4a030 [CRT]
Don't use __set_errno in libcntpr

svn path=/trunk/; revision=52126
2011-06-07 09:26:48 +00:00
Cameron Gutman
84a9cedb4e [AFD]
- Fix IoModifyAccess vs IoReadAccess confusion

svn path=/trunk/; revision=52125
2011-06-06 22:55:17 +00:00
Rafal Harabien
35c3a00634 [WIN32K]
- Fix memory leak

svn path=/trunk/; revision=52124
2011-06-06 21:18:53 +00:00
Timo Kreuzer
63ed94244c [NTOSKRNL]
Fix MSVC and amd64 build 

svn path=/trunk/; revision=52121
2011-06-06 19:08:39 +00:00
Timo Kreuzer
116862c485 [PSEH]
Fix amd64 build of pseh

svn path=/trunk/; revision=52120
2011-06-06 19:03:53 +00:00
Timo Kreuzer
618606f8c5 [CRT]
Fix amd64 build of build of chkstk

svn path=/trunk/; revision=52119
2011-06-06 19:01:26 +00:00
Timo Kreuzer
db1f509d7a [NTOSKRNL]
Remove useless casts to volatile ULONG. It doesn't make sense to cast something to volatile, after the pointer is already dereferenced. But we don't need this here anyway.

svn path=/trunk/; revision=52118
2011-06-06 17:50:05 +00:00
Pierre Schweitzer
15b10b556d [NTOSKRNL]
Fixes to r52065:
- In IopInterlockedDecrementUlong() and IopInterlockedIncrementUlong(), cast received value to volatile before de/incrementing it so ensure strict ordering with spin locks acquisition.
This was brought to you by Alex Ionescu.

svn path=/trunk/; revision=52117
2011-06-06 17:03:45 +00:00
Cameron Gutman
5d0bb55dde [SPEC2DEF]
- Fix a typo

svn path=/trunk/; revision=52116
2011-06-06 16:26:46 +00:00
Amine Khaldi
377dc192bb [CMAKE]
* Fix several modules to compile with the recent gcc versions.
* ReactOS now compiles with mingw-w64 gcc 4.6.0 and boots to shell.
* Dedicated to dreimer.

svn path=/trunk/; revision=52114
2011-06-06 11:44:58 +00:00
Amine Khaldi
637da7e860 [SYSSETUP]
* Make the lengthy strings compatible with the recent gcc preprocessor.

svn path=/trunk/; revision=52113
2011-06-06 11:41:54 +00:00
Amine Khaldi
79da86e5cb [SHELL32]
* Make the lengthy strings compatible with the recent gcc preprocessor.

svn path=/trunk/; revision=52112
2011-06-06 11:40:39 +00:00
Amine Khaldi
864fd70bcc [CRT/STARTUP]
* Sync startup code to recent mingw-w64. RosBE 2.0 here we come !

svn path=/trunk/; revision=52111
2011-06-06 10:01:14 +00:00
Timo Kreuzer
e54b5f0d2e [SPEC2DEF]
- Fix build of importlibraries on MSVC / amd64

svn path=/trunk/; revision=52110
2011-06-06 09:58:58 +00:00
Cameron Gutman
83ce4c7d6c [WININET_WINETEST]
- Update to wine 1.3.21

svn path=/trunk/; revision=52109
2011-06-05 23:17:36 +00:00
Cameron Gutman
f477c9818f - Add forgotten language files
svn path=/trunk/; revision=52108
2011-06-05 23:13:47 +00:00
Cameron Gutman
7cfff50f9a [WININET]
- Sync to wine 1.3.21
[PSDK]
- Update headers from sync

svn path=/trunk/; revision=52107
2011-06-05 23:11:41 +00:00
Cameron Gutman
9616b43abc [WINHTTP_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52106
2011-06-05 21:41:14 +00:00
Cameron Gutman
d7abc4fbf1 [WINHTTP]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52105
2011-06-05 21:39:34 +00:00
Cameron Gutman
e909d0b7db [URLMON_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52104
2011-06-05 21:35:31 +00:00
Cameron Gutman
1828ed9d94 [URLMON]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52103
2011-06-05 21:29:41 +00:00
Amine Khaldi
debda4e307 [CMAKE]
* Use our oldnames library instead of libcoldname.

svn path=/trunk/; revision=52102
2011-06-05 21:24:00 +00:00
Amine Khaldi
c5cda767c7 [CMAKE]
* Temporarily add libcoldname.a

svn path=/trunk/; revision=52101
2011-06-05 21:04:31 +00:00
Amine Khaldi
09284f5d66 [CRT/INTRINSICS]
Timo Kreuzer:
* Change inline assembly constraint from "r" to "q". "r" means any kind of register, including *si and *di, these cannot be used for 8bit operations on x86, only x64 has sil, dil registers. But gcc is stupid and doesn't get that if we don't tell it explicitly, by using "q", which will only allow a, b, c, d registers. Fixes an assembler error messages that can occur under certain circumstances.

svn path=/trunk/; revision=52100
2011-06-05 20:59:09 +00:00
Amine Khaldi
b6d8950a07 [CMAKE]
* chkstk is already part of msvcrtex. Just update it.

svn path=/trunk/; revision=52099
2011-06-05 20:57:13 +00:00
Sir Richard
16bffdd5f9 [FREELDR]: Some ARM architectures do not necessarily have CS0_BASE at 0x00000000, for example, most Ti OMAP Platforms have DDR at 0x80000000. The current FreeLDR algorithms would build FreeLDR "page entries" for every page from 0 to 0x7FFF0000 and mark it as unusable, then build the actual valid entries from 0x80000000 -> end of RAM, thus resulting in large memory consumption (and in the bloat of the PFN database later once NTOS loads) and boot time. Therefore, the algorithm is changed to start the PFN database at the lowest valid RAM page described by the Firemware descriptors, and entries therefore will be offset. This means a 128MB embedded system no longer appears to have 2048+128MB of RAM worth of PFN entries.
NOTE: Windows does not do this, opting instead to force manufacturers/use pull-up resistors/reconfigure the ARM Bus to map RAM at 0x00000000. For wider portability, I believe it makes more sense to simply do this "trick" in the boot loader.

svn path=/trunk/; revision=52098
2011-06-05 20:48:34 +00:00