reactos.git
12 years ago[CSRSRV/CSRSRV2]
Timo Kreuzer [Tue, 3 Apr 2012 15:02:51 +0000 (15:02 +0000)]
[CSRSRV/CSRSRV2]
Hard error parameters are ULONG_PTR, no need to truncate them

svn path=/trunk/; revision=56330

12 years ago{PORTCLS]
Timo Kreuzer [Tue, 3 Apr 2012 14:56:58 +0000 (14:56 +0000)]
{PORTCLS]
forgot this one

svn path=/trunk/; revision=56329

12 years ago{PORTCLS]
Timo Kreuzer [Tue, 3 Apr 2012 14:54:51 +0000 (14:54 +0000)]
{PORTCLS]
Fix more PtrToUlong fun

svn path=/trunk/; revision=56328

12 years ago[LIBUSB]
Cameron Gutman [Tue, 3 Apr 2012 14:52:18 +0000 (14:52 +0000)]
[LIBUSB]
- Fix broken pointer arithmetic

svn path=/trunk/; revision=56327

12 years ago[PORTCLS]
Timo Kreuzer [Tue, 3 Apr 2012 14:43:52 +0000 (14:43 +0000)]
[PORTCLS]
Fix broken "pointer arithmetics"

svn path=/trunk/; revision=56326

12 years ago[KS]
Timo Kreuzer [Tue, 3 Apr 2012 14:31:15 +0000 (14:31 +0000)]
[KS]
Fix misuse of UlongToPtr

svn path=/trunk/; revision=56325

12 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 3 Apr 2012 13:27:45 +0000 (13:27 +0000)]
[NTOSKRNL]
Don't truncate pointers to 32 bits in pushlock code

svn path=/trunk/; revision=56324

12 years ago[WIN32SS]
Amine Khaldi [Mon, 2 Apr 2012 18:44:48 +0000 (18:44 +0000)]
[WIN32SS]
* Compile diblib only when we use it.

svn path=/trunk/; revision=56323

12 years ago[W32KNAPI]
Amine Khaldi [Mon, 2 Apr 2012 18:43:35 +0000 (18:43 +0000)]
[W32KNAPI]
* Adapt to the new subsystem layout.

svn path=/trunk/; revision=56322

12 years ago[CMAKE]
Amine Khaldi [Mon, 2 Apr 2012 15:27:35 +0000 (15:27 +0000)]
[CMAKE]
* CMake automatically handles def files when they're added to the source list, so we don't need to mark it as an external object here.

svn path=/trunk/; revision=56321

12 years ago[GDI32_APITEST]
Amine Khaldi [Mon, 2 Apr 2012 10:52:54 +0000 (10:52 +0000)]
[GDI32_APITEST]
* Addendum to r56319.

svn path=/trunk/; revision=56320

12 years ago[WIN32SS]
Amine Khaldi [Mon, 2 Apr 2012 10:52:36 +0000 (10:52 +0000)]
[WIN32SS]
* Move win32k headers to win32ss/include.

svn path=/trunk/; revision=56319

12 years ago[PSDK/NDK]
Timo Kreuzer [Mon, 2 Apr 2012 08:28:17 +0000 (08:28 +0000)]
[PSDK/NDK]
- Don't include NDK from winnt.h, instead duplicate NtCurrentTeb inline definition between psfuncs.h and winnt.h as it used to be
- remove duplicated _GENERAL_LOOKASIDE_POOL
- Add missing NTKERNELAPI to ObDereferenceObjectDeferDelete

svn path=/trunk/; revision=56318

12 years ago[NTOS]: Add support for unmapping ARM3 sections. Trunk should now be ready for switch...
Sir Richard [Mon, 2 Apr 2012 07:23:49 +0000 (07:23 +0000)]
[NTOS]: Add support for unmapping ARM3 sections. Trunk should now be ready for switching to ARM3 shared-memory, pagefile-backed sections, instead of Ros Mm.

svn path=/trunk/; revision=56317

12 years ago[NTOS]: Correctly handle transition vs free PTEs in MiDecrementShareCount.
Sir Richard [Mon, 2 Apr 2012 06:54:41 +0000 (06:54 +0000)]
[NTOS]: Correctly handle transition vs free PTEs in MiDecrementShareCount.

svn path=/trunk/; revision=56316

12 years ago[XDK/DDK]
Timo Kreuzer [Sun, 1 Apr 2012 22:30:00 +0000 (22:30 +0000)]
[XDK/DDK]
Some fixes for Vista/Win7

