Commit graph

16422 commits

Author SHA1 Message Date
Royce Mitchell III
e5cc52e14b almost done converting _generate_dsp(), but have to quit for the night, so commiting what's done so far.
svn path=/trunk/; revision=17506
2005-08-24 05:58:14 +00:00
Royce Mitchell III
47b458eed1 new helper function Replace()
svn path=/trunk/; revision=17505
2005-08-24 05:50:21 +00:00
Royce Mitchell III
db03491cdc vc6 build files - just in case somebody else wants to use them
svn path=/trunk/; revision=17504
2005-08-24 04:00:37 +00:00
Steven Edwards
d708ff3ba3 remove a few of the Wine hacks
svn path=/trunk/; revision=17503
2005-08-24 03:56:25 +00:00
Royce Mitchell III
ff8f4e3c6a new top-level target 'msvc' to create msvc build files
svn path=/trunk/; revision=17502
2005-08-24 03:39:10 +00:00
Royce Mitchell III
a864a2c137 import wine's "msvcmaker" perl script and begin converting it to C++ - so far it creates the DSW file.
svn path=/trunk/; revision=17501
2005-08-24 03:38:20 +00:00
Royce Mitchell III
ed985615ec added some comments to illustrate the output of several path-related functions
svn path=/trunk/; revision=17500
2005-08-24 03:18:13 +00:00
Royce Mitchell III
ae5026eb5b fix to not crash when built with msvc6 ( bad calling convention on imports ).
fix error-handling bugs, added missing error-handling

svn path=/trunk/; revision=17499
2005-08-24 02:55:08 +00:00
Filip Navara
c905ca8a31 Get rid of one memory leak and two more ROS-only fields in LOGICAL_ADAPTER structure.
svn path=/trunk/; revision=17498
2005-08-24 02:20:41 +00:00
Filip Navara
82af9fdaa8 Start removing dead code and ReactOS specific structure fields (the NDIS structures are official, documented and contain all we need).
svn path=/trunk/; revision=17497
2005-08-24 01:51:49 +00:00
Filip Navara
f68e4fcc28 Fix few macros to work with the corrected declarations.
svn path=/trunk/; revision=17496
2005-08-24 00:04:21 +00:00
Royce Mitchell III
b696000363 remove incorrect comment (copy/paste error)
svn path=/trunk/; revision=17495
2005-08-23 23:20:23 +00:00
Filip Navara
1b15c0cf70 Get rid of NdisWorkItemHalt.
svn path=/trunk/; revision=17494
2005-08-23 23:08:40 +00:00
Royce Mitchell III
07b11a6760 msvc6 compatibility
svn path=/trunk/; revision=17493
2005-08-23 23:06:58 +00:00
Royce Mitchell III
431f66d687 proxy makefile for rbuild
svn path=/trunk/; revision=17492
2005-08-23 23:06:19 +00:00
Filip Navara
6b949b43ea Remove buffer pool implementation and replace buffer allocation with binary compatible functions (since some of them are macroized in DDK headers), other cosmetic changes.
svn path=/trunk/; revision=17491
2005-08-23 23:02:35 +00:00
Hervé Poussineau
ac0a5c446f Remove incorrect definition of NLS_MB_CODE_PAGE_TAG. The correct definition is 2 lines above.
svn path=/trunk/; revision=17490
2005-08-23 22:25:35 +00:00
Filip Navara
0a0c2fc103 Remove obsolete APIs and APIs that are actually implemented only as macros.
svn path=/trunk/; revision=17489
2005-08-23 22:24:54 +00:00
Filip Navara
f6283b4bca MS DDK compatibility fixes.
svn path=/trunk/; revision=17488
2005-08-23 22:11:03 +00:00
Filip Navara
4076e16a99 Shut up PREFAST warnings about shadowing declarations.
svn path=/trunk/; revision=17487
2005-08-23 20:18:55 +00:00
Filip Navara
eea6d92c91 Fix incorrect string manipulation in NdisOpenProtocolConfiguration and add few casts to make compiler happy.
svn path=/trunk/; revision=17486
2005-08-23 20:13:31 +00:00
Hartmut Birr
4a6a7d1ccc ReturnRecognizedPartitions in HalIoReadPartitionTable means that used and real partitions should be returned.
svn path=/trunk/; revision=17485
2005-08-23 17:43:58 +00:00
Hartmut Birr
b3f11cfb38 Fixed the calculation of the boot disk number in i386DiskGetSystemVolume.
We have to count all used partititions instead of the known one.

svn path=/trunk/; revision=17484
2005-08-23 17:42:12 +00:00
Hervé Poussineau
d373f6bfb0 Fix special case in SetupGetLineTextA/W and SetupGetStringFieldA/W when Buffer is NULL and BufferSize is 0, by reverting part of r17162
Fixes bug #724, spotted by GvG
Do according changes in SetupDiBuildDriverInfoList

