reactos.git
17 years agoremove a wrong behvoir in DdQueryDirectDrawObject aka GdiEntry2
Magnus Olsen [Fri, 6 Apr 2007 20:54:21 +0000 (20:54 +0000)]
remove a wrong behvoir in DdQueryDirectDrawObject aka GdiEntry2

svn path=/trunk/; revision=26271

17 years agoRemove a windwos 95/98/Me behvoir in NtGdiDdQueryDirectDrawObject, also tested in...
Magnus Olsen [Fri, 6 Apr 2007 20:43:11 +0000 (20:43 +0000)]
Remove a windwos 95/98/Me behvoir in NtGdiDdQueryDirectDrawObject, also tested in windows 2000 see if this bevhoir really exitsed or not.
puvmList and puNumHeaps should be ignore by Windows NT when they are pass down, it is not true if both getting a vaild pointer I am getting back data in windows it is not a vmList, what I get back I do not known. Add a comment I did forget setup the copy of puD3dTextureFormats from kmode to umode pointer will be fixed later. After I fix the last part this api is 99.9% compatible with Windows 2000 and higher.

svn path=/trunk/; revision=26270

17 years agofix warnings on gcc 4.1.2
Timo Kreuzer [Fri, 6 Apr 2007 14:24:59 +0000 (14:24 +0000)]
fix warnings on gcc 4.1.2

svn path=/trunk/; revision=26269

17 years ago- Make class2 and disk completely warning-free.
Aleksey Bragin [Thu, 5 Apr 2007 17:36:39 +0000 (17:36 +0000)]
- Make class2 and disk completely warning-free.

svn path=/trunk/; revision=26268

17 years agoUpdate Dejavu from 2.14 to 2.16
Magnus Olsen [Thu, 5 Apr 2007 12:20:19 +0000 (12:20 +0000)]
Update Dejavu from 2.14 to 2.16
It add allot of new charaters to all dejavu font.

svn path=/trunk/; revision=26267

