Commit graph

47739 commits

Author SHA1 Message Date
Eric Kohl a02dd46b35 [ADVAPI32]
QueryServiceConfig2A/W: Handle small or null buffer properly.

svn path=/trunk/; revision=53344
2011-08-20 19:08:21 +00:00
Timo Kreuzer 954922d0cd [NTDLL]
- Add exports for RtlInstallFunctionTableCallback and RtlRestoreContext (amd64 only)
[KERNEL32]
- Forward RtlCompareMemory, RtlCopyMemory, RtlDeleteFunctionTable and RtlInstallFunctionTableCallback to ntdll
- Fix build with MSVC amd64

svn path=/trunk/; revision=53343
2011-08-20 19:04:55 +00:00
Timo Kreuzer 7f5e1ecb95 [CRT]
- Add __C_specific_handler stub
- Add aliases for C++ code on amd64 builds
- Fix fmod symbol
- Merge .CRT section into .data on amd64
- remove an old hack

svn path=/trunk/; revision=53342
2011-08-20 17:11:16 +00:00
Timo Kreuzer a69bcd8bff [MSVCRT]
Fix usage of set_entrypoint

svn path=/trunk/; revision=53341
2011-08-20 17:00:31 +00:00
Timo Kreuzer 8bc82e23e6 [PSDK] Simplify definition for YieldProcessor and add DbgRaiseAssertion for amd64 in winnt.h
[ASM] Fix some stuff for amd64

svn path=/trunk/; revision=53340
2011-08-20 15:53:56 +00:00
Timo Kreuzer ea4dc61d38 [WIN32K]
Fix amd64 build

svn path=/trunk/; revision=53338
2011-08-20 12:31:37 +00:00
Timo Kreuzer d34a623b35 [CMAKE]
- handle stdcall decoration in MSVC set_entrypoint

svn path=/trunk/; revision=53337
2011-08-20 12:29:51 +00:00
Timo Kreuzer 1810920919 [CRT]
guard some inline functions from being used in certain cases

svn path=/trunk/; revision=53335
2011-08-20 11:27:49 +00:00
Timo Kreuzer 821e46df48 [NTOSKRNL]
Fix amd64 build and some warnings

svn path=/trunk/; revision=53334
2011-08-20 10:41:44 +00:00
Timo Kreuzer 1490c31014 [ASM]
- prefix labels only on x86
- improve syscall stub code

svn path=/trunk/; revision=53333
2011-08-20 10:39:28 +00:00
Cameron Gutman 58972d8a1f [HAL]
- Debugging changes

svn path=/trunk/; revision=53332
2011-08-20 01:47:25 +00:00
Cameron Gutman 2399611baf - Enable PnP debugging
svn path=/trunk/; revision=53331
2011-08-20 01:32:41 +00:00
Cameron Gutman 5ead645eb9 [HAL]
- Hey Arch, don't combine code for 2 different length calculation algorithms into 1 broken mess

svn path=/trunk/; revision=53330
2011-08-19 23:29:21 +00:00
Cameron Gutman b95c8dcec8 [HAL]
- Add (and fix) more validation and debugging

svn path=/trunk/; revision=53329
2011-08-19 23:11:03 +00:00
Cameron Gutman d0de510428 [HAL]
- Fix the length calculation for the resource requirements list

