Commit graph

24296 commits

Author SHA1 Message Date
Hervé Poussineau e2ab9cb060 Don't use ntoskrnl.RtlDuplicateUnicodeString, as it is not exported on MS Windows
svn path=/trunk/; revision=26197
2007-03-28 18:47:35 +00:00
Aleksey Bragin d8175ef0a6 - 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
2007-03-28 18:29:15 +00:00
Johannes Anderwald d7f6674119 - fix memory leak
svn path=/trunk/; revision=26195
2007-03-28 17:43:44 +00:00
Hervé Poussineau 71bef156c4 Fix interrupt resources (related to r21188 fix)
svn path=/trunk/; revision=26194
2007-03-28 17:40:57 +00:00
Aleksey Bragin 93f480d223 Fix HalGetInterruptVector() calls. Should enable input devices after 26188 fix.
svn path=/trunk/; revision=26193
2007-03-28 17:14:16 +00:00
Aleksey Bragin ce0e0958b4 - 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
2007-03-28 10:41:03 +00:00
Aleksey Bragin 24387402f3 - Fix a few simple mistakes / typos.
- Enumerating buses almost works.

svn path=/trunk/; revision=26191
2007-03-28 09:44:37 +00:00
Magnus Olsen 95c38a9cf1 change ObpDosDevicesShortName match the ob.h header prototype
svn path=/trunk/; revision=26190
2007-03-27 21:21:32 +00:00
Aleksey Bragin dfd6a60128 - Rewrite bus scanning / inquiry handling (was BSODing).
- Change a way LUN extensions are stored inside DeviceExtension.

svn path=/trunk/; revision=26189
2007-03-27 21:15:09 +00:00
Aleksey Bragin f5af63ddda - 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
2007-03-27 12:55:57 +00:00
Aleksey Bragin 379a566aa8 Change code, fix warnings, so it finally builds.
svn path=/trunk/; revision=26187
2007-03-27 11:07:12 +00:00
Aleksey Bragin 285adfefbe - Remove old crap files
- Put new .def, add .rbuild

svn path=/trunk/; revision=26186
2007-03-27 10:12:59 +00:00
Aleksey Bragin 86476d7a1b Branch scsiport from the "before hbirr rewrite" state (rev. 8950).
svn path=/trunk/; revision=26185
2007-03-27 10:07:57 +00:00
Timo Kreuzer 9c00af1b5f fix a tiny mem leak
svn path=/trunk/; revision=26184
2007-03-27 02:52:42 +00:00
Hervé Poussineau 76f7f2d03a Include nci.mak later, as it needs $(ARCH) variable
Fix a typo in ncitool

svn path=/trunk/; revision=26183
2007-03-26 23:43:07 +00:00
Hervé Poussineau cd21248e88 Add missing file
svn path=/trunk/; revision=26182
2007-03-26 23:00:58 +00:00
Hervé Poussineau 0e5cca2a4e - 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
2007-03-26 22:56:22 +00:00
Hervé Poussineau acad1159c3 Cleanup code for easier porting to other architectures
svn path=/trunk/; revision=26180
2007-03-26 20:28:13 +00:00
Aleksey Bragin 87d76d8d95 Commit to test SVN 1.4.3 upgrade...
svn path=/trunk/; revision=26179
2007-03-26 18:56:35 +00:00
Magnus Olsen 24f90dc0c9 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
2007-03-26 07:49:05 +00:00
Magnus Olsen 8362925634 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
2007-03-26 03:46:11 +00:00
Hervé Poussineau e9f5948d58 Allocate enough memory to copy string
See issue #2107 for more details.

svn path=/trunk/; revision=26176
2007-03-25 22:42:37 +00:00
Hervé Poussineau b58b255ebf Fix warnings by Pierre Schweitzer
Add svn:eol-style property
See issue #2096 for more details.

svn path=/trunk/; revision=26175
2007-03-25 21:25:11 +00:00
Hervé Poussineau 06c88018fb Updated French translation by Pierre Schweitzer
See issue #2001 for more details.

svn path=/trunk/; revision=26174
2007-03-25 21:20:32 +00:00
Hervé Poussineau 50e595a2db Add French translation by Stéphane BARTHES
Update German translation by Colin Finck
See issue #2101 for more details.

svn path=/trunk/; revision=26173
2007-03-25 20:59:55 +00:00
Hervé Poussineau d94852e52a French translation by Stéphane BARTHES
See issue #2101 for more details.

svn path=/trunk/; revision=26172
2007-03-25 20:55:06 +00:00
Hervé Poussineau 54ddef051a French translation by Stéphane BARTHES
See issue #2109 for more details.

svn path=/trunk/; revision=26171
2007-03-25 20:49:00 +00:00
Aleksey Bragin fff4893bbc - Change ScsiPort prototype to match DDK.
svn path=/trunk/; revision=26170
2007-03-25 18:21:12 +00:00
Aleksey Bragin 87967349f8 - Add a few more IOCTLs needed for storage stack
- Add a couple of structs from DDK
- Change ScsiPort prototype to match DDK

