Commit graph

47843 commits

Author SHA1 Message Date
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
Eric Kohl 3305cfabfb [ADVAPI32]
Fix QueryServiceStatusEx.

svn path=/trunk/; revision=53270
2011-08-16 19:16:16 +00:00
Amine Khaldi 921b0cfa4d [LWIP]
* Add missing dependency on bugcodes.

svn path=/trunk/; revision=53269
2011-08-16 18:16:23 +00:00
Jérôme Gardou 5ed6d7f55c [RPCRT4]
- reduce difference with WINE : use their implementation of RpcMgmtStopServerListening

svn path=/trunk/; revision=53268
2011-08-15 21:45:12 +00:00
Jérôme Gardou 3d69d4ecf6 [EVENTLOG]
- Stop listening to RPC messages when receiving SERVICE_CONTROL_STOP

svn path=/trunk/; revision=53267
2011-08-15 20:55:07 +00:00
Amine Khaldi e0cbe302ee * Include NDK headers on-demand.
svn path=/trunk/; revision=53265
2011-08-15 17:12:19 +00:00
Amine Khaldi 2583d5f4fb [HALACPI]
* Add to build. Dedicated to Cameron.
[SPEC2DEF]
* Add an option to set the name of the output def file.

svn path=/trunk/; revision=53264
2011-08-15 15:36:25 +00:00
Cameron Gutman 36b3277b89 [NTOSKRNL]
- Fix a bug in IopCreateResourceListFromRequirements which was triggering a sanity ASSERT because it forgot to skip conflicting entries

svn path=/trunk/; revision=53261
2011-08-15 08:29:22 +00:00
Cameron Gutman 6d2566752f [ACPI]
- Don't assume that acpi_evaluate_reference will always complete successfully

svn path=/trunk/; revision=53260
2011-08-15 07:46:02 +00:00
Cameron Gutman ce0491a5c3 - Revert some unintended debugging changes
svn path=/trunk/; revision=53259
2011-08-15 07:36:58 +00:00
Cameron Gutman 96b11c7165 [ACPI]
- Fix a NULL free bug

svn path=/trunk/; revision=53258
2011-08-15 07:35:04 +00:00
Cameron Gutman bf59a88887 [USETUP]
- Autodetect ACPI like we autodetect a multiprocessor configuration
- This will make the ACPI HAL the default on ACPI-compliant machines while the standard HAL will continue to be the default on older machines
- Please file bugs for any issues encountered when running in ACPI mode and assign them to me (I think it's very important to have working ACPI for 0.4.0 so I'd really like to get everything fixed now)
[TXTSETUP.SIF]
- Add a MP configuration for ACPI HAL
- Slightly modify the names of each HAL configuration

svn path=/trunk/; revision=53257
2011-08-15 06:27:23 +00:00
Cameron Gutman 5b64b837c1 [TXTSETUP.SIF]
- Add an option to install the ACPI HAL
- Feel free to try it out (you might be surprised)

