Commit graph

16384 commits

Author SHA1 Message Date
Royce Mitchell III
a2e91278b6 added some verbosity
standardized back on printf from cout
fixed loop variable conflict

svn path=/trunk/; revision=17518
2005-08-24 20:06:54 +00:00
Royce Mitchell III
86018cbc02 invoke _generate_dsp() have it open the output file, and fix some path parsing and const issues.
svn path=/trunk/; revision=17517
2005-08-24 19:58:07 +00:00
Hervé Poussineau
9195c7dd4f Remove $Id$ tags
Use FATEntry.ShortName field instead of FATEntry.FileName when dealing with full name
Remove LL suffix on long long constants
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)

svn path=/trunk/; revision=17516
2005-08-24 18:29:45 +00:00
Royce Mitchell III
bf3117cb5e _generate_dsp() compiles now, haven't tested yet
svn path=/trunk/; revision=17515
2005-08-24 18:13:00 +00:00
Hervé Poussineau
6b3b47323d Fix IRP_MJ_QUERY_INFORMATION/FileStandardInformation (current code was trying to dereference NULL pointer)
Replace MmGetSystemAddressForMdl by MmGetSystemAddressForMdlSafe

svn path=/trunk/; revision=17514
2005-08-24 15:37:04 +00:00
Hervé Poussineau
66c8fe47e0 Replace ExAllocatePool by ExAllocatePoolWithTag
Fix CHECKPOINT1 definition for MSVC compiler

svn path=/trunk/; revision=17513
2005-08-24 15:33:58 +00:00
Filip Navara
820afe2e92 Make BusyLoop volatile. Spotted by Thomas.
svn path=/trunk/; revision=17512
2005-08-24 14:15:54 +00:00
Filip Navara
1ef2914b90 Implement the most over-optimized lock in NT - the NDIS_RW_LOCK.
svn path=/trunk/; revision=17511
2005-08-24 12:21:18 +00:00
Filip Navara
22432ceb48 Fix the NDIS_RW_LOCK structure.
svn path=/trunk/; revision=17510
2005-08-24 12:20:59 +00:00
Filip Navara
6ba28fd06e Remove bogus and unneeded cast.
svn path=/trunk/; revision=17509
2005-08-24 09:50:18 +00:00
Royce Mitchell III
f9b0db47fe Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now )
svn path=/trunk/; revision=17508
2005-08-24 06:03:34 +00:00
Royce Mitchell III
2a5ef2ef24 bugfix - Replace() was truncating the string
svn path=/trunk/; revision=17507
2005-08-24 06:01:02 +00:00
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