svn path=/trunk/; revision=56315

12 years ago[NDK]
Timo Kreuzer [Sun, 1 Apr 2012 22:25:05 +0000 (22:25 +0000)]
[NDK]
A number of fixes for Vista/Win7, now all C_ASSERTs pass

svn path=/trunk/; revision=56314

12 years ago[NDK]
Timo Kreuzer [Sun, 1 Apr 2012 22:19:32 +0000 (22:19 +0000)]
[NDK]
Add structure layout tests for KTHREAD

svn path=/trunk/; revision=56313

12 years ago[USERINIT]
Amine Khaldi [Sun, 1 Apr 2012 22:03:14 +0000 (22:03 +0000)]
[USERINIT]
* Remove an unneeded include.
* Improve the cmake file a bit.

svn path=/trunk/; revision=56312

12 years ago* Reorganize the whole ReactOS codebase into a new layout. Discussing it will only...
Amine Khaldi [Sun, 1 Apr 2012 20:42:43 +0000 (20:42 +0000)]
* Reorganize the whole ReactOS codebase into a new layout. Discussing it will only waste time, so we better have it then talk about it after.
* Put ntoskrnl and ntdll in the same folder, because they both start with nt.
* Place hal next to acpi, they both deal with hardware stuff.
* Move mountmgr next to usb drivers.
* Put the rtl next to the crt, and share as much as possible between the two.
* I'm just kidding, you know, April's fool and all ;)

Here's the real deal:

[WIN32SS]
* And finally, integrate win32k itself into the new file layout. Now the subsystem modules are located close to each other (like gdi32 and ntgdi, or user32 and ntuser).
* Thanks go to the subsystem team for coming up with this nice layout, hopefully this will scale to the whole codebase layout soon.
* Special thanks to Smiley for coming up with this cool idea :)

svn path=/trunk/; revision=56311

12 years ago[WIN32SS]
Amine Khaldi [Sun, 1 Apr 2012 18:37:49 +0000 (18:37 +0000)]
[WIN32SS]
* Move winsrv into win32ss/user/winsrv.

svn path=/trunk/; revision=56310

12 years ago[WIN32SS]
Amine Khaldi [Sun, 1 Apr 2012 18:36:08 +0000 (18:36 +0000)]
[WIN32SS]
* Move win32csr into win32ss/user/win32csr.

svn path=/trunk/; revision=56309

12 years ago[WIN32SS]
Amine Khaldi [Sun, 1 Apr 2012 18:17:07 +0000 (18:17 +0000)]
[WIN32SS]
* Move ReactX modules into win32ss/reactx.

svn path=/trunk/; revision=56308

12 years ago[WIN32SS]
Amine Khaldi [Sun, 1 Apr 2012 17:57:24 +0000 (17:57 +0000)]
[WIN32SS]
* Move the drivers into win32ss/drivers.

svn path=/trunk/; revision=56307

12 years ago[USER32_WSPRINTF]
Amine Khaldi [Sun, 1 Apr 2012 17:32:55 +0000 (17:32 +0000)]
[USER32_WSPRINTF]
* Add a missing dependency on psdk, revealed by the previous commit.

svn path=/trunk/; revision=56306

12 years ago[WIN32SS]
Amine Khaldi [Sun, 1 Apr 2012 17:27:38 +0000 (17:27 +0000)]
[WIN32SS]
* Initialize the subsystem restructure. Start by bringing-in gdi32 and user32. Brought to you by the awesome Subsystem Team.

svn path=/trunk/; revision=56305

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 1 Apr 2012 15:23:08 +0000 (15:23 +0000)]
[NTOSKRNL]
Use MiFillSystemPageDirectory on amd64, too

svn path=/trunk/; revision=56304

12 years ago[NDK]
Timo Kreuzer [Sun, 1 Apr 2012 14:29:15 +0000 (14:29 +0000)]
[NDK]
Make KTHREAD structure compatible to WS2003, Vista and Win7 for both x86 and amd64

svn path=/trunk/; revision=56303

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 1 Apr 2012 14:15:00 +0000 (14:15 +0000)]
[NTOSKRNL]
Sort the C_ASSERTs and add some more.

svn path=/trunk/; revision=56302

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 1 Apr 2012 13:37:20 +0000 (13:37 +0000)]
[NTOSKRNL]
- Add a few more C_ASSERTs related to the KTHREAD structure layout