svn path=/trunk/; revision=53256
2011-08-15 05:45:16 +00:00
Cameron Gutman a7c264087d [NTOSKRNL]
- Hack around a strange registry-related bug (we created the whole registry path previously but it won't let us open it without the correct volatile option) to fix devices enumerated via IoReportDetectedDevice

svn path=/trunk/; revision=53255
2011-08-15 05:43:16 +00:00
Cameron Gutman bf5c13ed02 [INF]
- Add hal.inf

svn path=/trunk/; revision=53254
2011-08-15 05:39:53 +00:00
Cameron Gutman ee731ff6d9 [NTOSKRNL]
- Also create the instance key when we create a new device object

svn path=/trunk/; revision=53253
2011-08-15 05:03:53 +00:00
Cameron Gutman 4f39606d60 [HAL]
- Also report the *PNP style IDs
- Don't hang when a power IRP is received

svn path=/trunk/; revision=53252
2011-08-15 04:07:40 +00:00
Cameron Gutman f23e722950 [HAL]
- Invalidate device relations so the child devices get enumerated

svn path=/trunk/; revision=53251
2011-08-15 03:44:10 +00:00
Cameron Gutman 3efa379202 [HAL]
- Fix string length calculation

svn path=/trunk/; revision=53250
2011-08-15 03:20:17 +00:00
Cameron Gutman a92715a798 [NTOSKRNL]
- Rewrite IopIsAcpiComputer (and rename to IopIsFirmwareMapperDisabled) to eliminate the need for the ENABLE_ACPI define
- IopIsFirmwareMapperDisabled now reads the registry entry that HAL sets to indicate that the firmware mapper should be disabled
- Partially rewrite IopUpdateRootKey so it does not interfere with HAL's PnP driver
- ACPI is automatically enabled when the ACPI HAL is loaded and disabled when the standard HAL is loaded

svn path=/trunk/; revision=53249
2011-08-15 02:15:18 +00:00
Cameron Gutman 6da6061048 [HAL]
- Fix a bug writing the DisableFirmwareMapper entry

svn path=/trunk/; revision=53248
2011-08-15 01:55:32 +00:00
Cameron Gutman 0819e297e7 [HALACPI]
- Fix several bugs involving garbage data in a PHYSICAL_ADDRESS struct

svn path=/trunk/; revision=53247
2011-08-15 01:19:20 +00:00
Cameron Gutman 21406f7ff3 [PCI]
- Don't report bogus interrupt resources

svn path=/trunk/; revision=53246
2011-08-15 00:28:33 +00:00
Cameron Gutman 10a5a5ac40 [NTOSKRNL]
- Add a debug print when AddDevice fails
- Fix IopStopDevice
- Fix a typo
- Reduce code duplication

svn path=/trunk/; revision=53245
2011-08-15 00:17:42 +00:00
Cameron Gutman 34a7661185 [HAL]
- Fix incorrect modification of device object flags

svn path=/trunk/; revision=53244
2011-08-15 00:08:47 +00:00
Jérôme Gardou 9512185005 [ROSSYM_NEW]
- add missing debug.h include

svn path=/trunk/; revision=53243
2011-08-14 21:39:37 +00:00
Jérôme Gardou 818d33cbe6 [ROSSYM_NEW]
- including debug.h once is enough
This time for real, sorry.

svn path=/trunk/; revision=53242
2011-08-14 21:25:25 +00:00
Jérôme Gardou 1ff79eeb3a [ROSSYM_NEW]
- including debug.h once is enough

svn path=/trunk/; revision=53241
2011-08-14 21:20:07 +00:00
Jérôme Gardou 7b68c5658a [ROSSYM_NEW]
- please, do not include debug.h from precompiled header :-/

svn path=/trunk/; revision=53240
2011-08-14 21:17:14 +00:00
Jérôme Gardou b3a155a9d9 [CMAKE]
- get back to DllMAinCRTStartup entry point

svn path=/trunk/; revision=53239
2011-08-14 20:34:13 +00:00
Jérôme Gardou 27329d3e73 [UNICOWS]
- doesn't have an entry point

svn path=/trunk/; revision=53237
2011-08-14 20:01:20 +00:00
Amine Khaldi 6b69d04d59 [ROSSYM_NEW]
* Add a PCH.

svn path=/trunk/; revision=53236
2011-08-14 18:12:05 +00:00
Amine Khaldi e3a1ac4593 * Include NDK headers on-demand.
svn path=/trunk/; revision=53235
2011-08-14 17:31:30 +00:00
Amine Khaldi 0c5dee7f52 [SMDLL]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53234
2011-08-14 17:17:02 +00:00
Amine Khaldi b27131c180 [SAMLIB]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53233
2011-08-14 16:59:43 +00:00
Cameron Gutman 53e9ff45bf [NTOSKRNL]
- Fix NULL termination of strings in IoGetDeviceProperty
- Fixes garbage displayed in the Enumerator field of the device manager property page

svn path=/trunk/; revision=53232
2011-08-14 14:44:34 +00:00
Amine Khaldi 704a9a3f49 * Include NDK headers on-demand.
svn path=/trunk/; revision=53231
2011-08-14 12:59:05 +00:00
Amine Khaldi fe829a3587 [AUTOCHK][CMD][TASKMGR]
* Exclude some indirectly included headers.

svn path=/trunk/; revision=53230
2011-08-14 12:56:59 +00:00
Amine Khaldi 028428f2d4 [GDI32]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53229
2011-08-14 12:32:15 +00:00
Amine Khaldi c61fe8342b [DHCPCSVC]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53228
2011-08-14 12:06:23 +00:00
Amine Khaldi a923266533 [DBGHELP]
* Reduce rosstubs.c dependency to nothing but the PCH.

svn path=/trunk/; revision=53227
2011-08-14 11:48:00 +00:00
Eric Kohl b80c7bfe5c [ADVAPI32]
Fix indentation. No code change.

svn path=/trunk/; revision=53226
2011-08-14 11:41:28 +00:00
Amine Khaldi fb0e9ef233 [ADVAPI32]
* Use consistent debugging macros (Wine's).
* Include NDK headers on-demand.
* Improve the PCH.

svn path=/trunk/; revision=53225
2011-08-14 11:31:23 +00:00
Eric Kohl 0914efaa9a [SERVICES]
Fix the GENERIC_ALL access rights mapping for service handles.

svn path=/trunk/; revision=53220
2011-08-14 08:54:01 +00:00
Amine Khaldi 12af7c5f1f [AUTOCHK][CMD][TASKMGR]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53218
2011-08-13 23:21:06 +00:00
Amine Khaldi 65e2999b86 [REGEDIT]
* Don't include the whole NDK for just one header.
* This allows us to depend on 49 headers less, and it shrinks the PCH by 2MB.

svn path=/trunk/; revision=53217
2011-08-13 22:06:42 +00:00
Amine Khaldi ac5fecad86 [WS2_32]
* Don't include the whole NDK for just one header.

svn path=/trunk/; revision=53216
2011-08-13 21:39:37 +00:00