svn path=/trunk/; revision=17483
2005-08-23 17:38:14 +00:00
Filip Navara
05c41b4d84 Name the proxy makefiles "GNUmakefile" instead of "makefile".
svn path=/trunk/; revision=17482
2005-08-23 14:56:38 +00:00
Gé van Geldorp
831c62d703 Rewrite project target
svn path=/trunk/; revision=17481
2005-08-23 14:51:03 +00:00
Filip Navara
9cb9ed7b8b Set the service group for i8042prt.
svn path=/trunk/; revision=17480
2005-08-23 14:26:00 +00:00
Alex Ionescu
f3f3986cdc use correct wait mode when checking alertability in KeDelayExecuteThread. thanks to gunnar for noticing the bug
svn path=/trunk/; revision=17479
2005-08-22 23:33:51 +00:00
Filip Navara
db6c51690e Actually break out of the wait loops if we got alerted.
svn path=/trunk/; revision=17478
2005-08-22 21:35:41 +00:00
Thomas Bluemel
38caf3038e rename IsKernelPointer to IsPointerOffset
svn path=/trunk/; revision=17477
2005-08-22 15:20:49 +00:00
Gunnar Dalsnes
453763e6eb move old cruft
svn path=/trunk/; revision=17476
2005-08-22 14:39:10 +00:00
Gunnar Dalsnes
035c4b73a1 prepare move old cruft
svn path=/trunk/; revision=17475
2005-08-22 14:26:37 +00:00
Thomas Bluemel
bd73d35e4d added a macro IsKernelPointer() to test whether a pointer value points to the kernel address space. This is needed because on IA-64 the MSB is not necessarily set for pointers to the kernel address space.
svn path=/trunk/; revision=17474
2005-08-22 13:38:30 +00:00
Filip Navara
27d68c7b2f Cleanup IoGetDmaAdapter and use HalGetDmaAdapter instead of HalGetAdapter.
svn path=/trunk/; revision=17473
2005-08-22 10:51:05 +00:00
Filip Navara
4fd4530977 Export the HalGetDmaAdapter callback and use some nice macros where appropriate.
svn path=/trunk/; revision=17472
2005-08-22 10:47:29 +00:00
Filip Navara
8872cc5e5d Add missing definitions for HalDispatchTable callbacks.
svn path=/trunk/; revision=17471
2005-08-22 10:29:51 +00:00
Filip Navara
a0b8ef87a8 Complete reimplementation of HAL DMA routines.
The key changes are
* Proper support for bus-master device adapters.
* Real implementation of map registers.
* Basic support for emulating scatter/gather DMA on
  devices that don't support it in hardware.
* Support for transfers that aren't page aligned.
* Proper detection and support of EISA DMA controllers.
* Fixed prototype for HalFlushCommonBuffer.

svn path=/trunk/; revision=17470
2005-08-22 08:39:42 +00:00
Brandon Turner
1fb85e029e Fix a CD bug spotted by ravelo_. This is simlair to bug 690. cd foo\"bar", cd "foo"\"bar"" and other of the sorts are all valid.
svn path=/trunk/; revision=17469
2005-08-21 20:44:47 +00:00
Steven Edwards
b1db227eed prompt to configure for Mingw after building project files
svn path=/trunk/; revision=17468
2005-08-21 19:35:19 +00:00
Thomas Bluemel
5e348c00c1 - use inlined probing macros for basic types
- minor optimizations by comparing the processor mode against KernelMode (==0) instead of UserMode (==1)

svn path=/trunk/; revision=17467
2005-08-21 19:04:23 +00:00
Thomas Bluemel
84f88f6480 use inlined probing macros for basic types
svn path=/trunk/; revision=17466
2005-08-21 17:38:07 +00:00
Filip Navara
632d85cc3b Replace wcsncpy with lstrcpynW / memcpy as appropriate.
svn path=/trunk/; revision=17465
2005-08-21 15:54:48 +00:00
Filip Navara
c2e747ed00 Fix implementation of wcsnlen and strnlen.
svn path=/trunk/; revision=17464
2005-08-21 15:51:57 +00:00
Filip Navara
dc4c46f7cc Fix buffer overflow in lstrcpynW and lstrcpynA.
svn path=/trunk/; revision=17463
2005-08-21 15:51:23 +00:00
Thomas Bluemel
10cd89fb4e - use inlined probing macros for basic types
- documented dozens of vulnerabilities in NtOpenThread, NtCreateThread and NtOpenProcess (owner may fix them)

svn path=/trunk/; revision=17462
2005-08-21 15:38:47 +00:00
Thomas Bluemel
6e74d05c08 add macros to probe basic type pointers
svn path=/trunk/; revision=17461
2005-08-21 15:14:36 +00:00
Thomas Bluemel
5d1efdc288 fixed uninitialized variable warning
svn path=/trunk/; revision=17460
2005-08-21 15:00:29 +00:00
Thomas Bluemel
c0e80c80f9 add prototypes of RtlDosPathNameToRelativeNtPathName_U and RtlReleaseRelativeName and export them
svn path=/trunk/; revision=17459
2005-08-21 14:58:47 +00:00
Steven Edwards
f0652f0b65 add fix it to build on linux
svn path=/trunk/; revision=17458
2005-08-21 14:41:20 +00:00
Steven Edwards
d45951b413 added a genguid helper function based on genguid by Jon Wilson. Will be needed later on when building project files.
svn path=/trunk/; revision=17457
2005-08-21 14:04:19 +00:00