Commit graph

46737 commits

Author SHA1 Message Date
Jérôme Gardou 11e8c31bdc [NTOSKRNL]
KeGetPreviousMode returns KPROCESSORMODE, which is CCHAR and not UCHAR

svn path=/trunk/; revision=52342
2011-06-18 14:50:59 +00:00
Timo Kreuzer 7aae064929 [ASM]
Use CR, LF and NUL in .ascii macro instead of using .asciz or "\r" "\n", since the latter is not portable

svn path=/trunk/; revision=52341
2011-06-18 14:50:24 +00:00
Jérôme Gardou 66aecb94b7 [RTL]
- do not use RtlpCoalesceFreeBlocks to reinsert a block resulting from a split.
This bad idea was mine, introduced in r51757

svn path=/trunk/; revision=52340
2011-06-18 14:47:51 +00:00
Jérôme Gardou c67195e9d8 [NTOSKRNL]
- don't rely on a boolean being 1 or 0, it's a bad idea (tm)

svn path=/trunk/; revision=52339
2011-06-18 14:45:08 +00:00
Timo Kreuzer 2a2e52bbe8 [FREELDR]
Cleanup the CMakeLists.txt file. Create one shared library containing most files and only compile a few files for both freeldr and setupldr, which reduces build time.
There is only one file, that takes different compile time definitions, but since LD is stupid and cannot bidirectionally link between seperate libraries, we have to add 3 more files to each build.

svn path=/trunk/; revision=52338
2011-06-18 14:37:54 +00:00
Jérôme Gardou 0b46759664 [SHELL32]
- do not include headers that are already in precomp.h
This time with necessary changes

svn path=/trunk/; revision=52337
2011-06-18 14:29:32 +00:00
Matthias Kupfer 54179652bf patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [TRANSLATIONS] convert UKRAINIAN and RUSSIAN localization strings to UTF-8.
- convert files in base, boot and subsystems folders(fontview and logon skipped)
- add Ukrainian localization for subst
- fix filename for Ukrainian resource of dxdiag

svn path=/trunk/; revision=52336
2011-06-18 14:23:43 +00:00
Jérôme Gardou 918e9d79cc wrong change, sorry
svn path=/trunk/; revision=52335
2011-06-18 14:21:55 +00:00
Jérôme Gardou 2fbf2256b4 [SHELL32]
- do not include headers that are already in precomp.h

svn path=/trunk/; revision=52334
2011-06-18 14:20:48 +00:00
Rafal Harabien 1bc5dd7445 [SHELL32]
- Update years in ReactOS about box

svn path=/trunk/; revision=52333
2011-06-18 12:45:20 +00:00
Rafal Harabien a757a65552 [WIN32K]
- Don't clip siblings in co_WinPosSetWindowPos when window has no WS_CLIPSIBLINGS style. Fixes ReactOS about box.
- Commented out line with WS_CLIPCHILDREN support needs more work
- Simplify co_WinPosSetWindowPos a bit

svn path=/trunk/; revision=52332
2011-06-18 12:41:29 +00:00
Timo Kreuzer ab19a2070b [CRT]
- Fix a typo
[DDK/XDK]
Fix declaration of KDEFERRED_ROUTINE
Patch by Thomas Faber

svn path=/trunk/; revision=52331
2011-06-18 12:24:13 +00:00
Timo Kreuzer b6ca5be6b4 [FREELDR]
- Convert Boot*LinuxKernel to new realmode call mechanism
- Remove switch to realmode when multiboot fails
- remove switch_to_prot and switch_to_real completely

svn path=/trunk/; revision=52329
2011-06-18 10:46:06 +00:00
Timo Kreuzer 014e413e00 [ASM]
- Use .586P for 16 bit code to allow privileged instructions, like lidt/lgdt. Found by ThFabba
- Add a 0 byte at the end to make ML fill the file up to the required length

svn path=/trunk/; revision=52327
2011-06-18 09:40:44 +00:00
Timo Kreuzer 5577c61a50 [FEELDR]
- Fix offset in manually encoded lgdt instruction
- improve syntax for ML