svn path=/trunk/; revision=56301

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 1 Apr 2012 13:34:18 +0000 (13:34 +0000)]
[NTOSKRNL]
- If neccessary unlock the working set in MiMakeSystemAddressValid before calling MmAccessFault, fixes a failed ASSERT, when coming from NtFreeVirtualMemory
- Remove duplicated ASSERT

svn path=/trunk/; revision=56300

12 years ago[CMAKE]
Amine Khaldi [Sun, 1 Apr 2012 11:43:24 +0000 (11:43 +0000)]
[CMAKE]
* Implement the _clean targets for the ninja generator.

svn path=/trunk/; revision=56299

12 years ago[TRANSLATION]
Olaf Siejka [Sun, 1 Apr 2012 10:55:23 +0000 (10:55 +0000)]
[TRANSLATION]
- turkish translation of dxdiag by Arda Tanrýkulu (bug no. 6986);
- italian translation of browseui by Paolo Devoti (bug no. 6980);

svn path=/trunk/; revision=56298

12 years ago[DESK]
Timo Kreuzer [Sun, 1 Apr 2012 10:02:50 +0000 (10:02 +0000)]
[DESK]
Fix a typo. Part of an old patch by Carlo Bramini.

See issue #3158 for more details.

svn path=/trunk/; revision=56297

12 years ago[NTOS]: Fix a typo spotted by Stefan.
Sir Richard [Sat, 31 Mar 2012 22:45:17 +0000 (22:45 +0000)]
[NTOS]: Fix a typo spotted by Stefan.

svn path=/trunk/; revision=56296

12 years ago[CMAKE]
Amine Khaldi [Sat, 31 Mar 2012 21:52:09 +0000 (21:52 +0000)]
[CMAKE]
* Revert back to the old def handling for now, we'll get to tackle that later.

svn path=/trunk/; revision=56295

12 years ago[CMAKE]
Amine Khaldi [Sat, 31 Mar 2012 21:34:51 +0000 (21:34 +0000)]
[CMAKE]
* Set the def file as an external object in msvc builds too.

svn path=/trunk/; revision=56294

12 years ago[NTOS]: Partly revert back to old behavior in attempt to fix regression.
Sir Richard [Sat, 31 Mar 2012 21:27:35 +0000 (21:27 +0000)]
[NTOS]: Partly revert back to old behavior in attempt to fix regression.

svn path=/trunk/; revision=56293

12 years ago[NTOS]: Add support for calling NtAllocateVirtualMemory on an ARM3 section that was...
Sir Richard [Sat, 31 Mar 2012 20:16:32 +0000 (20:16 +0000)]
[NTOS]: Add support for calling NtAllocateVirtualMemory on an ARM3 section that was SEC_RESERVEd.

svn path=/trunk/; revision=56292

12 years ago[NTOS]: Add initial support for standby page list and modified page list in the curre...
Sir Richard [Sat, 31 Mar 2012 20:08:34 +0000 (20:08 +0000)]
[NTOS]: Add initial support for standby page list and modified page list in the current page list routines. Add support for prototype PTEs in a few more cases, including handling of transition pages. Should not affect any of the current code as those lists/transition pages aren't yet used.

svn path=/trunk/; revision=56291

12 years ago[NTOS]: Support getting the protection mask for other kinds of VADs in NtQueryVirtual...
Sir Richard [Sat, 31 Mar 2012 20:07:29 +0000 (20:07 +0000)]
[NTOS]: Support getting the protection mask for other kinds of VADs in NtQueryVirtualMemory, instead of an ASSERT.

svn path=/trunk/; revision=56290

12 years ago[CMAKE]
Amine Khaldi [Sat, 31 Mar 2012 19:01:26 +0000 (19:01 +0000)]
[CMAKE]
* The def file is also an external object (that should be added to the link command directly).

svn path=/trunk/; revision=56289

12 years ago[CMAKE]
Amine Khaldi [Sat, 31 Mar 2012 11:09:22 +0000 (11:09 +0000)]
[CMAKE]
* Make use of /client none and /server none to tell midl not to generate them.
* Add dummy proxy file generation in generate_idl_iids().

svn path=/trunk/; revision=56288

12 years ago[DDK/XDK]
Timo Kreuzer [Sat, 31 Mar 2012 10:55:43 +0000 (10:55 +0000)]
[DDK/XDK]
Fix non-x86 definition of KTIMER

svn path=/trunk/; revision=56287

