Commit Graph

50857 Commits

Author SHA1 Message Date
Timo Kreuzer
1aa685de30 [DDK/XDK]
Fix non-x86 definition of KTIMER

svn path=/trunk/; revision=56287
2012-03-31 10:55:43 +00:00
Amine Khaldi
c3018a4ee1 [CMAKE]
* Recognize the extra client/server files in add_rpc_files() that Mr. midl generates regardless of the passed flags, and mark them as dummy files so that they don't break the msvc parallel build.

svn path=/trunk/; revision=56286
2012-03-31 10:21:18 +00:00
Cameron Gutman
1c91524741 [NDIS]
- Don't rely on the current lookahead size for loopback packets. Instead, indicate the entire packet at once.
- The current lookahead size doesn't matter when indicating full packets. The packets are indicated in their entirety regardless of the lookahead size.
- The Parallels Tools NIC driver now works on ROS. Dedicated to Alex Ionescu.

svn path=/trunk/; revision=56285
2012-03-31 05:55:33 +00:00
Cameron Gutman
7b28343c16 [NTOSKRNL]
- The legacy ROS Mm uses structures known as page ops to track operations on a page such as page out, page in, and access fault. The idea is that each operation is forced to wait until the page has completed all other pending operations to start its work. The problem was that the page op's completion event was a NotificationEvent instead of a SynchronizationEvent. This caused all operations to proceed at the same time if they were waiting on a single page op to begin. Now that is fixed and page ops proceed one after another as intended. This bug has been around since r9077.
- When waiting for sections to be unmapped or destroyed, the Mm waits for pending page operations to complete. The problem is that MmUnmapViewOfSection had a critical bug in which it forgot to dereference the page op it just retrieved. This caused zombie page ops to be stuck to that particular address if there were any pending operations at the time of the MmUnmapViewOfSection call. As a result, section destruction to bug check due to the hung page op after waiting 10 seconds for the operation to complete. This bug has been around since r18849.
- Due to the combined effects of the above bugs, sometimes unmapping or freeing a section would hang the system or bug check the system (remember the "Failed to wait for page op" messages?). This was evident in smiley_'s theme work when many applications calling FreeLibrary at the same time would trigger this bug. There are likely many more cases that triggered this series of events which either could never be replicated or simply could not be explained.

svn path=/trunk/; revision=56284
2012-03-30 18:09:16 +00:00
Timo Kreuzer
b8a853baee [CMAKE]
- include wincodec_i.c into uuid on MSVC builds
- Improve midl support

svn path=/trunk/; revision=56283
2012-03-30 15:36:19 +00:00
Amine Khaldi
f9db30ea20 [CMAKE]
* Make sure to pass the full path of the idl file in generate_idl_iids().

svn path=/trunk/; revision=56282
2012-03-29 23:08:39 +00:00
Timo Kreuzer
cf7dd9d21a [CMAKE]
Fix generation of _i.c iid files with midl. Simplify code, use better naming

svn path=/trunk/; revision=56281
2012-03-29 18:48:12 +00:00
Timo Kreuzer
fa6ae5c35c [CMAKE]
Attempt to fix a concurrency issue with midl. Regarding to the MSVC builder output, midl failed when compiling wine/itss.h due to a concurrent access to itss_i.c. Although the command to generate itss.h doesn't seem to geenrate itss_i.c (at least not on my wdk buld), I added a switch to rename that file.

svn path=/trunk/; revision=56280
2012-03-29 17:40:36 +00:00
Timo Kreuzer
e2ff591122 [CMAKE]
Cleanup *idl-support.cmake files a bit more

svn path=/trunk/; revision=56279
2012-03-29 15:57:55 +00:00
Timo Kreuzer
4c39ca2179 [CMAKE]
Move common macros from *idl-support.cmake to CMakeMacros.cmake, remove obsolete definitions

svn path=/trunk/; revision=56278
2012-03-29 14:49:48 +00:00
Timo Kreuzer
21514a55e1 [CMAKE]
Seperate midl and widl files (currently files are simply copied)

svn path=/trunk/; revision=56277
2012-03-29 14:45:46 +00:00
Cameron Gutman
136ebc0060 [INF]
- Change the device description for bluetooth devices

svn path=/trunk/; revision=56276
2012-03-29 14:33:42 +00:00
Amine Khaldi
bf85e78307 [CMAKE]
* Pass /no_def_idir to midl, to search only in the include folders that we specify (through /I).