svn path=/trunk/; revision=26169
2007-03-25 18:18:51 +00:00
Aleksey Bragin e0fff4a12f rbuild uses TABs for indentation.
svn path=/trunk/; revision=26168
2007-03-25 17:24:52 +00:00
Alex Ionescu c28da2e61a - Fixup some kernel module debugging flags/settings from leftovers.
- Enable debugging during text-mode setup.
- Optimize KeSynhronizeExecution into assembly so we can avoid using EBP and have the fastest possible routine, since it is performance critical.
- 

svn path=/trunk/; revision=26167
2007-03-25 14:33:54 +00:00
Aleksey Bragin ea6edc618d More 26160-style fixes (mandatory addressing of PCR via FS register).
Alex & Dmitry - please check this, just in case.

svn path=/trunk/; revision=26166
2007-03-25 14:31:03 +00:00
Aleksey Bragin 51147f6c84 - Fix (and optimize) KeRemoveByKeyDeviceQueue() routine.
- Add DPRINTs for easier testing/debugging.

svn path=/trunk/; revision=26165
2007-03-25 13:23:30 +00:00
Magnus Olsen 34713168d4 Fixing smaller bugs in dx after some analyzing how vmware drv works.
1. vmware drv do not implement DrvGetDirectDrawInfo
   that show windows 2000/XP/2003 that mean u are not force to implement this api in the drv, only INDEX_DrvEnableDirectDraw and INDEX_DrvDisableDirectDraw are req to be implement in the driver. 

svn path=/trunk/; revision=26164
2007-03-25 10:53:05 +00:00
Ged Murphy 3907b65ae1 rearrange servman language files before sbs goes crazy ...
svn path=/trunk/; revision=26163
2007-03-24 14:55:57 +00:00
Ged Murphy aee5aaff2e ensure correct linkage. fixes build
svn path=/trunk/; revision=26162
2007-03-24 11:36:36 +00:00
Ged Murphy 00b0578558 make entry points unicode compliant
thanks to Colin Finck for noticing

svn path=/trunk/; revision=26161
2007-03-24 10:38:15 +00:00
Dmitry Gorbachev 6afc128ac7 Fix a bug.
svn path=/trunk/; revision=26160
2007-03-24 08:31:23 +00:00
Magnus Olsen 8d9781fe92 rewrite old NtGdiDdBlt I wrote so it match with the new caching of Dx pointers. Fixing varius problem in NtGdiDdCreateSurface. But some who the color are not being draw right with DdBlt work in Progress to figout why. But it works now partly yes dx start working. at kmode or syscall for real apps. or if they are using gdi32.dll or d3d8thk.dll
svn path=/trunk/; revision=26159
2007-03-23 17:07:49 +00:00
Thomas Bluemel 2ac1a08519 Fix bugs in GetBinaryType reported by songlei@qihoo.net
svn path=/trunk/; revision=26158
2007-03-23 15:34:34 +00:00
Magnus Olsen b54c8f6b9b Thank CodeMercenary (CodeMercenary at hotmail dot com) that provide ms ddk example driver code is wrong for how to write a graphice driver with dx support. he gave me input and provide the ddk example code is wrong.
Now I change the desgin after correct infomations
so it lead to even less overhead of code. 
 
 

svn path=/trunk/; revision=26157
2007-03-23 12:47:19 +00:00
Timo Kreuzer b7763201df fix build
svn path=/trunk/; revision=26156
2007-03-23 01:52:24 +00:00
Aleksey Bragin eebea09420 When initial setup is running it asks to press enter to format the drive, then
it displays the exact same message again before finally formatting the drive.

Thanks Colin_Finck.

See issue #1964 for more details.

svn path=/trunk/; revision=26155
2007-03-22 18:38:48 +00:00
Ged Murphy f279772add fix icon
svn path=/trunk/; revision=26154
2007-03-22 18:37:23 +00:00
Hervé Poussineau cc526db47b Send service name to pnproot driver (not used yet)
svn path=/trunk/; revision=26153
2007-03-22 17:13:14 +00:00
Aleksey Bragin fed3766e68 - Clear DPC request when delivering DPCs from the idle loop
(by Alex Ionescu).

svn path=/trunk/; revision=26152
2007-03-21 21:28:58 +00:00
Hervé Poussineau b3f670a641 Add svn:eol-style property
svn path=/trunk/; revision=26151
2007-03-21 20:32:38 +00:00
Hervé Poussineau 3b3c9641e4 Clear DO_DEVICE_INITIALIZING flag when device is initialized.
See issue #1790 for more details.

svn path=/trunk/; revision=26150
2007-03-21 18:13:32 +00:00
Johannes Anderwald f8cf12b484 - revert 26147
svn path=/trunk/; revision=26149
2007-03-21 17:16:26 +00:00
Aleksey Bragin 6276a365f6 - KiRosFrldrLpbToNtLpb(): Round up to the correct size in pages (I don't see a reason to provide a "cropped" size of modules).
- Change "FreeLDR BIAS hack" to a better one: measure sizes of all 3 codepages, and place them contiguously. Is this still required at all? On my system I didn't see a case when these tables are placed not contiguously by freeldr.
- This fixes early bugcheck in ExpInitNls().

svn path=/trunk/; revision=26148
2007-03-21 14:31:57 +00:00