12 years ago[CMAKE]
Amine Khaldi [Sat, 31 Mar 2012 10:21:18 +0000 (10:21 +0000)]
[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

12 years ago[NDIS]
Cameron Gutman [Sat, 31 Mar 2012 05:55:33 +0000 (05:55 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Fri, 30 Mar 2012 18:09:16 +0000 (18:09 +0000)]
[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

12 years ago[CMAKE]
Timo Kreuzer [Fri, 30 Mar 2012 15:36:19 +0000 (15:36 +0000)]
[CMAKE]
- include wincodec_i.c into uuid on MSVC builds
- Improve midl support

svn path=/trunk/; revision=56283

12 years ago[CMAKE]
Amine Khaldi [Thu, 29 Mar 2012 23:08:39 +0000 (23:08 +0000)]
[CMAKE]
* Make sure to pass the full path of the idl file in generate_idl_iids().

svn path=/trunk/; revision=56282

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 18:48:12 +0000 (18:48 +0000)]
[CMAKE]
Fix generation of _i.c iid files with midl. Simplify code, use better naming

svn path=/trunk/; revision=56281

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 17:40:36 +0000 (17:40 +0000)]
[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

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 15:57:55 +0000 (15:57 +0000)]
[CMAKE]
Cleanup *idl-support.cmake files a bit more

svn path=/trunk/; revision=56279

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 14:49:48 +0000 (14:49 +0000)]
[CMAKE]
Move common macros from *idl-support.cmake to CMakeMacros.cmake, remove obsolete definitions

svn path=/trunk/; revision=56278

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 14:45:46 +0000 (14:45 +0000)]
[CMAKE]
Seperate midl and widl files (currently files are simply copied)

svn path=/trunk/; revision=56277

12 years ago[INF]
Cameron Gutman [Thu, 29 Mar 2012 14:33:42 +0000 (14:33 +0000)]
[INF]
- Change the device description for bluetooth devices

svn path=/trunk/; revision=56276

12 years ago[CMAKE]
Amine Khaldi [Thu, 29 Mar 2012 13:24:26 +0000 (13:24 +0000)]
[CMAKE]
* Pass /no_def_idir to midl, to search only in the include folders that we specify (through /I).

svn path=/trunk/; revision=56275

12 years ago[CMAKE]
Timo Kreuzer [Thu, 29 Mar 2012 13:07:08 +0000 (13:07 +0000)]
[CMAKE]
Try to fix some midl dependency and concurrency issues

svn path=/trunk/; revision=56274

12 years ago[FORMATTING]
Amine Khaldi [Thu, 29 Mar 2012 12:14:58 +0000 (12:14 +0000)]
[FORMATTING]
* Addendum to r56262.

svn path=/trunk/; revision=56273