svn path=/trunk/; revision=52326
2011-06-18 08:05:35 +00:00
Timo Kreuzer 0e3fe37eaa [FREELDR]
- Instead of using the far jmp when switching to protected mode to go to the entry point, use a relative absolute jmp instruction, manually encoded
- Remove the END from fathelp.inc, that was terminating the code
- fix code for ML

svn path=/trunk/; revision=52325
2011-06-17 23:44:07 +00:00
Timo Kreuzer f19fc81b23 [FREELDR]
- convert mb.S to portable syntax
- remove obsolete reactos_memory_map
- Make use of CR / LF in isoboot.S

svn path=/trunk/; revision=52324
2011-06-17 22:26:11 +00:00
Timo Kreuzer 7752209fdf [ASM]
- Make .asciz macro accept a varaiable number of arguments
- add CR and LF definitions, since MASM doesn't like "\r\n" codes

svn path=/trunk/; revision=52323
2011-06-17 21:57:34 +00:00
Timo Kreuzer d017f0fe2b [FREELDR]
Disable DriveMapMapDrivesInSection on MSVC builds, freeldr works basically without it

svn path=/trunk/; revision=52322
2011-06-17 20:02:37 +00:00
Timo Kreuzer 2f6b794fc4 [CRYPT32]
remove version.rc from the CMakeLists.txt, since its included in crypt32.rc already

svn path=/trunk/; revision=52321
2011-06-17 18:37:44 +00:00
Sir Richard 3c0e77846e Patch by Anton Yarotsky:
[SACDRV]: Implement DriverEntry point which connects to NTOS HeadLess Module (HDL). If HDL enabled through FreeLDR (/EMSPORT), connection should work.
[SACDRV]: Fix typo's.

svn path=/trunk/; revision=52320
2011-06-17 17:21:20 +00:00
Sir Richard 72d1c15806 Patch by Anton Yarotsky:
[NTOSKRNL]: Export HeadlessDispatch.
[NTOSKRNL]: Add more missing definitions to internal Headless header. Alex: Move to NDK?
[NTOSKRNL]: Headless header uses SYSTEM_TIMEOFDAY_INFORMATION, which is only in NDK. So hdl.h needs NDK.

svn path=/trunk/; revision=52319
2011-06-17 17:19:56 +00:00
Timo Kreuzer 4db7b49655 [ALLOCA.H]
Add an MSVC friendly proxy of alloca.h
Fixes MSVC build of dbghelp

svn path=/trunk/; revision=52318
2011-06-17 15:51:00 +00:00
Timo Kreuzer e5e682541c [LIBMPG123]
Fix definition of ALIGN() macro for MSVC. Fixes build.

svn path=/trunk/; revision=52317
2011-06-17 15:35:06 +00:00
Timo Kreuzer 92a2b84a97 [PSEH2_TEST]
Don't compile pseh2 test with MSVC

svn path=/trunk/; revision=52316
2011-06-17 14:13:30 +00:00
Timo Kreuzer 06900a0535 [test.h]
Fix a warning on MSVC

svn path=/trunk/; revision=52315
2011-06-17 14:08:41 +00:00
Timo Kreuzer 8ff6df4108 [QUARTZ_WINETEST]
Link to uuid. Fixes msvc build

svn path=/trunk/; revision=52314
2011-06-17 13:59:21 +00:00
Timo Kreuzer 0b083b85ae [SHDOCVW_WINETEST]
Link to uuid. Fixes build with MSVC

svn path=/trunk/; revision=52312
2011-06-17 13:08:11 +00:00
Sir Richard 08542a70e0 Patch by Anton Yarotsky:
[SACDRV]: Implement memory manager.
[SACDRV]: Define debugging macros.

svn path=/trunk/; revision=52311
2011-06-17 12:54:05 +00:00
Timo Kreuzer 5a372e009b [CRTDLL]
Comment out forwarded exports, where the target exports don't exist. Fixes MSVC build

svn path=/trunk/; revision=52310
2011-06-17 12:47:14 +00:00
Gabriel Ilardi f26c0081fb Revert 51698, problem is in win32k, see bug 6305
svn path=/trunk/; revision=52309
2011-06-17 12:23:50 +00:00
Timo Kreuzer 6efa9f00e1 [FREELDR]
Convert drvmap.S to intel syntax