svn path=/trunk/; revision=56275
2012-03-29 13:24:26 +00:00
Timo Kreuzer
fe26e5872f [CMAKE]
Try to fix some midl dependency and concurrency issues

svn path=/trunk/; revision=56274
2012-03-29 13:07:08 +00:00
Amine Khaldi
aabb4465a0 [FORMATTING]
* Addendum to r56262.

svn path=/trunk/; revision=56273
2012-03-29 12:14:58 +00:00
Timo Kreuzer
4d61c55638 [NTOSKRNL]
"while (TRUE);" is probably the worst way of handling critical errors / unhandled failure pathes! Replace that with ASSERT(FALSE);

svn path=/trunk/; revision=56272
2012-03-29 10:14:47 +00:00
Timo Kreuzer
af3c87e298 [NTOSKRNL/AMD64]
- Only initialize the nonpged pool after the pfn database was initialized
- "Fix" IRQL for the initialization of non paged pool

svn path=/trunk/; revision=56271
2012-03-29 10:07:25 +00:00
Timo Kreuzer
e322927d5a [FREELDR]
- Implement HwIdle() function to put cpu in idle mode, when waiting for keyboard input.
- Patch by Carlo Bramini (carlo dot bramix at libero.it)
See issue #6453 for more details.

svn path=/trunk/; revision=56270
2012-03-29 08:25:20 +00:00
Art Yerkes
644889076d [NTOSKRNL]
Small edit.

svn path=/trunk/; revision=56269
2012-03-29 06:04:34 +00:00
Art Yerkes
a09c32720c [NEWCC]
Add some prose describing this functionality.

Dedicated to timo, chongo, goto and ??=

Just formatting and comments.

svn path=/trunk/; revision=56268
2012-03-29 06:01:52 +00:00
Art Yerkes
8a3e9c37be [NTOSKRKNL]
Write a lot of general prose about the operation of the Mm parts of NewCC.

Dedicate to timo and chongo.

No code changes.

svn path=/trunk/; revision=56267
2012-03-29 04:43:44 +00:00
Olaf Siejka
b993c4ba6f [TRANSLATION]
- romanian rapps translation update (including INF update) by Stefan Fulea (bug no. 6878);
- italian translation update by Paolo Devoti (bug no. 6980);


svn path=/trunk/; revision=56266
2012-03-28 22:09:00 +00:00
Timo Kreuzer
03f0cf904e [NTOSKRNL]
- ObReferenceObject() does NOT return an NTSTATUS. It returns the new reference count. Remove pointless NT_SUCCESS check
- Enable interrupts in amd54 page fault handler before calling MmAccessFault
- Add missing MmDecommittedPte for amd64

svn path=/trunk/; revision=56265
2012-03-28 21:09:03 +00:00
Timo Kreuzer
3bdad064e3 [NTOSKRNL]
- Make file offsets 64 bit
- Fix lots of MSVC/64 bit warnings

svn path=/trunk/; revision=56264
2012-03-28 19:41:40 +00:00
Timo Kreuzer
549c33f2ff [NDK/NTOSKRNK]
- Finally make EPROCESS::Session  PVOID, as it's supposed to be
- add missing Wow64Process member

svn path=/trunk/; revision=56263
2012-03-28 18:46:30 +00:00
Amine Khaldi
5491e8fbde [FORMATTING]
* Improve indentation, remove trailing spaces, apply a consistent style, adjust to 80 col... No code changes.

svn path=/trunk/; revision=56262
2012-03-28 18:39:21 +00:00
Cameron Gutman
a13075fb0e [VBEMP]
- Promote fatal VESA BIOS errors to Error status

svn path=/trunk/; revision=56261
2012-03-28 13:39:02 +00:00
Timo Kreuzer
efff43afd5 [HAL]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56260
2012-03-28 12:15:54 +00:00
Timo Kreuzer
d8e68c8aff [DBGHELP]
Fix 64 bit compilation. "Should be sent to wine"(tm)

svn path=/trunk/; revision=56259
2012-03-28 11:08:41 +00:00
Timo Kreuzer
00b699d98b [CMD]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56258
2012-03-28 09:50:04 +00:00
Timo Kreuzer
82c185ae72 [NDK]
Don't C_ASSERT some struct sizes on 64 bit builds

svn path=/trunk/; revision=56257
2012-03-28 09:14:27 +00:00
Timo Kreuzer
5910fd1fbe [REGEDIT]
Mmake regedit to save/load settings for: window placement, listview columns size, last opened key, status bar, splitter.