12 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 29 Mar 2012 10:14:47 +0000 (10:14 +0000)]
[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

12 years ago[NTOSKRNL/AMD64]
Timo Kreuzer [Thu, 29 Mar 2012 10:07:25 +0000 (10:07 +0000)]
[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

12 years ago[FREELDR]
Timo Kreuzer [Thu, 29 Mar 2012 08:25:20 +0000 (08:25 +0000)]
[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

12 years ago[NTOSKRNL]
Art Yerkes [Thu, 29 Mar 2012 06:04:34 +0000 (06:04 +0000)]
[NTOSKRNL]

Small edit.

svn path=/trunk/; revision=56269

12 years ago[NEWCC]
Art Yerkes [Thu, 29 Mar 2012 06:01:52 +0000 (06:01 +0000)]
[NEWCC]

Add some prose describing this functionality.

Dedicated to timo, chongo, goto and ??=

Just formatting and comments.

svn path=/trunk/; revision=56268

12 years ago[NTOSKRKNL]
Art Yerkes [Thu, 29 Mar 2012 04:43:44 +0000 (04:43 +0000)]
[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

12 years ago[TRANSLATION]
Olaf Siejka [Wed, 28 Mar 2012 22:09:00 +0000 (22:09 +0000)]
[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

12 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 28 Mar 2012 21:09:03 +0000 (21:09 +0000)]
[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

12 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 28 Mar 2012 19:41:40 +0000 (19:41 +0000)]
[NTOSKRNL]
- Make file offsets 64 bit
- Fix lots of MSVC/64 bit warnings

svn path=/trunk/; revision=56264

12 years ago[NDK/NTOSKRNK]
Timo Kreuzer [Wed, 28 Mar 2012 18:46:30 +0000 (18:46 +0000)]
[NDK/NTOSKRNK]
- Finally make EPROCESS::Session  PVOID, as it's supposed to be
- add missing Wow64Process member

svn path=/trunk/; revision=56263

12 years ago[FORMATTING]
Amine Khaldi [Wed, 28 Mar 2012 18:39:21 +0000 (18:39 +0000)]
[FORMATTING]
* Improve indentation, remove trailing spaces, apply a consistent style, adjust to 80 col... No code changes.

svn path=/trunk/; revision=56262

12 years ago[VBEMP]
Cameron Gutman [Wed, 28 Mar 2012 13:39:02 +0000 (13:39 +0000)]
[VBEMP]
- Promote fatal VESA BIOS errors to Error status

svn path=/trunk/; revision=56261

12 years ago[HAL]
Timo Kreuzer [Wed, 28 Mar 2012 12:15:54 +0000 (12:15 +0000)]
[HAL]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56260

12 years ago[DBGHELP]
Timo Kreuzer [Wed, 28 Mar 2012 11:08:41 +0000 (11:08 +0000)]
[DBGHELP]
Fix 64 bit compilation. "Should be sent to wine"(tm)

svn path=/trunk/; revision=56259

12 years ago[CMD]
Timo Kreuzer [Wed, 28 Mar 2012 09:50:04 +0000 (09:50 +0000)]
[CMD]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56258

12 years ago[NDK]
Timo Kreuzer [Wed, 28 Mar 2012 09:14:27 +0000 (09:14 +0000)]
[NDK]
Don't C_ASSERT some struct sizes on 64 bit builds

svn path=/trunk/; revision=56257

12 years ago[REGEDIT]
Timo Kreuzer [Wed, 28 Mar 2012 08:23:15 +0000 (08:23 +0000)]
[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

12 years ago[REGEDIT]
Timo Kreuzer [Wed, 28 Mar 2012 08:06:21 +0000 (08:06 +0000)]
[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

12 years ago[DESK.CPL]
Timo Kreuzer [Wed, 28 Mar 2012 07:09:53 +0000 (07:09 +0000)]
[DESK.CPL]
Simplify code, patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

svn path=/trunk/; revision=56254

12 years ago[RTL]
Timo Kreuzer [Tue, 27 Mar 2012 21:41:39 +0000 (21:41 +0000)]
[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

12 years ago[BROWSEUI]
Timo Kreuzer [Tue, 27 Mar 2012 20:05:02 +0000 (20:05 +0000)]
[BROWSEUI]
Make DllInstall export private to silence an MSVC warning

svn path=/trunk/; revision=56252

12 years agofx build second try
Timo Kreuzer [Tue, 27 Mar 2012 17:41:42 +0000 (17:41 +0000)]
fx build second try

svn path=/trunk/; revision=56251

12 years agoFix build
Timo Kreuzer [Tue, 27 Mar 2012 17:30:51 +0000 (17:30 +0000)]
Fix build

svn path=/trunk/; revision=56250

12 years ago[RTL]
Timo Kreuzer [Tue, 27 Mar 2012 17:19:53 +0000 (17:19 +0000)]
[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

12 years ago[FBTUSB]
Amine Khaldi [Tue, 27 Mar 2012 16:36:53 +0000 (16:36 +0000)]
[FBTUSB]
* Properly add fbtusb. This fixes both gcc and msvc builds.

svn path=/trunk/; revision=56248

12 years ago[FREELDR]
Timo Kreuzer [Tue, 27 Mar 2012 09:47:10 +0000 (09:47 +0000)]
[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

12 years ago[INF]
Cameron Gutman [Tue, 27 Mar 2012 08:47:46 +0000 (08:47 +0000)]
[INF]
- Add bth.inf
[FBTUSB]
- Add to build and bootcd

svn path=/trunk/; revision=56246

12 years ago[ACPI]
Cameron Gutman [Tue, 27 Mar 2012 07:23:14 +0000 (07:23 +0000)]
[ACPI]
- Fix implementations of AcpiOsWaitSemaphore and AcpiOsAcquireMutex to obey the caller's demands to not block if requested

svn path=/trunk/; revision=56245

12 years ago[ACPI]
Cameron Gutman [Tue, 27 Mar 2012 07:05:30 +0000 (07:05 +0000)]
[ACPI]
- Fast mutexes must be allocated from non-paged pool

svn path=/trunk/; revision=56244

12 years ago[ACPI]
Cameron Gutman [Tue, 27 Mar 2012 06:50:01 +0000 (06:50 +0000)]
[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

12 years ago[TXTSETUP]
Cameron Gutman [Tue, 27 Mar 2012 06:26:38 +0000 (06:26 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 26 Mar 2012 23:33:49 +0000 (23:33 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 26 Mar 2012 22:57:01 +0000 (22:57 +0000)]
[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

12 years ago[ACPI]
Cameron Gutman [Mon, 26 Mar 2012 19:34:53 +0000 (19:34 +0000)]
[ACPI]
- Add translation code for ACPI_RESOURCE_TYPE_FIXED_IO

svn path=/trunk/; revision=56239

12 years ago[INF]
Cameron Gutman [Mon, 26 Mar 2012 18:57:53 +0000 (18:57 +0000)]
[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

12 years ago- Revert hack.
Stefan Ginsberg [Mon, 26 Mar 2012 14:51:03 +0000 (14:51 +0000)]
- Revert hack.

svn path=/trunk/; revision=56237

12 years ago[WIN32K]
Timo Kreuzer [Mon, 26 Mar 2012 14:35:58 +0000 (14:35 +0000)]
[WIN32K]
- Rewrite coordinate transformation code to use XFORMOBJ apis instead of using floating point in kernel mode. As a small present fix 14 gdi32_winetests (5 mapping, 9 bitmap)
I disabled some RtoL code, since it didn't work anyway and caused more bugs than it fixed.

svn path=/trunk/; revision=56236

12 years ago[NTOS]
Stefan Ginsberg [Mon, 26 Mar 2012 13:51:15 +0000 (13:51 +0000)]
[NTOS]
- It appears ros wasn't ready for properly handling page faults with interrupts disabled, disable bugcheck and warn and dump stack instead for now.
- Make KeRosDumpStackFrameArray and KdbSymPrintAddress safe to use at elavated IRQL -- don't use Unicode formats for DbgPrint at possible elavated IRQL/interrupts disabled as this may generate a page fault. Safely convert to ANSI instead before printing out the address.

svn path=/trunk/; revision=56235

12 years ago[NTOS]
Stefan Ginsberg [Mon, 26 Mar 2012 13:00:16 +0000 (13:00 +0000)]
[NTOS]
- Fix a crazy bug in KiTrap0EHandler, it didn't enable interrupts unless it trapped when interrupts were already disabled (during a page fault during page fault handling, for example). This seems to have worked because the old non-newcc version of MiReadPage appears to rely on a page fault to bring the paged out page in. Thanks Timo.

svn path=/trunk/; revision=56234

12 years ago[NTOS]: Add support for determining transition vs. demand zero faults (the former...
Sir Richard [Mon, 26 Mar 2012 07:41:47 +0000 (07:41 +0000)]
[NTOS]: Add support for determining transition vs. demand zero faults (the former should not yet happen).
[NTOS]: Add a function for removing transition pages from either the standby or modified page lists (not yet used).

svn path=/trunk/; revision=56233

12 years ago[NTOS]: Perform system space mappings under the SystemSpaceViewLockPointer guarded...
Sir Richard [Mon, 26 Mar 2012 07:26:36 +0000 (07:26 +0000)]
[NTOS]: Perform system space mappings under the SystemSpaceViewLockPointer guarded mutex.
[NTOS]: Expand system space view buckets when they are running low.
[NTOS]: Support SEC_BASED section creates and mappings, implement based VAD parsing.
[NTOS]: Support section mappings at a fixed base address and check for conflicts.
[NTOS]: Define 8 prioritized standyby lists and initialize them. Also define the modified page list.
[NTOS]: Support mapping with SEC_COMMIT less than the entire size of the section.
[NTOS]: Detect and assert if ARM3 sections are attempted to be unmapped, since this isn't supported yet.
[NTOS]: Clean up some DPRINTs and clarify ARM3 ASSERTs vs. Windows ASSERTs.

svn path=/trunk/; revision=56232

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 25 Mar 2012 23:28:23 +0000 (23:28 +0000)]
[NTOSKRNL]
- Implement proper use of alternate resource requirement lists
- Implement the case to set DN_NO_SHOW_IN_DM
- Implement reporting more problem codes: CM_PROB_NEED_RESTART, CM_PROB_FAILED_DRIVER_ENTRY, CM_PROB_FAILED_DRIVER_ENTRY, CM_PROB_DRIVER_FAILED_LOAD, CM_PROB_WILL_BE_REMOVED, CM_PROB_HELD_FOR_EJECT, CM_PROB_TRANSLATION_FAILED, and CM_PROB_NORMAL_CONFLICT

svn path=/trunk/; revision=56231