Commit graph

16345 commits

Author SHA1 Message Date
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
Steven Edwards
b87887e917 ...I hate windows and its concepts of case in filenames...
svn path=/trunk/; revision=17456
2005-08-21 04:04:13 +00:00
Steven Edwards
ceef1f78ae add a more descriptive message about the state of the MSVC backend
svn path=/trunk/; revision=17455
2005-08-21 03:24:37 +00:00
Steven Edwards
fb2f0898bf started working on a msvc2k5 backend. Mostly a dummy atm based on the devcpp backend
svn path=/trunk/; revision=17454
2005-08-21 01:29:56 +00:00
Filip Navara
d08bee5539 Report the PCI bus type as PCIBus instead of Internal.
svn path=/trunk/; revision=17453
2005-08-20 23:50:06 +00:00
Brandon Turner
7677f95c2c optimize 17218 by using memmove instead of memcopy and not using _tcsncmp. Suggested by thomas.
svn path=/trunk/; revision=17452
2005-08-20 19:04:38 +00:00
Brandon Turner
bf127ab4fb Open err redirection the same as output redirection. Batch file does not need to be opened with FILE_FLAG_WRITE_THROUGH since it is read only, catch by thomas.
svn path=/trunk/; revision=17451
2005-08-20 18:30:25 +00:00
Brandon Turner
c7163ec449 Change the way batch files and output files are opened. They now allow write and delete while being excuted. This is how MS cmd is done. Thanks to Greatlord, Filip, Thomas.
svn path=/trunk/; revision=17450
2005-08-20 18:07:59 +00:00
Royce Mitchell III
1ad828873f added clean rule
svn path=/trunk/; revision=17448
2005-08-19 21:58:31 +00:00
Steven Edwards
565a32245f use instead of g++
svn path=/trunk/; revision=17447
2005-08-19 21:56:14 +00:00
Royce Mitchell III
4cdcc88ae0 spelling/grammar
svn path=/trunk/; revision=17446
2005-08-19 21:54:59 +00:00
Royce Mitchell III
07435bc9ca mingw makefile + more mingw compatibility fixes
svn path=/trunk/; revision=17445
2005-08-19 21:53:40 +00:00
Steven Edwards
999292611d ditto
svn path=/trunk/; revision=17444
2005-08-19 21:21:58 +00:00
Royce Mitchell III
595c382dbc mingw compatibility fixes
svn path=/trunk/; revision=17443
2005-08-19 21:21:05 +00:00
Steven Edwards
623af9cd28 mixed case sucks
svn path=/trunk/; revision=17442
2005-08-19 21:21:04 +00:00
Gé van Geldorp
927cbf4440 Add generation of 8bpp DIB code
svn path=/trunk/; revision=17441
2005-08-19 20:56:01 +00:00
Steven Edwards
ceb380247b Added support for MOVEFILE_DELAY_UNTIL_REBOOT, based on Wine code by Gerhard W. Gruber and others. Still requires smss to check the key.
svn path=/trunk/; revision=17440
2005-08-19 19:05:59 +00:00
Emanuele Aliberti
c84b875eac XML chunks are required to contain a single node.
svn path=/trunk/; revision=17438
2005-08-19 15:28:41 +00:00
Emanuele Aliberti
88d1bd4d58 Moved keyboard mappers need to picked up from the right place.
svn path=/trunk/; revision=17437
2005-08-19 15:27:39 +00:00
Emanuele Aliberti
d830459d8c Group keyboard mappers in a common directory, like CPLs.
svn path=/trunk/; revision=17436
2005-08-19 15:26:02 +00:00
Gé van Geldorp
a4c7ecd803 Import VMware open source BusLogic driver
Hartmut made it work in ReactOS.

svn path=/trunk/; revision=17434
2005-08-18 21:59:20 +00:00
Alex Ionescu
20d4ebeffc Fix boot
svn path=/trunk/; revision=17431
2005-08-18 21:25:04 +00:00
Magnus Olsen
9eeadb66ec implement errorlevel in some cmd command and bug fix some errorlevel command. Hopply it is last commit about errorlevel. Please can some test see if all cmd command have right errorlevel set or not set. I have not test every command if they got right errorlevel setting. But They should have it now.
svn path=/trunk/; revision=17430
2005-08-18 20:52:52 +00:00
Gé van Geldorp
a6b62e7c0d Add generation of 32bpp DIB code
svn path=/trunk/; revision=17429
2005-08-18 19:26:37 +00:00
Brandon Turner
106794e0ab make dir change errorlevel to 0 on success.
svn path=/trunk/; revision=17428
2005-08-18 15:21:57 +00:00
Brandon Turner
c7d3d9b183 Test commit, adding myself to the cmd credits.
svn path=/trunk/; revision=17427
2005-08-18 15:04:04 +00:00
Hartmut Birr
6888f719c5 Fixed the directory index for FATX in FATXAddEntry.
svn path=/trunk/; revision=17426
2005-08-18 11:51:27 +00:00
Hartmut Birr
f8cf29f8d0 Load the symbols from ntoskrn.exe from the boot cd, if it is possible.
svn path=/trunk/; revision=17425
2005-08-17 20:41:15 +00:00