Robert Dickenson [Thu, 26 Dec 2002 17:04:46 +0000 (17:04 +0000)]
Added new Service Control utitlity.
svn path=/trunk/; revision=3890
Gé van Geldorp [Sun, 22 Dec 2002 11:38:41 +0000 (11:38 +0000)]
Fix sector size for AT LBA drives at 512 bytes
svn path=/trunk/; revision=3889
Gé van Geldorp [Sun, 22 Dec 2002 11:35:15 +0000 (11:35 +0000)]
Fixed typo, Edi was not restored
svn path=/trunk/; revision=3888
Gé van Geldorp [Sun, 22 Dec 2002 11:26:01 +0000 (11:26 +0000)]
Volume label doesn't always have the ARCHIVE bit set
svn path=/trunk/; revision=3887
Jason Filby [Sun, 22 Dec 2002 10:50:04 +0000 (10:50 +0000)]
Oops! Commented out offending line
svn path=/trunk/; revision=3886
Jason Filby [Sat, 21 Dec 2002 19:25:41 +0000 (19:25 +0000)]
Scrollbar improvements
svn path=/trunk/; revision=3885
Eric Kohl [Sat, 21 Dec 2002 14:54:47 +0000 (14:54 +0000)]
Add bootsectors and FREELDR.SYS to bootcd.
svn path=/trunk/; revision=3884
Robert Dickenson [Sat, 21 Dec 2002 04:46:09 +0000 (04:46 +0000)]
Revisted the packet capture driver and updated with fixes in latest 3.0a4 release.
Seems I'll need to do some work on the SCM before this'll be running for me.
svn path=/trunk/; revision=3883
Hartmut Birr [Mon, 16 Dec 2002 23:23:21 +0000 (23:23 +0000)]
Replaced some calls to DbgPrint with the DPRINT macro.
svn path=/trunk/; revision=3882
Hartmut Birr [Mon, 16 Dec 2002 22:59:44 +0000 (22:59 +0000)]
Unmap the low memory in SMP mode in MmInit3.
svn path=/trunk/; revision=3881
Hartmut Birr [Mon, 16 Dec 2002 22:56:30 +0000 (22:56 +0000)]
Fixed Exfi386InterlockedExchangeUlong and InterlockedExchange.
svn path=/trunk/; revision=3880
Casper Hornstrup [Sun, 15 Dec 2002 17:01:52 +0000 (17:01 +0000)]
2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
when initialized.
* drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
* lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
are both 0.
* ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
* ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
* ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
(MmCreateDataFileSection): Make sure caching is initialized for the file
stream.
svn path=/trunk/; revision=3879
Eric Kohl [Sun, 15 Dec 2002 14:34:43 +0000 (14:34 +0000)]
Use lookaside list to allocate SRBs.
svn path=/trunk/; revision=3878
Robert Dickenson [Sun, 15 Dec 2002 06:34:43 +0000 (06:34 +0000)]
created kernel32.mc message file which generates errcodes.rc, MSG00409.bin and /include/reactos/errcodes.h
need to figure out how to get these to build automatically at the dependancy stage before including the output rc into kernel32 resources.
svn path=/trunk/; revision=3877
Steven Edwards [Sun, 15 Dec 2002 00:23:31 +0000 (00:23 +0000)]
Apply'd hartmut sector size patch for VMware.
Please report if you have problems on your platform
svn path=/trunk/; revision=3876
Steven Edwards [Sat, 14 Dec 2002 17:36:51 +0000 (17:36 +0000)]
Added more stubs for bochs.
svn path=/trunk/; revision=3875
Robert Dickenson [Sat, 14 Dec 2002 14:42:01 +0000 (14:42 +0000)]
Updated test program.
Successfully reads and writes short test buffer using stream I/O, both A and W versions.
Tests for correct handling of /r/n in text modes however nothing as yet for multi-bytes.
If you rebuild me watch out for the dependacy _tfileio.c which doesn't have an entry in the makefile.
svn path=/trunk/; revision=3874
Eric Kohl [Fri, 13 Dec 2002 19:35:12 +0000 (19:35 +0000)]
Fixed data overrun upon read commands.
svn path=/trunk/; revision=3873
Eric Kohl [Thu, 12 Dec 2002 17:04:01 +0000 (17:04 +0000)]
Don't build ide.sys any longer.
svn path=/trunk/; revision=3872
Robert Dickenson [Thu, 12 Dec 2002 04:53:23 +0000 (04:53 +0000)]
Fixed "kernel32_test codepage" conformance test:
C:\reactos\bin>kernel32_test codepage
codepage: 2 tests executed, 0 marked as todo, 0 failures.
Plus a bit of cvsignoring and #ifdef's in stubs for trying to build with the ole2nls module.
svn path=/trunk/; revision=3871
Robert Dickenson [Wed, 11 Dec 2002 04:39:20 +0000 (04:39 +0000)]
KdDebuggerEnable -> KdDebuggerEnabled
svn path=/trunk/; revision=3870
Hartmut Birr [Tue, 10 Dec 2002 19:09:26 +0000 (19:09 +0000)]
Removed dependancy tracking.
svn path=/trunk/; revision=3869
Steven Edwards [Tue, 10 Dec 2002 17:03:03 +0000 (17:03 +0000)]
Linking not hosed now. Fixed via import of -lstdc++.
svn path=/trunk/; revision=3868
Steven Edwards [Tue, 10 Dec 2002 17:01:16 +0000 (17:01 +0000)]
Fixed makefile for cabman. Linking is still hosed.
svn path=/trunk/; revision=3867
Eric Kohl [Tue, 10 Dec 2002 12:18:33 +0000 (12:18 +0000)]
Added the Promise Ultra100 (PDC20267) controller to the list of supported atapi controllers.
svn path=/trunk/; revision=3866
Robert Dickenson [Tue, 10 Dec 2002 09:31:30 +0000 (09:31 +0000)]
Put things back how they work for others until I work it out properly.
svn path=/trunk/; revision=3865
Eric Kohl [Mon, 9 Dec 2002 23:15:57 +0000 (23:15 +0000)]
Replaced bios error codes by valid status codes.
svn path=/trunk/; revision=3864
Eric Kohl [Mon, 9 Dec 2002 23:14:04 +0000 (23:14 +0000)]
Implemented ScsiPortGetDeviceBase() and ScsiPortFreeDeviceBase().
svn path=/trunk/; revision=3863
Eric Kohl [Mon, 9 Dec 2002 23:09:25 +0000 (23:09 +0000)]
Fixed buggy system hive identification.
svn path=/trunk/; revision=3862
Hartmut Birr [Mon, 9 Dec 2002 20:16:42 +0000 (20:16 +0000)]
Fixed some bugs in the wait functions.
svn path=/trunk/; revision=3861
Hartmut Birr [Mon, 9 Dec 2002 20:15:25 +0000 (20:15 +0000)]
Protected the access to system_time with a spinlock.
svn path=/trunk/; revision=3860
Hartmut Birr [Mon, 9 Dec 2002 20:13:12 +0000 (20:13 +0000)]
Fixed the setting of the real time clock.
svn path=/trunk/; revision=3859
Hartmut Birr [Mon, 9 Dec 2002 20:11:56 +0000 (20:11 +0000)]
Added ntdll.a to TARGET_SDKLIBS. Ntdll.a is needed to import DbgPrint for DPRINT macros.
svn path=/trunk/; revision=3858
Hartmut Birr [Mon, 9 Dec 2002 20:09:24 +0000 (20:09 +0000)]
Added -D_MSVCRT_LIB_ to TARGET_CFLAGS and ntdll.a to TARGET_SDKLIBS.
Ntdll.a is needed to import DbgPrint for DPRINT macros.
svn path=/trunk/; revision=3857
Hartmut Birr [Mon, 9 Dec 2002 20:07:46 +0000 (20:07 +0000)]
Disabled the definition of DbgPrint for __GNUC__. DbgPrint is imported from ntdll.dll.
svn path=/trunk/; revision=3856
Hartmut Birr [Mon, 9 Dec 2002 20:06:24 +0000 (20:06 +0000)]
Fixed the initializing of the C runtime handles.
svn path=/trunk/; revision=3855
Hartmut Birr [Mon, 9 Dec 2002 20:04:44 +0000 (20:04 +0000)]
Added support for shared interrupts (tested with a promise ultra100tx2 controller).
Added support for the Promise utra100tx2 controller.
Used multiple sector commands and 32bit IO only if the disk does support this.
svn path=/trunk/; revision=3854
Hartmut Birr [Mon, 9 Dec 2002 20:01:14 +0000 (20:01 +0000)]
Added more debug messages.
Register interrupts with hal and allow shared interrupts.
svn path=/trunk/; revision=3853
Hartmut Birr [Mon, 9 Dec 2002 19:57:56 +0000 (19:57 +0000)]
Register interrupts with hal.
svn path=/trunk/; revision=3852
Hartmut Birr [Mon, 9 Dec 2002 19:53:44 +0000 (19:53 +0000)]
Enable/Disable the irq in KeConnectInterrupt/KeDisconnectInterrupt.
Call each registered interrupt in KiInterruptDispatch2 (only for UP).
svn path=/trunk/; revision=3851
Hartmut Birr [Mon, 9 Dec 2002 19:51:16 +0000 (19:51 +0000)]
Fixed handling for level triggered interrupts.
svn path=/trunk/; revision=3850
Hartmut Birr [Mon, 9 Dec 2002 19:47:22 +0000 (19:47 +0000)]
Protected the cmos ports with a spinlock.
svn path=/trunk/; revision=3849
Hartmut Birr [Mon, 9 Dec 2002 19:46:39 +0000 (19:46 +0000)]
Fixed the calculation of the irql.
svn path=/trunk/; revision=3848
Hartmut Birr [Mon, 9 Dec 2002 19:45:55 +0000 (19:45 +0000)]
Fixed the addressing of pci device and function numbers.
Protected the pci ports with a spinlock.
Fixed the calculation of the irql.
Added HalpTranslatePciAddress.
svn path=/trunk/; revision=3847
Hartmut Birr [Mon, 9 Dec 2002 19:44:44 +0000 (19:44 +0000)]
Added HalpGetIsaInterruptVector.
svn path=/trunk/; revision=3846
Robert Dickenson [Mon, 9 Dec 2002 18:44:05 +0000 (18:44 +0000)]
Commented out reference to VECTOR2IRQ in order to get MP config building.
svn path=/trunk/; revision=3845
Robert Dickenson [Mon, 9 Dec 2002 18:42:41 +0000 (18:42 +0000)]
Commented out call to PsDispatchThread(THREAD_STATE_RUNNABLE) in order to get MP config building.
svn path=/trunk/; revision=3844
Robert Dickenson [Mon, 9 Dec 2002 18:40:45 +0000 (18:40 +0000)]
Added a dummy copy of KiInterruptDispatch2 and removed reference to KeGetCurrentThread()->LastEip in order to get MP config building.
svn path=/trunk/; revision=3843
Robert Dickenson [Mon, 9 Dec 2002 17:26:00 +0000 (17:26 +0000)]
Still... having problems with auto-depends on when running building Windows.
DEPENDS_PATH := $(PATH_TO_TOP)/tools/
Seems to need a trailing / on the other option as well???
I can't explain what's going on here, so I'm trying to fix it by trial and error.
Once again, please let me know if it breaks things for others.
svn path=/trunk/; revision=3842
Robert Dickenson [Mon, 9 Dec 2002 17:03:09 +0000 (17:03 +0000)]
Still having problems with auto-depends on when running building Windows.
Cannot see how or when this problem was introduced, just suddenly stopped working the other day...
Appending the final \ seems to get it fixed again.
DEPENDS_PATH := $(subst /,\,$(PATH_TO_TOP))\tools\
Please let me know if it breaks things for others.
svn path=/trunk/; revision=3841
Robert Dickenson [Mon, 9 Dec 2002 15:38:18 +0000 (15:38 +0000)]
Added some more libraries which now build to the WINE_DLLS section.
svn path=/trunk/; revision=3840
Robert Dickenson [Mon, 9 Dec 2002 15:18:11 +0000 (15:18 +0000)]
Rollback removal of auto-dependancy checking.
Another version of make had made it's way in front of my path )^;
svn path=/trunk/; revision=3839
Eric Kohl [Sun, 8 Dec 2002 18:54:45 +0000 (18:54 +0000)]
Fixed a bug which created new registry hives in the wrong directory.
svn path=/trunk/; revision=3838
Robert Dickenson [Sun, 8 Dec 2002 16:26:52 +0000 (16:26 +0000)]
minor format modifications to reduce diffs with latest wine sources to simplify updating.
mainly just updated with LGPL license in headers.
svn path=/trunk/; revision=3837
Robert Dickenson [Sun, 8 Dec 2002 16:23:33 +0000 (16:23 +0000)]
minor format modifications to reduce diffs with duplicates elsewhere in tree.
comment out depends rule in makefile since it doesn't work when building on windows.
svn path=/trunk/; revision=3836
Robert Dickenson [Sun, 8 Dec 2002 16:18:30 +0000 (16:18 +0000)]
typos, reduce mingw header diffs, extra includes.
svn path=/trunk/; revision=3835
Robert Dickenson [Sun, 8 Dec 2002 16:14:28 +0000 (16:14 +0000)]
Fix for wide character streams.
svn path=/trunk/; revision=3834
Robert Dickenson [Sun, 8 Dec 2002 16:07:18 +0000 (16:07 +0000)]
Adding support for resource based error message table
svn path=/trunk/; revision=3833
Robert Dickenson [Sun, 8 Dec 2002 15:57:40 +0000 (15:57 +0000)]
Split out the resource functions for finer control of debug output.
svn path=/trunk/; revision=3832
Eric Kohl [Sat, 7 Dec 2002 15:43:29 +0000 (15:43 +0000)]
Ouch!
svn path=/trunk/; revision=3831
Eric Kohl [Sat, 7 Dec 2002 14:47:10 +0000 (14:47 +0000)]
Call CmInit2() only if the system hive was imported.
svn path=/trunk/; revision=3830
Eric Kohl [Fri, 6 Dec 2002 21:39:04 +0000 (21:39 +0000)]
Added progress bar to file copy page.
svn path=/trunk/; revision=3828
Eric Kohl [Fri, 6 Dec 2002 17:33:16 +0000 (17:33 +0000)]
Fixed warnings.
svn path=/trunk/; revision=3827
Eric Kohl [Fri, 6 Dec 2002 17:31:33 +0000 (17:31 +0000)]
Fixed a typo.
svn path=/trunk/; revision=3826
Robert Dickenson [Fri, 6 Dec 2002 13:14:14 +0000 (13:14 +0000)]
In search of meaningful error messages and some housekeeping on the stubs file.
svn path=/trunk/; revision=3825
Brian Palmer [Fri, 6 Dec 2002 04:43:02 +0000 (04:43 +0000)]
Changes in v1.7.12 (12/05/2002) (brianp)
- Minor tweak to UI code to allow description
text to be displayed along with the progress
bar.
svn path=/trunk/; revision=3824
Brian Palmer [Fri, 6 Dec 2002 04:00:41 +0000 (04:00 +0000)]
Changes in v1.7.11 (12/05/2002) (brianp)
- Added memory map count to GetBiosMemoryMap() so that
it doesn't just assume the size of the array.
- Fix so that we use the continuation value that
the BIOS returns.
svn path=/trunk/; revision=3823
Robert Dickenson [Thu, 5 Dec 2002 15:31:26 +0000 (15:31 +0000)]
Improved unicode fileio support.
svn path=/trunk/; revision=3822
Eric Kohl [Wed, 4 Dec 2002 20:39:03 +0000 (20:39 +0000)]
Removed some error-prone bit-fiddling.
svn path=/trunk/; revision=3821
Eric Kohl [Wed, 4 Dec 2002 20:36:22 +0000 (20:36 +0000)]
Fixed a typo.
svn path=/trunk/; revision=3820
Eric Kohl [Tue, 3 Dec 2002 23:57:05 +0000 (23:57 +0000)]
Added bus- and target-specific data to the device map.
svn path=/trunk/; revision=3819
Hartmut Birr [Tue, 3 Dec 2002 01:14:49 +0000 (01:14 +0000)]
Added support for the lower case flags of 8.3 names.
Fixed a bug that will corrupt directories if ros creates 8.3 names without a long name.
svn path=/trunk/; revision=3818
Eric Kohl [Mon, 2 Dec 2002 21:28:40 +0000 (21:28 +0000)]
Implemented SetThreadAffinityMask().
Fixed some *nix line breaks.
svn path=/trunk/; revision=3817
Eric Kohl [Mon, 2 Dec 2002 18:52:44 +0000 (18:52 +0000)]
Implemented deferred hive synchronization. It doesn't sync yet.
svn path=/trunk/; revision=3816
Robert Dickenson [Mon, 2 Dec 2002 18:40:33 +0000 (18:40 +0000)]
updated wine target section.
svn path=/trunk/; revision=3815
Eric Kohl [Sun, 1 Dec 2002 19:18:16 +0000 (19:18 +0000)]
Fixed NtQueryValueKey() wrt packed value names.
svn path=/trunk/; revision=3814
Eric Kohl [Sun, 1 Dec 2002 19:16:26 +0000 (19:16 +0000)]
Fixed a display bug in test 1.
svn path=/trunk/; revision=3813
Robert Dickenson [Sat, 30 Nov 2002 19:12:51 +0000 (19:12 +0000)]
Temporarily remove last few wine build targets that need some more work.
svn path=/trunk/; revision=3812
Eric Kohl [Sat, 30 Nov 2002 14:46:27 +0000 (14:46 +0000)]
Implemented packing of value names
svn path=/trunk/; revision=3811
Robert Dickenson [Fri, 29 Nov 2002 16:00:21 +0000 (16:00 +0000)]
Split out a few variable differences between libraries.
svn path=/trunk/; revision=3810
Robert Dickenson [Fri, 29 Nov 2002 15:59:05 +0000 (15:59 +0000)]
Further reduced differences and include all identical msvcrt targets in crtdll makefile.
svn path=/trunk/; revision=3809
Robert Dickenson [Fri, 29 Nov 2002 12:27:50 +0000 (12:27 +0000)]
Updating include path in files previously missed.
svn path=/trunk/; revision=3808
Robert Dickenson [Fri, 29 Nov 2002 11:26:58 +0000 (11:26 +0000)]
Updating files somehow confused by CVS.
Old tree cvs reports up-to-date.
New tree - different ???
more to come...
svn path=/trunk/; revision=3807
Eric Kohl [Thu, 28 Nov 2002 19:20:38 +0000 (19:20 +0000)]
Added driver name to the partition list
svn path=/trunk/; revision=3806
Eric Kohl [Thu, 28 Nov 2002 16:07:04 +0000 (16:07 +0000)]
Build the hardware device map for each SCSI port.
Bus or device specific information is not implemented yet.
svn path=/trunk/; revision=3805
Robert Dickenson [Thu, 28 Nov 2002 12:21:02 +0000 (12:21 +0000)]
Thank-you to Eugene for pointing out that I missed a required change
I:\Dev\reactos\reactos\apps\utils\net\roshttpd\include\socket.h
8 : #include <crtdll/stdio.h>
Fixed to now include <msvcrt/....> instead which is now common to both the ntdll and msvcrt dll's
svn path=/trunk/; revision=3804
Hartmut Birr [Wed, 27 Nov 2002 21:00:49 +0000 (21:00 +0000)]
Added a missing increment operator.
svn path=/trunk/; revision=3803
Hartmut Birr [Wed, 27 Nov 2002 20:56:28 +0000 (20:56 +0000)]
Fixed the return value in ferror.
svn path=/trunk/; revision=3802
Hartmut Birr [Wed, 27 Nov 2002 20:54:37 +0000 (20:54 +0000)]
Free the user stack in PsReapThreads.
svn path=/trunk/; revision=3801
Hartmut Birr [Wed, 27 Nov 2002 20:52:29 +0000 (20:52 +0000)]
Do only for process handles detach/attach the process. Some handles
needs the correct process on close/delete. Only for process handles
is it possible that ObCloseAllHandles is called recursively.
svn path=/trunk/; revision=3800
Hartmut Birr [Wed, 27 Nov 2002 20:49:54 +0000 (20:49 +0000)]
Change the type for the page fault handler from trap to interrupt gate.
Enable interrupts on page faults only if the faulting process has interrupts enabled.
svn path=/trunk/; revision=3799
Hartmut Birr [Wed, 27 Nov 2002 20:46:44 +0000 (20:46 +0000)]
Fixed the definition of NTKERNELAPI.
svn path=/trunk/; revision=3798
Hartmut Birr [Wed, 27 Nov 2002 20:31:17 +0000 (20:31 +0000)]
Initialize the registers for the next call to Int386 in GetBiosMemoryMap.
svn path=/trunk/; revision=3797
Hartmut Birr [Wed, 27 Nov 2002 20:29:43 +0000 (20:29 +0000)]
Intialize the size for the bios memory map.
svn path=/trunk/; revision=3796
Eric Kohl [Tue, 26 Nov 2002 15:33:06 +0000 (15:33 +0000)]
Use a 'secret' registry value to tell ntoskrnl where to create the registry hives.
svn path=/trunk/; revision=3795
Eric Kohl [Tue, 26 Nov 2002 15:31:41 +0000 (15:31 +0000)]
Use ERESOURCE to lock registry hives.
Keep open hives in a global list.
svn path=/trunk/; revision=3794
guido [Mon, 25 Nov 2002 23:53:38 +0000 (23:53 +0000)]
fixed compiler error: removed reference to crtdll
svn path=/trunk/; revision=3793
guido [Mon, 25 Nov 2002 23:19:31 +0000 (23:19 +0000)]
Changes '\' to '/' to enable x-compiling on linux.
svn path=/trunk/; revision=3792
Robert Dickenson [Mon, 25 Nov 2002 17:41:40 +0000 (17:41 +0000)]
cleaned up some warnings.
svn path=/trunk/; revision=3791
Robert Dickenson [Mon, 25 Nov 2002 17:38:18 +0000 (17:38 +0000)]
no longer depend on msvcrt/tchar.h
svn path=/trunk/; revision=3790