Commit graph

47749 commits

Author SHA1 Message Date
Giannis Adamopoulos 297cb8918d [win32k]
- Remove some unneeded and misleading debug prints when parsing debug channels
- Switch NtUser to the new debug system 

svn path=/trunk/; revision=53354
2011-08-21 12:38:52 +00:00
Cameron Gutman 68612f0ea5 - Enable some more prints in ACPI
svn path=/trunk/; revision=53353
2011-08-21 03:30:04 +00:00
Cameron Gutman 2e792d70fe - Disable the PnP manager debugging again
svn path=/trunk/; revision=53352
2011-08-21 02:54:29 +00:00
Cameron Gutman 607064163c [PO]
- Don't mess with the device interface string
- Fixes receiving power button events
- The "ACPI Shutdown" option in the VirtualBox menu works now

svn path=/trunk/; revision=53351
2011-08-21 02:46:00 +00:00
Cameron Gutman ea045872b7 [PNPMGR]
- Fix a major logic bug in device tree traversal functions

svn path=/trunk/; revision=53350
2011-08-21 02:40:58 +00:00
Cameron Gutman 6272d3ffc8 [PCI]
- Fix handling of IRP_MN_QUERY_DEVICE_TEXT
[PNPROOT]
- Fix registry query and returning of device description
[ACPI]
- Fix handling of IRP_MN_QUERY_DEVICE_TEXT

svn path=/trunk/; revision=53349
2011-08-21 00:27:58 +00:00
Timo Kreuzer 50157cc4d2 [VFATLIB]
Fix completely non-standard, broken and retarded definition of GET_UNALIGNED_W for 64 bit architectures
The function is supposed to read an unaligned little endian USHORT value. The old version copied the 2 bytes with memcpy to an aligned stack variable and then (bug bug) read the unaligned value directly (discarding the result of the previous operation) and passed it to bswap if neccessary.
The new function simply reads the 2 bytes and combines them using << and |.

svn path=/trunk/; revision=53348
2011-08-20 21:20:33 +00:00
Timo Kreuzer 01129529a8 [MSVCRT]
Add 64bit exports of operator new and operator delete

svn path=/trunk/; revision=53347
2011-08-20 20:25:18 +00:00
Timo Kreuzer 439126ffd6 [CRT]
Make .CRT sections always read only.

svn path=/trunk/; revision=53346
2011-08-20 20:22:04 +00:00
Timo Kreuzer 088f7f2c4f [RTL]
Fix a typo

svn path=/trunk/; revision=53345
2011-08-20 19:46:51 +00:00
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