Patch by Grégori Macário Harbs <mysoft64bits at gmail dot com> and Edijs Kolesnikovics <terminedijs at yahoo dot com>

See issue #6920 for more details.

svn path=/trunk/; revision=56256
2012-03-28 08:23:15 +00:00
Timo Kreuzer
e134d9ffca [REGEDIT]
Handle Ctrl-A in address bar.
Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

See issue #5936 for more details.

svn path=/trunk/; revision=56255
2012-03-28 08:06:21 +00:00
Timo Kreuzer
9968addfa4 [DESK.CPL]
Simplify code, patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

svn path=/trunk/; revision=56254
2012-03-28 07:09:53 +00:00
Timo Kreuzer
9a86915b40 [RTL]
Remove pointless ASSERTs, instead set the balance of the new node to balanced, before inserting it.
Dedicated to Alex.

svn path=/trunk/; revision=56253
2012-03-27 21:41:39 +00:00
Timo Kreuzer
5ccd8f3e5c [BROWSEUI]
Make DllInstall export private to silence an MSVC warning

svn path=/trunk/; revision=56252
2012-03-27 20:05:02 +00:00
Timo Kreuzer
2657db262e fx build second try
svn path=/trunk/; revision=56251
2012-03-27 17:41:42 +00:00
Timo Kreuzer
045a6568ce Fix build
svn path=/trunk/; revision=56250
2012-03-27 17:30:51 +00:00
Timo Kreuzer
98a00b314d [RTL]
Add some temp AVL debugging code: In case an AVL table gets unbalanced, dump the table and a backtrace.

svn path=/trunk/; revision=56249
2012-03-27 17:19:53 +00:00
Amine Khaldi
6fcb5fd53c [FBTUSB]
* Properly add fbtusb. This fixes both gcc and msvc builds.

svn path=/trunk/; revision=56248
2012-03-27 16:36:53 +00:00
Timo Kreuzer
5a911e8752 [FREELDR]
- Refactor some multiply used overly complex expressions into human readable variable names
- Output some useful debuginfo when an import could bot be resolved

svn path=/trunk/; revision=56247
2012-03-27 09:47:10 +00:00
Cameron Gutman
a9e1b2d9f5 [INF]
- Add bth.inf
[FBTUSB]
- Add to build and bootcd

svn path=/trunk/; revision=56246
2012-03-27 08:47:46 +00:00
Cameron Gutman
ba5509bc72 [ACPI]
- Fix implementations of AcpiOsWaitSemaphore and AcpiOsAcquireMutex to obey the caller's demands to not block if requested

svn path=/trunk/; revision=56245
2012-03-27 07:23:14 +00:00
Cameron Gutman
d45f75426f [ACPI]
- Fast mutexes must be allocated from non-paged pool

svn path=/trunk/; revision=56244
2012-03-27 07:05:30 +00:00
Cameron Gutman
040caf7377 [ACPI]
- Fix a stupid string comparison mistake that lead to false positives in the duplicate device detection (1 and 10 detected as conflict)

svn path=/trunk/; revision=56243
2012-03-27 06:50:01 +00:00
Cameron Gutman
dc59b8dfc5 [TXTSETUP]
- Add *PNP0A08
[ACPI]
- Handle the PNP0A08 in a couple of missed cases
- Finally, PCI should work on systems that use the new PNP0A08 ID for identifying a PCI Express root bus

svn path=/trunk/; revision=56242
2012-03-27 06:26:38 +00:00
Cameron Gutman
573aa31c4b [NTOSKRNL]
- Set DN_DISABLEABLE if the device can be disabled
[NEWDEV]
- Remove a hack needed because DN_DISABLEABLE was never set

svn path=/trunk/; revision=56241
2012-03-26 23:33:49 +00:00
Cameron Gutman
05abf4495a [NTOSKRNL]
- Flag the device node if it fails post-start
- Remove the device's children when responding to PNP_DEVICE_REMOVED

svn path=/trunk/; revision=56240
2012-03-26 22:57:01 +00:00
Cameron Gutman
31597533ae [ACPI]
- Add translation code for ACPI_RESOURCE_TYPE_FIXED_IO

svn path=/trunk/; revision=56239
2012-03-26 19:34:53 +00:00
Cameron Gutman
c29eccdaba [INF]
- Add PNP0A08 as an alias for the PCI bus (more commonly known as PNP0A03)
- Should fix numerous PCI regressions on various machines since switching to ACPI (and the further regression of breaking boot since VBE is now PnP)

svn path=/trunk/; revision=56238
2012-03-26 18:57:53 +00:00