Magnus Olsen
043a16c1dc
more compatible fix betwin reactos ddk and ms DDK version 3790.1830
...
svn path=/trunk/; revision=26214
2007-03-30 20:49:26 +00:00
Magnus Olsen
a6246fbb17
more compatible fix betwin reactos ddk and ms DDK version 3790.1830
...
svn path=/trunk/; revision=26213
2007-03-30 20:04:05 +00:00
Aleksey Bragin
7ea1266acd
- Fix ScsiPortGetDeviceBase() / ScsiPortSetDeviceBase().
...
svn path=/trunk/; revision=26212
2007-03-30 19:24:11 +00:00
Aleksey Bragin
c891e7315a
- 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
2007-03-30 19:10:29 +00:00
Aleksey Bragin
1f9a18b920
- 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
2007-03-30 15:39:27 +00:00
Magnus Olsen
dedbc24d60
more compatible fix betwin reactos ddk and ms DDK version 3790.1830
...
svn path=/trunk/; revision=26209
2007-03-30 15:32:34 +00:00
Magnus Olsen
7b9e24ee13
moref compatible fix betwin reactos ddk and ms DDK version 3790.1830
...
svn path=/trunk/; revision=26208
2007-03-30 15:24:03 +00:00
Magnus Olsen
07ec644063
moref compatible fix betwin reactos ddk and ms DDK version 3790.1830
...
svn path=/trunk/; revision=26207
2007-03-30 15:13:14 +00:00
Magnus Olsen
d255db35bf
fixing usb.h compatible with DDK version 3790.1830
...
adding usb200.h compatible with DDK version 3790.1830
svn path=/trunk/; revision=26206
2007-03-30 14:50:01 +00:00
Aleksey Bragin
b33dcd50d9
- 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
2007-03-30 13:17:06 +00:00
Magnus Olsen
e3701e4987
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
2007-03-30 09:53:34 +00:00
Magnus Olsen
b18be77063
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
2007-03-30 08:47:54 +00:00
Magnus Olsen
0772fa79b5
adding ieverp.h compatible with DDK version 3790.1830
...
svn path=/trunk/; revision=26202
2007-03-30 08:41:21 +00:00
Magnus Olsen
94bc12cc65
fixing ddrawint.h compatible with DDK version 3790.1830
...
adding polarity.h compatible with DDK version 3790.1830
svn path=/trunk/; revision=26201
2007-03-30 08:34:20 +00:00
Aleksey Bragin
fe868c7d45
- Implement a simple error handling branch, however it gets hit due to an error somewhere else.
...
svn path=/trunk/; revision=26200
2007-03-29 21:18:28 +00:00
Aleksey Bragin
3ff7da19ca
- 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
2007-03-29 21:05:41 +00:00
Aleksey Bragin
3d4fc31db6
- 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
2007-03-28 19:26:41 +00:00
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