svn path=/trunk/; revision=52308
2011-06-17 12:04:25 +00:00
Amine Khaldi 08f9d937f5 [CMAKE]
* Skip idndl in msvc build.

svn path=/trunk/; revision=52306
2011-06-17 11:56:40 +00:00
Timo Kreuzer 3b41918ab2 [FREELDR]
Fix build with MSVC

svn path=/trunk/; revision=52305
2011-06-17 11:31:05 +00:00
Sir Richard 3fd38cd98c Patch by Anton Yarotsky:
[SACDRV]: Implement SAC EMS stub driver. Thanks to Aleksey Bragin for MC file.

svn path=/trunk/; revision=52304
2011-06-17 11:04:45 +00:00
Amine Khaldi 42c3b191e3 [RSAENH]
* Don't mark DllRegisterServer and DllUnregisterServer as private, since rsabase forwards to them. Fixes rsabase msvc build.

svn path=/trunk/; revision=52303
2011-06-17 10:59:01 +00:00
Amine Khaldi 7bd8909ced [SFC]
* Add sfc_os import lib target.
* Link sfc to sfc_os.
* Fixes msvc build.

svn path=/trunk/; revision=52302
2011-06-17 10:53:45 +00:00
Amine Khaldi 2e9d7c312f [SMDLL]
* Fix entry point in cmake build. smdll now compile and links with msvc.

svn path=/trunk/; revision=52301
2011-06-17 10:45:21 +00:00
Amine Khaldi ca71aa33f3 [SYSSETUP]
* Fix msvc build.

svn path=/trunk/; revision=52300
2011-06-17 10:31:15 +00:00
Amine Khaldi 7d733524b5 [UNICOWS]
* Link to msvcrt for proper crt imports.
* Fix msvc build.

svn path=/trunk/; revision=52299
2011-06-17 10:20:13 +00:00
Amine Khaldi beac3fb352 [UPDSPAPI]
* Fix exports. Thank you, gcc toolchain, for letting this slip without any problems.
* Brought to you by the msvc toolchain.

svn path=/trunk/; revision=52298
2011-06-17 10:13:15 +00:00
Amine Khaldi d4bc3f2aab [CMAKE]
* Skip dxdiag in msvc builds.

svn path=/trunk/; revision=52297
2011-06-17 09:52:40 +00:00
Amine Khaldi 80771a31cd [OSKITTCP]
* Fix msvc build. The tcpip driver compiles and links with msvc as a result.

svn path=/trunk/; revision=52296
2011-06-17 09:43:02 +00:00
Amine Khaldi 300b9d5ca1 [ROSSYM_NEW]
* Update dummy.c to reflect the recent changes. The kernel compiles and links now with msvc.

svn path=/trunk/; revision=52295
2011-06-17 09:17:10 +00:00
Amine Khaldi 66ce2412f1 [KERNEL32]
* Merge 49379 from the cmake branch. Fixes msvc build.

svn path=/trunk/; revision=52294
2011-06-17 08:57:01 +00:00
Timo Kreuzer cebb902036 [FREELDR]
Fix build with good old rbuild

svn path=/trunk/; revision=52293
2011-06-17 08:49:22 +00:00
Timo Kreuzer 2372dd2207 [FREELDR]
- Use new relmode code for PnpBios stuff

svn path=/trunk/; revision=52292
2011-06-17 08:36:49 +00:00
Timo Kreuzer 285734917e [FREELDR]
convert i386pnp.S to intel sytax

svn path=/trunk/; revision=52291
2011-06-17 07:53:56 +00:00
Cameron Gutman 7c321b081b [NTOSKRNL]
- Revert r52289 (I guess 0 is a valid minor function)
- Add a comment to prevent anyone else from making the same mistake I did

svn path=/trunk/; revision=52290
2011-06-17 01:07:26 +00:00
Cameron Gutman 69f2dd5769 [NTOSKRNL]
- Fix a critical bug in IopDeviceFsIoControl which caused all FSCTL requests sent via NtFsControlFile and ZwFsControlFile to fail

svn path=/trunk/; revision=52289
2011-06-17 00:57:55 +00:00