17 years ago- Refactored some parts of the FS Recognizer Driver.
Alex Ionescu [Thu, 5 Apr 2007 00:11:35 +0000 (00:11 +0000)]
- Refactored some parts of the FS Recognizer Driver.
- Added support for some more advanced storage stack support.
- Added locking and states.
- Added the ability for a file system to span across different device types (such as UDFS which is both for disks and optical media)
- Updated NTFS, UDFS validation to use new functions. CDFS validation was removed (NT doesn't do it).
- Improved some parts of FAT validation and relaxed others to match NT's.

svn path=/trunk/; revision=26266

17 years ago- Fix the damn thing.
Dmitry Gorbachev [Wed, 4 Apr 2007 20:12:23 +0000 (20:12 +0000)]
- Fix the damn thing.

svn path=/trunk/; revision=26265

17 years ago- allow backspace in edit / hex mode
Johannes Anderwald [Wed, 4 Apr 2007 19:43:27 +0000 (19:43 +0000)]
- allow backspace in edit / hex mode
- patch by Kamil Hornicek (tykef@atlas.cz)

See issue #2129 for more details.

svn path=/trunk/; revision=26264

17 years ago- move implementation of dialogs to appropiate file (odbccp32.dll)
Johannes Anderwald [Wed, 4 Apr 2007 18:43:24 +0000 (18:43 +0000)]
- move implementation of dialogs to appropiate file (odbccp32.dll)
- odbccp32.cpl is therefore complete YUHU
- rbuild needs to be hacked that odbccp32.cpl is outputed in the right destination folder (currently it writes into destination of odbccp32.dll)

svn path=/trunk/; revision=26263

17 years ago- beginning of ODBC control panel applet
Johannes Anderwald [Wed, 4 Apr 2007 16:26:16 +0000 (16:26 +0000)]
- beginning of ODBC control panel applet

svn path=/trunk/; revision=26262

17 years ago- Fix freeing of an unallocated memory bug (RtlInitUnicodeString() never allocates...
Aleksey Bragin [Wed, 4 Apr 2007 16:04:41 +0000 (16:04 +0000)]
- Fix freeing of an unallocated memory bug (RtlInitUnicodeString() never allocates anything, it just initializes necessary fields, and noone asks us to free the string the function gets as a parameter).

svn path=/trunk/; revision=26261

17 years ago... and pciide/pciidex.
Aleksey Bragin [Wed, 4 Apr 2007 15:22:03 +0000 (15:22 +0000)]
... and pciide/pciidex.

svn path=/trunk/; revision=26260

17 years ago- Fix up npfs/msfs drivers paths.
Aleksey Bragin [Wed, 4 Apr 2007 15:15:43 +0000 (15:15 +0000)]
- Fix up npfs/msfs drivers paths.

svn path=/trunk/; revision=26259

17 years ago- Refactor device attachment into a private routine.
Alex Ionescu [Wed, 4 Apr 2007 03:19:27 +0000 (03:19 +0000)]
- Refactor device attachment into a private routine.
- We shouldn't allow attaching to a device that's still initlizaing, but ROS currently does because of some device that tries to do this, in the PnP manager or early boot-phase drivers (it has an auto-generated name). Please fix this!

svn path=/trunk/; revision=26258

17 years ago- Implement IopAttachDeviceToDeviceStackSafe for future use.
Alex Ionescu [Wed, 4 Apr 2007 02:49:41 +0000 (02:49 +0000)]
- Implement IopAttachDeviceToDeviceStackSafe for future use.
- Use OBJ_KERNEL_HANDLE for various internal Device Object handles.
- Fix bug in IopStartNextPacketByKeyEx which didn't actually read the flags to see if the I/O was cancelleable or not.
- Fail DO creation if the VPB couldn't be created.
- Fix completely wrong implementation of IoGetDeviceAttachmentBaseRef. It was getting the attached device instead of the base device, and wasn't even referencing it!.
-

svn path=/trunk/; revision=26257

17 years ago- Remove "zero-stream" from null, NT doesn't support this.
Alex Ionescu [Tue, 3 Apr 2007 16:22:44 +0000 (16:22 +0000)]
- Remove "zero-stream" from null, NT doesn't support this.
- Implement Fast I/O Dispatch entrypoints for null.
- Support query file information and lock IRPs, just like NT.
- Remove query volume information IRP, not supported by NT.
- Page the entire driver.

svn path=/trunk/; revision=26256

17 years ago- Don't load NT4 audio drivers by default anymore.
Alex Ionescu [Tue, 3 Apr 2007 16:01:58 +0000 (16:01 +0000)]
- Don't load NT4 audio drivers by default anymore.
- Don't load beep.sys in non-setup mode.
- Improve beep driver by making it use device queues instead of instantly completing beep requests, and make it cancel-safe, unloadable, and thread-safe in regards to timers. Also reduce memory footprint by making the entire driver pageable and dynamically locking/unlocking the image section by keeping a reference count of opens.

svn path=/trunk/; revision=26254

17 years ago- Remove unneeded DPRINT1().
Aleksey Bragin [Tue, 3 Apr 2007 15:18:05 +0000 (15:18 +0000)]
- Remove unneeded DPRINT1().

svn path=/trunk/; revision=26253

17 years ago- Add "fs" to npfs and msfs.
Alex Ionescu [Tue, 3 Apr 2007 14:55:54 +0000 (14:55 +0000)]
- Add "fs" to npfs and msfs.
- Put blue in drivers\setup.
- Re-organize Audio stack in /wdm and /ksfilter directories.

svn path=/trunk/; revision=26252

17 years ago- Add missing .rbuild files from last commit.
Alex Ionescu [Tue, 3 Apr 2007 14:22:00 +0000 (14:22 +0000)]
- Add missing .rbuild files from last commit.
- Move serial stack to /serial.
- Move parallel stack to /parallel and make room for parport/parclass (NT5+ Parallel stack).

svn path=/trunk/; revision=26251

17 years ago- Cleanup /storage directory and prepare for NT5+ Storage Stack and Floppy Port/Class...
Alex Ionescu [Tue, 3 Apr 2007 14:14:25 +0000 (14:14 +0000)]
- Cleanup /storage directory and prepare for NT5+ Storage Stack and Floppy Port/Class drop.

svn path=/trunk/; revision=26250

17 years ago- Remove old unused code for sending sense requests.
Aleksey Bragin [Mon, 2 Apr 2007 20:24:54 +0000 (20:24 +0000)]
- Remove old unused code for sending sense requests.
- Bugfix new sense request code (it was saving a pointer to the wrong SRB).
- Implement requests, which bypass frozen queue. CdRom should now work properly.
- Some very small code reformating.

svn path=/trunk/; revision=26249

17 years ago- Revert 26244, 26245, 26246, 26247.
Alex Ionescu [Mon, 2 Apr 2007 15:08:54 +0000 (15:08 +0000)]
- Revert 26244, 26245, 26246, 26247.
- Stop committing on crack.
- Read IRC logs and use your head.
- GCC 3.4.5 is buggy, don't use. Don't break good code to hide compiler bugs.

svn path=/trunk/; revision=26248

17 years agosome gcc 3.4.5 fixed; but not all we need
Magnus Olsen [Mon, 2 Apr 2007 10:32:21 +0000 (10:32 +0000)]
some gcc 3.4.5 fixed; but not all we need

svn path=/trunk/; revision=26247

17 years agofixing the build for gcc 3.4.5
Magnus Olsen [Mon, 2 Apr 2007 09:48:51 +0000 (09:48 +0000)]
fixing the build for gcc 3.4.5

svn path=/trunk/; revision=26246

17 years agofixing the build for gcc 3.4.5
Magnus Olsen [Mon, 2 Apr 2007 09:01:15 +0000 (09:01 +0000)]
fixing the build for gcc 3.4.5

svn path=/trunk/; revision=26245

17 years agofixing the build for gcc 3.4.5
Magnus Olsen [Mon, 2 Apr 2007 08:58:34 +0000 (08:58 +0000)]
fixing the build for gcc 3.4.5

svn path=/trunk/; revision=26244

17 years ago- Revert double spinlock releasing introduced by 26242 (but thanks for fixing DPRINT...
Aleksey Bragin [Mon, 2 Apr 2007 08:00:31 +0000 (08:00 +0000)]
- Revert double spinlock releasing introduced by 26242 (but thanks for fixing DPRINT :) ).

svn path=/trunk/; revision=26243

17 years agoDo not assume ReleaseSpinLock == LowerIrql.
Dmitry Gorbachev [Sun, 1 Apr 2007 22:04:26 +0000 (22:04 +0000)]
Do not assume ReleaseSpinLock == LowerIrql.

svn path=/trunk/; revision=26242

17 years agoTake care of ROS_AUTOMAKE variable in rbuild
Hervé Poussineau [Sun, 1 Apr 2007 20:47:00 +0000 (20:47 +0000)]
Take care of ROS_AUTOMAKE variable in rbuild

svn path=/trunk/; revision=26241

17 years ago- Add more compile-time checks for KPRCB C vs. asm fields match.
Aleksey Bragin [Sun, 1 Apr 2007 19:35:05 +0000 (19:35 +0000)]
- Add more compile-time checks for KPRCB C vs. asm fields match.

svn path=/trunk/; revision=26240

17 years ago- Rename scsiport-new to scsiport (couldn't do that in the previous commit).
Aleksey Bragin [Sun, 1 Apr 2007 19:27:59 +0000 (19:27 +0000)]
- Rename scsiport-new to scsiport (couldn't do that in the previous commit).

svn path=/trunk/; revision=26239

17 years ago- Commit "new" storage stack drivers support based on NT4 DDK's sample drivers (with...
Aleksey Bragin [Sun, 1 Apr 2007 19:25:38 +0000 (19:25 +0000)]
- Commit "new" storage stack drivers support based on NT4 DDK's sample drivers (with some modifications and a couple of hacks - they are marked with "HACK" keyword in the source code).
- ReactOS boots/works (faster/stabler), VMWare bug is gone.
- Delete the old scsiport, switching to the new scsiport instead.
NOTE(!): Before commenting this commit read license.txt files. If you still want to comment, read license.txt again, it should help.
- Warnings fixes, improvements, etc to the code will come later.

svn path=/trunk/; revision=26238

17 years agothis file is auotgenreate sorry, thx alex
Magnus Olsen [Sun, 1 Apr 2007 19:00:29 +0000 (19:00 +0000)]
this file is auotgenreate sorry, thx alex

svn path=/trunk/; revision=26237

17 years agosome have delete the napi.h I do not known how did that. it break the win32k complete...
Magnus Olsen [Sun, 1 Apr 2007 18:48:25 +0000 (18:48 +0000)]
some have delete the napi.h I do not known how did that. it break the win32k complete it is a private header file

svn path=/trunk/; revision=26236

17 years agoImplement UserUnloadKeyboardLayout()
Saveliy Tretiakov [Sun, 1 Apr 2007 17:34:00 +0000 (17:34 +0000)]
Implement UserUnloadKeyboardLayout()

svn path=/trunk/; revision=26234

17 years agoImplement NtUserUnloadKeyboardLayout()
Saveliy Tretiakov [Sun, 1 Apr 2007 17:30:44 +0000 (17:30 +0000)]
Implement NtUserUnloadKeyboardLayout()

svn path=/trunk/; revision=26233

17 years agoAdd missing check
Saveliy Tretiakov [Sun, 1 Apr 2007 17:27:59 +0000 (17:27 +0000)]
Add missing check

svn path=/trunk/; revision=26232

17 years agoImplement EngUnloadImage
Saveliy Tretiakov [Sun, 1 Apr 2007 17:20:50 +0000 (17:20 +0000)]
Implement EngUnloadImage

svn path=/trunk/; revision=26231

17 years agoImplement EngUnloadImage()
Saveliy Tretiakov [Sun, 1 Apr 2007 17:15:58 +0000 (17:15 +0000)]
Implement EngUnloadImage()

svn path=/trunk/; revision=26230

17 years agoImplement SystemUnloadGdiDriverInformation
Saveliy Tretiakov [Sun, 1 Apr 2007 17:15:08 +0000 (17:15 +0000)]
Implement SystemUnloadGdiDriverInformation

svn path=/trunk/; revision=26229

17 years agoFix build
Saveliy Tretiakov [Sun, 1 Apr 2007 17:14:24 +0000 (17:14 +0000)]
Fix build

svn path=/trunk/; revision=26228

17 years ago- Remove audit brake / svn:needs-lock property, since these drivers are going to...
Aleksey Bragin [Sun, 1 Apr 2007 16:29:16 +0000 (16:29 +0000)]
- Remove audit brake / svn:needs-lock property, since these drivers are going to become svn history soon.

svn path=/trunk/; revision=26227

17 years ago- Move handlers of SRB_FUNCTION_ATTACH and RELEASE to a standalone function, and...
Aleksey Bragin [Sun, 1 Apr 2007 12:13:55 +0000 (12:13 +0000)]
- Move handlers of SRB_FUNCTION_ATTACH and RELEASE to a standalone function, and don't do reference/dereference of the DeviceObject
- Implement RELEASE_QUEUE and FLUSH_QUEUE srb functions
- Turn off DPRINTs, since scsiport seems to finally work (without advanced features, but enough to install and boot using ATAPI and DISK drivers)!

svn path=/trunk/; revision=26226

17 years ago- More DPRINTs added to ease debugging
Aleksey Bragin [Sun, 1 Apr 2007 11:17:48 +0000 (11:17 +0000)]
- More DPRINTs added to ease debugging
- Bugfixes: IOCTL_SCSI_GET_CAPABILITIES fixed, setting inquiry operation in CDB fixed, storing information about bus scanning fixed

svn path=/trunk/; revision=26225

17 years ago!!! ATTENTION EVERYONE - do a make clean after getting this revision !!!
KJK::Hyperion [Sun, 1 Apr 2007 00:07:25 +0000 (00:07 +0000)]
!!! ATTENTION EVERYONE - do a make clean after getting this revision !!!
!!! ATTENTION PSEH USERS - new features & a change in rules !!!

modified   include/reactos/libs/pseh/framebased.h
modified   include/reactos/libs/pseh/framebased/internal.h
deleted    include/reactos/libs/pseh/setjmp.h
modified   lib/pseh/framebased.c
deleted    lib/pseh/i386/setjmp.asm
modified   lib/pseh/pseh.rbuild
   Big PSEH revamp. If God is kind and merciful, this might be the last revision to PSEH ever
   !!! RULE CHANGE !!! Obsoleted _SEH_NO_NATIVE_NLG, do NOT use it anymore, it will now cause fatal compile-time errors
   !!! RULE CHANGE !!! As a side effect to the fix for a bug where a _SEH_TRY nested in a _SEH_HANDLE would lead to stack corruption, using "return" or "goto" from anywhere inside a PSEH block is now FORBIDDEN; all code that already did has been fixed in this revision
   !!! NEW FEATURE !!! To leave a PSEH block from anywhere inside it, use the new _SEH_YIELD(<statement>) macro; examples: _SEH_YIELD(return value), _SEH_YIELD(goto label), _SEH_YIELD(returnvalue = value; goto label); ALWAYS ensure a _SEH_YIELD() leads outside the top-level _SEH_TRY block - do NOT goto into an ancestor _SEH_TRY block!!! Also note that _SEH_YIELD() disables SEH protection for the enclosed statement, so do NOT perform operations that might throw exceptions inside a _SEH_YIELD(); finally, ensure the enclosed statement does NOT allow execution to continue, or _SEH_YIELD() will get in an infinite loop; bear with me, for I have done the impossible, so don't expect miracles
   Don't use a fake setjmp/longjmp *ever*, too dangerous; removed _SEHLongJmp & _SEHSetJmp, obsoleted _SEH_NO_NATIVE_NLG
   On GCC, use __builtin_setjmp/__builtin_longjmp instead of setjmp/longjmp; they produce efficient code that plays well with optimizations, require no external library and are designed specifically for exception handling; should result in faster code and no hidden bugs
   Use inline code to enter/leave trylevels; yields much better binary code
   Inline handlers inside _SEH_PortableFrame_t instead of pointing to them; yields better code for the most common usages
   Turn all top-level statements generated by macros from bare scopes into for loops, to ensure they are used correctly as stand-alone statements
   Removed bitrotten old syntax, because it wasn't being used nor maintained

modified   dll/3rdparty/freetype/freetype.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/network/tcpip/tcpip.rbuild
modified   lib/drivers/ip/ip.rbuild
modified   lib/rtl/rtl.rbuild
modified   ntoskrnl/ntoskrnl.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
   Removed obsolete _SEH_NO_NATIVE_NLG define

modified   drivers/network/afd/afd/lock.c
modified   drivers/network/afd/afd/tdi.c
modified   subsystems/csr/csrsrv/api.c
modified   subsystems/win32/win32k/ntuser/clipboard.c
modified   subsystems/win32/win32k/ntuser/window.c
   Use the new _SEH_YIELD macro to return/goto from SEH blocks

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.dtd
modified   tools/rbuild/rbuild.h
   Don't use the obsolete _SEH_NO_NATIVE_NLG flag anymore
   Only add underscores to imported symbols when module is marked underscoresymbols="true"; fixes debugsup and, indirectly, PSEH tracing

modified   lib/3rdparty/mingw/mingw.rbuild
   Build with underscoresymbols="true"

svn path=/trunk/; revision=26224

17 years agoFix the bug introduced in r26219.
Dmitry Gorbachev [Sat, 31 Mar 2007 22:18:16 +0000 (22:18 +0000)]
Fix the bug introduced in r26219.

svn path=/trunk/; revision=26223

17 years ago- Fix a few obvious bugs (incorrect DeviceExtension pointer arithmetic, non-initializ...
Aleksey Bragin [Sat, 31 Mar 2007 20:47:42 +0000 (20:47 +0000)]
- Fix a few obvious bugs (incorrect DeviceExtension pointer arithmetic, non-initialized field usage).
- Packets are sequentially numbered.

Now all devices are perfectly enumerated (SpBuildDeviceMap() may still need work, but later), and problem occurs later when servicing IOCTLs.

svn path=/trunk/; revision=26222

17 years ago- Implement timeouts / retrying after timeout.
Aleksey Bragin [Sat, 31 Mar 2007 20:03:07 +0000 (20:03 +0000)]
- Implement timeouts / retrying after timeout.

svn path=/trunk/; revision=26221

17 years ago- Finish ScsiPortInitialize() refactoring / improving. Only DMA stuff and 2-interrupt...
Aleksey Bragin [Sat, 31 Mar 2007 18:37:07 +0000 (18:37 +0000)]
- Finish ScsiPortInitialize() refactoring / improving. Only DMA stuff and 2-interrupts case are missing now.

svn path=/trunk/; revision=26220

17 years agoDo not wait for explorer startup. Hack.
Dmitry Gorbachev [Sat, 31 Mar 2007 11:52:24 +0000 (11:52 +0000)]
Do not wait for explorer startup. Hack.

svn path=/trunk/; revision=26219

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 22:58:02 +0000 (22:58 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26218

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 21:17:33 +0000 (21:17 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26217

17 years agoFix a bug.
Dmitry Gorbachev [Fri, 30 Mar 2007 21:08:23 +0000 (21:08 +0000)]
Fix a bug.

svn path=/trunk/; revision=26216

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 21:08:09 +0000 (21:08 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26215

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 20:49:26 +0000 (20:49 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26214

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 20:04:05 +0000 (20:04 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26213

17 years ago- Fix ScsiPortGetDeviceBase() / ScsiPortSetDeviceBase().
Aleksey Bragin [Fri, 30 Mar 2007 19:24:11 +0000 (19:24 +0000)]
- Fix ScsiPortGetDeviceBase() / ScsiPortSetDeviceBase().

svn path=/trunk/; revision=26212

17 years ago- Further work on ScsiPortInitialize(): old PortConfig section is deleted.
Aleksey Bragin [Fri, 30 Mar 2007 19:10:29 +0000 (19:10 +0000)]
- Further work on ScsiPortInitialize(): old PortConfig section is deleted.
- SpiGetPciData() code improved, part of the code is transferred into a new function.

Right now a crash is introduced in ScsiPortFreeDeviceBase(), because of the changes in ScsiPortInitialize(): will be fixed by the next commit.

svn path=/trunk/; revision=26211

17 years ago- Revert useless commit:
Aleksey Bragin [Fri, 30 Mar 2007 15:39:27 +0000 (15:39 +0000)]
- Revert useless commit:
 * No need to copy stuff from DDK, it's prohibited (#define _INC_NEWDEV)
 * #pragma was put there especially, and no reason to remove it was said
 * pushpack / poppack does not do anything if there are no structs definitions

svn path=/trunk/; revision=26210

17 years agomore compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 15:32:34 +0000 (15:32 +0000)]
more compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26209

17 years agomoref compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 15:24:03 +0000 (15:24 +0000)]
moref compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26208

17 years agomoref compatible fix betwin reactos ddk and ms DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 15:13:14 +0000 (15:13 +0000)]
moref compatible fix betwin reactos ddk and ms DDK version 3790.1830

svn path=/trunk/; revision=26207

17 years agofixing usb.h compatible with DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 14:50:01 +0000 (14:50 +0000)]
fixing usb.h compatible with DDK version 3790.1830
adding usb200.h compatible with DDK version 3790.1830

svn path=/trunk/; revision=26206

17 years ago- Start ScsiPortInitialize() refactoring: moving code to separate functions, adding...
Aleksey Bragin [Fri, 30 Mar 2007 13:17:06 +0000 (13:17 +0000)]
- Start ScsiPortInitialize() refactoring: moving code to separate functions, adding support for various registry-defined options / tweaks (like DisableTaggedQueuing).
- Fixed a bug with using wrong spinlock (IrpLock instead of SpinLock).
- Doesn't fix anything yet, just makes work with the ScsiPortInitialize() more comfortable and initializing needed fields correctly. Also the "PortConfig" filling inside ScsiPortInitialize() will go away once it works fine in the standalone function.

svn path=/trunk/; revision=26205

17 years agoremove VidMemFree and HeapVidMemAllocAligned
Magnus Olsen [Fri, 30 Mar 2007 09:53:34 +0000 (09:53 +0000)]
remove VidMemFree and HeapVidMemAllocAligned
they are protoypes belong to dmemmgr.h

ddrawi.h need be rewiten it is from wine so I add some hacks for now getting it works simluare to ms ddk version.
This fix gdi32.dll break in the build

svn path=/trunk/; revision=26204

17 years agofixing newdev.h compatible with DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 08:47:54 +0000 (08:47 +0000)]
fixing newdev.h compatible with DDK version 3790.1830
it did not have #include <pshpack1.h>  and #include <poppack.h>

svn path=/trunk/; revision=26203

17 years agoadding ieverp.h compatible with DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 08:41:21 +0000 (08:41 +0000)]
adding ieverp.h compatible with DDK version 3790.1830

svn path=/trunk/; revision=26202

17 years agofixing ddrawint.h compatible with DDK version 3790.1830
Magnus Olsen [Fri, 30 Mar 2007 08:34:20 +0000 (08:34 +0000)]
fixing ddrawint.h compatible with DDK version 3790.1830
adding polarity.h compatible with DDK version 3790.1830

svn path=/trunk/; revision=26201

17 years ago- Implement a simple error handling branch, however it gets hit due to an error somew...
Aleksey Bragin [Thu, 29 Mar 2007 21:18:28 +0000 (21:18 +0000)]
- Implement a simple error handling branch, however it gets hit due to an error somewhere else.

svn path=/trunk/; revision=26200

17 years ago- Massive changes due to a rewrite of the core logic related to ISR, DPC, IRP complet...
Aleksey Bragin [Thu, 29 Mar 2007 21:05:41 +0000 (21:05 +0000)]
- Massive changes due to a rewrite of the core logic related to ISR, DPC, IRP completion and commands delivery. Fixes a lot of race conditions which existed in hbirr-scsiport.
- Add some helper functions, and fields inside device extension structures.
- Reorganize flags a little, dividing them into flags for scsi port device extension and logical unit device extension. (however some of the flags are still messed up)
- This gets us further, but still not enough / bugs may exist.

svn path=/trunk/; revision=26199

17 years ago- Change unclear flag name to a better one.
Aleksey Bragin [Wed, 28 Mar 2007 19:26:41 +0000 (19:26 +0000)]
- Change unclear flag name to a better one.
- Set needed flags in a few places (which I forgot to set) - this fixes the hang introduced by the previous commit.
- Further code prettification.

svn path=/trunk/; revision=26198

17 years agoDon't use ntoskrnl.RtlDuplicateUnicodeString, as it is not exported on MS Windows
Hervé Poussineau [Wed, 28 Mar 2007 18:47:35 +0000 (18:47 +0000)]
Don't use ntoskrnl.RtlDuplicateUnicodeString, as it is not exported on MS Windows

svn path=/trunk/; revision=26197

17 years ago- Rearrange code inside ScsiPortStartIo() routine (some code for dma-support added...
Aleksey Bragin [Wed, 28 Mar 2007 18:29:15 +0000 (18:29 +0000)]
- Rearrange code inside ScsiPortStartIo() routine (some code for dma-support added, but currently disabled), also change time when spinlock is being held.
- Respective changes in ScsiPortStartPacket(), also some code is missing for rare kind of requests.
- Add flags check into ScsiPortIsr(), so that we skip unwanted interrupts (and change to usage of the new interrupt flags structure instead of a strange and unclear "IrpFlags" field).

svn path=/trunk/; revision=26196

17 years ago- fix memory leak
Johannes Anderwald [Wed, 28 Mar 2007 17:43:44 +0000 (17:43 +0000)]
- fix memory leak

svn path=/trunk/; revision=26195

17 years agoFix interrupt resources (related to r21188 fix)
Hervé Poussineau [Wed, 28 Mar 2007 17:40:57 +0000 (17:40 +0000)]
Fix interrupt resources (related to r21188 fix)

svn path=/trunk/; revision=26194

17 years agoFix HalGetInterruptVector() calls. Should enable input devices after 26188 fix.
Aleksey Bragin [Wed, 28 Mar 2007 17:14:16 +0000 (17:14 +0000)]
Fix HalGetInterruptVector() calls. Should enable input devices after 26188 fix.

svn path=/trunk/; revision=26193

17 years ago- Start putting all data, needed for ISR into a dedicated structure.
Aleksey Bragin [Wed, 28 Mar 2007 10:41:03 +0000 (10:41 +0000)]
- Start putting all data, needed for ISR into a dedicated structure.
- Use DEVICE_QUEUEs.
- Add a function to retrieve SRB information help structure (is a shared code between Notify(), and in future - ScsiPortGetSrb()).
- Rework RequestComplete part of ScsiPortNotification().
- Rework ScsiPortDispatchScsi() a bit - shutdown/flush can share the same code as execute_scsi/ioctl requests, also added a few more DPRINTs in error conditions to help debugging.

svn path=/trunk/; revision=26192

17 years ago- Fix a few simple mistakes / typos.
Aleksey Bragin [Wed, 28 Mar 2007 09:44:37 +0000 (09:44 +0000)]
- Fix a few simple mistakes / typos.
- Enumerating buses almost works.

svn path=/trunk/; revision=26191

17 years agochange ObpDosDevicesShortName match the ob.h header prototype
Magnus Olsen [Tue, 27 Mar 2007 21:21:32 +0000 (21:21 +0000)]
change ObpDosDevicesShortName match the ob.h header prototype

svn path=/trunk/; revision=26190

17 years ago- Rewrite bus scanning / inquiry handling (was BSODing).
Aleksey Bragin [Tue, 27 Mar 2007 21:15:09 +0000 (21:15 +0000)]
- Rewrite bus scanning / inquiry handling (was BSODing).
- Change a way LUN extensions are stored inside DeviceExtension.

svn path=/trunk/; revision=26189

17 years ago- Fix HalGetInterruptVector()'s usage of level vs. vector. At least Windows seems...
Aleksey Bragin [Tue, 27 Mar 2007 12:55:57 +0000 (12:55 +0000)]
- Fix HalGetInterruptVector()'s usage of level vs. vector. At least Windows seems to use Level parameter.
- No need in special hacks (e.g. in scsiport), as a result.

svn path=/trunk/; revision=26188

17 years agoChange code, fix warnings, so it finally builds.
Aleksey Bragin [Tue, 27 Mar 2007 11:07:12 +0000 (11:07 +0000)]
Change code, fix warnings, so it finally builds.

svn path=/trunk/; revision=26187

17 years ago- Remove old crap files
Aleksey Bragin [Tue, 27 Mar 2007 10:12:59 +0000 (10:12 +0000)]
- Remove old crap files
- Put new .def, add .rbuild

svn path=/trunk/; revision=26186

17 years agoBranch scsiport from the "before hbirr rewrite" state (rev. 8950).
Aleksey Bragin [Tue, 27 Mar 2007 10:07:57 +0000 (10:07 +0000)]
Branch scsiport from the "before hbirr rewrite" state (rev. 8950).

svn path=/trunk/; revision=26185

17 years agofix a tiny mem leak
Timo Kreuzer [Tue, 27 Mar 2007 02:52:42 +0000 (02:52 +0000)]
fix a tiny mem leak

svn path=/trunk/; revision=26184

17 years agoInclude nci.mak later, as it needs $(ARCH) variable
Hervé Poussineau [Mon, 26 Mar 2007 23:43:07 +0000 (23:43 +0000)]
Include nci.mak later, as it needs $(ARCH) variable
Fix a typo in ncitool

svn path=/trunk/; revision=26183

17 years agoAdd missing file
Hervé Poussineau [Mon, 26 Mar 2007 23:00:58 +0000 (23:00 +0000)]
Add missing file

svn path=/trunk/; revision=26182

17 years ago- Move NCI generated files to arch-specific directories
Hervé Poussineau [Mon, 26 Mar 2007 22:56:22 +0000 (22:56 +0000)]
- Move NCI generated files to arch-specific directories
- Replace ncitool by the one from powerpc branch, which supports code generation for multiple architectures

svn path=/trunk/; revision=26181

17 years agoCleanup code for easier porting to other architectures
Hervé Poussineau [Mon, 26 Mar 2007 20:28:13 +0000 (20:28 +0000)]
Cleanup code for easier porting to other architectures

svn path=/trunk/; revision=26180

17 years agoCommit to test SVN 1.4.3 upgrade...
Aleksey Bragin [Mon, 26 Mar 2007 18:56:35 +0000 (18:56 +0000)]
Commit to test SVN 1.4.3 upgrade...

svn path=/trunk/; revision=26179

17 years agowe now resive DrvGetDirectDrawInfo DD_HALINFO from the driver to win32k from win32k...
Magnus Olsen [Mon, 26 Mar 2007 07:49:05 +0000 (07:49 +0000)]
we now resive DrvGetDirectDrawInfo DD_HALINFO from the driver to win32k from win32k to gdi32.dll or d3dthk.dll or direcly syscall. it take care of allot bugs in my test case. tested with vmware driver

svn path=/trunk/; revision=26178

17 years agoReactOS win32k are using windows 2000 driver and it seam if we want using ms dx inter...
Magnus Olsen [Mon, 26 Mar 2007 03:46:11 +0000 (03:46 +0000)]
ReactOS win32k are using windows 2000 driver and it seam if we want using ms dx interface for graphics driver we must report it is plan NT5 driver we want not higher or lower, this show from vmware own display driver, now we get req for pvmList before we doing second call to DrvGetDirectDrawInfo, it show good sign we got that request from vmware driver.

svn path=/trunk/; revision=26177

17 years agoAllocate enough memory to copy string
Hervé Poussineau [Sun, 25 Mar 2007 22:42:37 +0000 (22:42 +0000)]
Allocate enough memory to copy string
See issue #2107 for more details.

svn path=/trunk/; revision=26176

17 years agoFix warnings by Pierre Schweitzer
Hervé Poussineau [Sun, 25 Mar 2007 21:25:11 +0000 (21:25 +0000)]
Fix warnings by Pierre Schweitzer
Add svn:eol-style property
See issue #2096 for more details.

svn path=/trunk/; revision=26175

17 years agoUpdated French translation by Pierre Schweitzer
Hervé Poussineau [Sun, 25 Mar 2007 21:20:32 +0000 (21:20 +0000)]
Updated French translation by Pierre Schweitzer
See issue #2001 for more details.

svn path=/trunk/; revision=26174

17 years agoAdd French translation by Stéphane BARTHES
Hervé Poussineau [Sun, 25 Mar 2007 20:59:55 +0000 (20:59 +0000)]
Add French translation by Stéphane BARTHES
Update German translation by Colin Finck
See issue #2101 for more details.

svn path=/trunk/; revision=26173

17 years agoFrench translation by Stéphane BARTHES
Hervé Poussineau [Sun, 25 Mar 2007 20:55:06 +0000 (20:55 +0000)]
French translation by Stéphane BARTHES
See issue #2101 for more details.

svn path=/trunk/; revision=26172

17 years agoFrench translation by Stéphane BARTHES
Hervé Poussineau [Sun, 25 Mar 2007 20:49:00 +0000 (20:49 +0000)]
French translation by Stéphane BARTHES
See issue #2109 for more details.

svn path=/trunk/; revision=26171

17 years ago- Change ScsiPort prototype to match DDK.
Aleksey Bragin [Sun, 25 Mar 2007 18:21:12 +0000 (18:21 +0000)]
- Change ScsiPort prototype to match DDK.

svn path=/trunk/; revision=26170