Commit graph

47712 commits

Author SHA1 Message Date
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
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