svn path=/trunk/; revision=53328
2011-08-19 22:00:48 +00:00
Aleksey Bragin 2cbe366a65 [NTDLL/LDR]
- Fix acquiring image path from process parameters block (the if condition was inverted so that normalization didn't occur when it should).
- Reenable the image options initialization code.

svn path=/trunk/; revision=53327
2011-08-19 21:36:16 +00:00
Timo Kreuzer a95d8d2213 [RTL]
Hack around lds inability to detect used functions, when they are exported.

svn path=/trunk/; revision=53326
2011-08-19 21:14:11 +00:00
Cameron Gutman e39c07a7a2 [HAL]
- Simplify device extension setup
- Allocate memory for existing PDOs in the device relations struct

svn path=/trunk/; revision=53325
2011-08-19 20:56:39 +00:00
Timo Kreuzer 8f165f8f05 [RTL]
- Fix this rbuild thingie


svn path=/trunk/; revision=53324
2011-08-19 20:55:54 +00:00
Cameron Gutman 5693ce9637 - Enable debug prints temporarily in an attempt to help diagnose the ACPI issues
svn path=/trunk/; revision=53323
2011-08-19 20:01:32 +00:00
Timo Kreuzer 3a2698f9c8 [RTL]
- Rename memgen.c to byteswap.c and merge with the implementations from largeint.c, that were using intrinsics
- Fix amd64 build

svn path=/trunk/; revision=53321
2011-08-19 18:39:47 +00:00
Timo Kreuzer c952a3638e [CRT]
- Remove duplicated functions
- Fix MSVC amd64 build
- cleanup the cmake file a little
- creadit wine for their code

svn path=/trunk/; revision=53320
2011-08-19 18:10:17 +00:00
Aleksey Bragin a5d2894b75 - Unbreak trunk for now. Proper fix will come shortly.
svn path=/trunk/; revision=53316
2011-08-19 15:32:07 +00:00
Timo Kreuzer 6b166d2a44 [INTRIN]
- Use fixed inlined version of __invlpg only on x86

svn path=/trunk/; revision=53314
2011-08-19 15:00:52 +00:00
Cameron Gutman 8d7a669f59 [PNPMGR]
- Fix multiple REG_MULTI_SZ termination issues
- HardwareID is a REG_MULTI_SZ entry not REG_SZ

svn path=/trunk/; revision=53312
2011-08-19 03:56:28 +00:00
Aleksey Bragin 1229fb9469 [NTDLL/LDR]
- Initialize image-specific options.
- Close options key if it was opened in LdrpInitializeProcess().

svn path=/trunk/; revision=53311
2011-08-18 22:06:27 +00:00
Cameron Gutman 64122c317a - Revert r53305 because Windows unprotects pages this way
svn path=/trunk/; revision=53306
2011-08-18 19:50:19 +00:00
Cameron Gutman 3b6ff19841 [NTOSKRNL]
- Specify a valid number of pages to unprotect

svn path=/trunk/; revision=53305
2011-08-18 19:36:40 +00:00
Cameron Gutman 5f13171411 [NTOSKRNL]
- Implement a special case copy-in for IRP_MN_FILTER_RESOURCE_REQUIREMENTS to prevent NULL pointer access in function drivers

svn path=/trunk/; revision=53304
2011-08-18 18:35:03 +00:00
Cameron Gutman 5a658d1d36 - Swap the failure cases
- Missed change from r53301

svn path=/trunk/; revision=53303
2011-08-18 18:13:52 +00:00
Cameron Gutman 4cf82b565f [NTOSKRNL]
- Fix a typo in a remove lock timeout check
- Fixes breaking into kdbg randomly when a caller specifies no timeout on their remove lock

svn path=/trunk/; revision=53302
2011-08-18 18:06:07 +00:00
Cameron Gutman 320ad29ff4 [NTOSKRNL]
- Return an informational success status if the device interface already exists

svn path=/trunk/; revision=53301
2011-08-18 17:32:26 +00:00
Cameron Gutman 1a2aa7bc69 [ACPI]
- Don't try to start an interface that wasn't registered

svn path=/trunk/; revision=53300
2011-08-18 17:13:38 +00:00
Cameron Gutman e1776e956d [NTOSKRNL]
- Handle NULL device relations better

svn path=/trunk/; revision=53292
2011-08-18 00:33:19 +00:00
Cameron Gutman 14345748e5 [NTOSKRNL]
- Print the status returned when an IRP_MN_START_DEVICE request fails

svn path=/trunk/; revision=53291
2011-08-18 00:25:38 +00:00
Cameron Gutman c85915b113 [NTOSKRNL]
- Uncomment a device node traversal check

svn path=/trunk/; revision=53290
2011-08-18 00:04:49 +00:00
Cameron Gutman c477153292 [NTOSKRNL]
- Prevent duplicate processing of device objects when bus relations are invalidated multiple times for the bus PDO

svn path=/trunk/; revision=53289
2011-08-17 23:56:40 +00:00
Amine Khaldi 6bd214137d [CSRSRV]
* Missed this. Sorry.

svn path=/trunk/; revision=53288
2011-08-17 14:29:39 +00:00
Cameron Gutman 19c4bb805c [HAL]
- Don't use a hard-coded constant instead of PAGE_SHIFT

svn path=/trunk/; revision=53287
2011-08-17 14:24:36 +00:00
Amine Khaldi 0991448ca8 [VFATLIB]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53286
2011-08-17 14:06:16 +00:00
Amine Khaldi 2a1f2c1d6c [EXT2LIB]
* Include NDK headers on-demand.
* Set Mke2fs.h as a PCH.

svn path=/trunk/; revision=53285
2011-08-17 14:05:30 +00:00
Amine Khaldi 42b02afa60 * Include NDK headers on-demand.
svn path=/trunk/; revision=53284
2011-08-17 14:04:33 +00:00
Amine Khaldi b73b703255 [DXG]
* Include NDK headers on-demand.
* Set dxg_int.h as a PCH.

svn path=/trunk/; revision=53283
2011-08-17 14:01:29 +00:00
Amine Khaldi 63cc65c2d7 [USETUP]
* Include NDK headers on-demand.
* Set usetup.h as a PCH.

svn path=/trunk/; revision=53282
2011-08-17 13:59:47 +00:00
Cameron Gutman 2d20935ffb [ACPI]
- OS layer fixes
- Use our cache implementation

svn path=/trunk/; revision=53277
2011-08-17 07:23:55 +00:00
Cameron Gutman ebcc8d5935 - Fix build
svn path=/trunk/; revision=53276
2011-08-17 06:28:14 +00:00
Cameron Gutman 3c5d660a3d - Free memory using a valid tag
- Don't use a hardcoded constant for pointer size
- Don't access invalid memory when an SCI is absent (fixes ASSERT(Descriptor->u.Interrupt.MinimumVector == Descriptor->u.Interrupt.MaximumVector) failure)
- Remove unreachable code

svn path=/trunk/; revision=53275
2011-08-17 05:55:43 +00:00
Cameron Gutman 3d143c0ab0 - Partially revert r53272 (I forgot that DEVICE_RELATIONS stores a pointer array)
svn path=/trunk/; revision=53274
2011-08-17 05:51:21 +00:00
Cameron Gutman 85850fc32b [ACPI]
- Fix massive memory corruption during FDO device relations handling

svn path=/trunk/; revision=53272
2011-08-16 20:48:18 +00:00
Jérôme Gardou fd460fd4a1 [RPCRT4]
- do not wait for other threads in DLL_PROCESS_DETACH
- fix handle leak
- remove debug code

svn path=/trunk/; revision=53271
2011-08-16 20:00:18 +00:00