Robert Dickenson [Tue, 7 Jan 2003 16:23:12 +0000 (16:23 +0000)]
Performed housekeeping to get the subsystem building. Introduced ros makefile 'standards' throughout.
Is anybody doing any work on the OS/2 support?
svn path=/trunk/; revision=3946
Robert Dickenson [Sun, 5 Jan 2003 19:32:32 +0000 (19:32 +0000)]
housekeeping files...
svn path=/trunk/; revision=3945
Robert Dickenson [Sun, 5 Jan 2003 19:23:20 +0000 (19:23 +0000)]
Include a define for a Macro having being defined, temporary fix to avoid conflict with posix+ headers.
svn path=/trunk/; revision=3944
Robert Dickenson [Sun, 5 Jan 2003 19:18:44 +0000 (19:18 +0000)]
Trivial update to trace message plus the usual housekeeping...
svn path=/trunk/; revision=3943
Robert Dickenson [Sun, 5 Jan 2003 19:17:16 +0000 (19:17 +0000)]
Added a new phase to the build cycle, make depends, in order to get certain dependancies built first.
This includes but is not limited to global error code headers generated from message scripts via wmc.
svn path=/trunk/; revision=3942
Robert Dickenson [Sun, 5 Jan 2003 19:15:10 +0000 (19:15 +0000)]
Updated global ReactOS makefile to incorporate new wine and posix etc sub-targets with the defacto standard make style.
svn path=/trunk/; revision=3941
Robert Dickenson [Sun, 5 Jan 2003 18:29:41 +0000 (18:29 +0000)]
doing some maintenance on the posix build system, getting in sync with reactos base.
svn path=/trunk/; revision=3940
Robert Dickenson [Sun, 5 Jan 2003 18:10:27 +0000 (18:10 +0000)]
doing some maintenance on the posix build system, getting in sync with reactos base.
svn path=/trunk/; revision=3939
Robert Dickenson [Sun, 5 Jan 2003 17:54:20 +0000 (17:54 +0000)]
housekeeping files...
svn path=/trunk/; revision=3938
Robert Dickenson [Sun, 5 Jan 2003 14:32:32 +0000 (14:32 +0000)]
created stubs for the rest of the functions listed in mingw's tlhelp.h and exported them.
svn path=/trunk/; revision=3937
Robert Dickenson [Sun, 5 Jan 2003 14:17:42 +0000 (14:17 +0000)]
Created test program for loading libraries in various ways.
svn path=/trunk/; revision=3936
Robert Dickenson [Sun, 5 Jan 2003 10:07:08 +0000 (10:07 +0000)]
Moved the beginnings of some toolhelp exports to their own module.
svn path=/trunk/; revision=3935
Robert Dickenson [Sat, 4 Jan 2003 18:36:28 +0000 (18:36 +0000)]
ps did not require a lot from C++, so now it doesn't require it at all.
svn path=/trunk/; revision=3934
Robert Dickenson [Sat, 4 Jan 2003 18:33:18 +0000 (18:33 +0000)]
exported stubs for Process32First, Process32Next and CreateToolhelp32Snapshot created.
svn path=/trunk/; revision=3933
Robert Dickenson [Sat, 4 Jan 2003 17:45:49 +0000 (17:45 +0000)]
reference to mingw's libth32.a added so the thing compiles *and* links.
svn path=/trunk/; revision=3932
Emanuele Aliberti [Sat, 4 Jan 2003 15:24:12 +0000 (15:24 +0000)]
Copyright years updated to 2003.
svn path=/trunk/; revision=3931
Emanuele Aliberti [Sat, 4 Jan 2003 15:21:18 +0000 (15:21 +0000)]
Eugene Ingerman, Guido de Jong, Jurgen van Gael, Marty Dill, and Ge van Geldorp added to the list of ROS coders.
svn path=/trunk/; revision=3930
Hartmut Birr [Sat, 4 Jan 2003 02:07:18 +0000 (02:07 +0000)]
Fixed handling of large FAT32 partitions.
svn path=/trunk/; revision=3928
Gé van Geldorp [Fri, 3 Jan 2003 23:58:31 +0000 (23:58 +0000)]
Handle FAT32 partitions larger than 4GB
svn path=/trunk/; revision=3927
guido [Fri, 3 Jan 2003 00:28:07 +0000 (00:28 +0000)]
fix some warnings
----------------------------------------------------------------------
svn path=/trunk/; revision=3926
Casper Hornstrup [Thu, 2 Jan 2003 23:37:28 +0000 (23:37 +0000)]
2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
warning.
* lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
at end.
svn path=/trunk/; revision=3925
Hartmut Birr [Thu, 2 Jan 2003 21:43:52 +0000 (21:43 +0000)]
Set the hidden sector value from boot sector with the correct partition offset.
svn path=/trunk/; revision=3924
Hartmut Birr [Thu, 2 Jan 2003 21:42:56 +0000 (21:42 +0000)]
Recalculate the partition value for freeldr. Freeldr uses a different partition numbering like linux.
svn path=/trunk/; revision=3923
Hartmut Birr [Thu, 2 Jan 2003 16:41:56 +0000 (16:41 +0000)]
Fixed the access to the region list in MmAlterRegion.
svn path=/trunk/; revision=3922
Hartmut Birr [Thu, 2 Jan 2003 16:07:49 +0000 (16:07 +0000)]
Splited HalEndSystemInterrupt in two functions. HalEndSystemInterrupt,
HalpLowerIrql and HalpExecuteIrqs was called recursively.
svn path=/trunk/; revision=3921
Hartmut Birr [Thu, 2 Jan 2003 16:06:49 +0000 (16:06 +0000)]
Moved the call to HalEndSystemInterrupt to the end of KiInterruptDispatch.
svn path=/trunk/; revision=3920
Hartmut Birr [Thu, 2 Jan 2003 16:05:50 +0000 (16:05 +0000)]
Fixed a buffer overflow in wcsncpy.
svn path=/trunk/; revision=3919
Hartmut Birr [Thu, 2 Jan 2003 16:04:31 +0000 (16:04 +0000)]
Added a missing call to VfatCloseFile.
svn path=/trunk/; revision=3918
Hartmut Birr [Thu, 2 Jan 2003 16:03:56 +0000 (16:03 +0000)]
Added a terminating 0 in vfatGetFCBForFile. Vfat has used the buggy implementation of wcsncpy.
svn path=/trunk/; revision=3917
Hartmut Birr [Thu, 2 Jan 2003 16:03:04 +0000 (16:03 +0000)]
Fixed the handling for errors/retries.
svn path=/trunk/; revision=3916
Hartmut Birr [Thu, 2 Jan 2003 16:02:02 +0000 (16:02 +0000)]
Check if a uncached read is sector aligned, fail if is not.
svn path=/trunk/; revision=3915
Hartmut Birr [Thu, 2 Jan 2003 16:01:21 +0000 (16:01 +0000)]
Uninitialize the file cache only if it was initialized.
svn path=/trunk/; revision=3914
Robert Dickenson [Wed, 1 Jan 2003 11:18:06 +0000 (11:18 +0000)]
added missing sub-dir to clean rule.
svn path=/trunk/; revision=3913
Robert Dickenson [Wed, 1 Jan 2003 11:16:18 +0000 (11:16 +0000)]
Updates to test program.
svn path=/trunk/; revision=3912
Robert Dickenson [Wed, 1 Jan 2003 11:11:49 +0000 (11:11 +0000)]
Minor mods.
svn path=/trunk/; revision=3911
Robert Dickenson [Wed, 1 Jan 2003 06:19:37 +0000 (06:19 +0000)]
Changes to all definitions involving wchar_t. The unsigned short type caused g++ to fail.
svn path=/trunk/; revision=3910
Robert Dickenson [Sat, 28 Dec 2002 16:19:22 +0000 (16:19 +0000)]
updates to the sc utility.
svn path=/trunk/; revision=3909
Robert Dickenson [Sat, 28 Dec 2002 16:12:04 +0000 (16:12 +0000)]
added a default test ip address, i'm sure i've done this before...
svn path=/trunk/; revision=3908
Robert Dickenson [Sat, 28 Dec 2002 16:10:03 +0000 (16:10 +0000)]
added new targets - does anybody else use these?
perhaps I should try make install some time...
svn path=/trunk/; revision=3907
Robert Dickenson [Sat, 28 Dec 2002 16:07:59 +0000 (16:07 +0000)]
added new targets and some macros.
svn path=/trunk/; revision=3906
Robert Dickenson [Sat, 28 Dec 2002 16:06:11 +0000 (16:06 +0000)]
moved all wine targets to makefile in wine dir
svn path=/trunk/; revision=3905
Gé van Geldorp [Fri, 27 Dec 2002 23:56:03 +0000 (23:56 +0000)]
Added apps\tests\copymove
svn path=/trunk/; revision=3904
Gé van Geldorp [Fri, 27 Dec 2002 23:54:33 +0000 (23:54 +0000)]
Tests for MoveFile and related routines
svn path=/trunk/; revision=3903
Gé van Geldorp [Fri, 27 Dec 2002 23:50:21 +0000 (23:50 +0000)]
Improved file attribute and file time handling
svn path=/trunk/; revision=3902
Robert Dickenson [Fri, 27 Dec 2002 14:53:06 +0000 (14:53 +0000)]
something going spooky with CVS, trying to get this file in...
svn path=/trunk/; revision=3901
Robert Dickenson [Fri, 27 Dec 2002 14:44:01 +0000 (14:44 +0000)]
Include test for truncating files, which currently doesn't work.
svn path=/trunk/; revision=3900
Robert Dickenson [Fri, 27 Dec 2002 14:40:03 +0000 (14:40 +0000)]
Progress with opening and closing handles to SCM.
svn path=/trunk/; revision=3899
Robert Dickenson [Fri, 27 Dec 2002 13:54:28 +0000 (13:54 +0000)]
First draft of a ScmNamedPipeListenerThread implementation.
Some debug noise from winlogon and as always edited an ignore file.
svn path=/trunk/; revision=3898
Robert Dickenson [Thu, 26 Dec 2002 18:28:25 +0000 (18:28 +0000)]
rename target from sh.exe to baresh.exe to avoid namespace conflict.
svn path=/trunk/; revision=3897
Robert Dickenson [Thu, 26 Dec 2002 18:14:38 +0000 (18:14 +0000)]
Keep the posix module buildable, and add some CVS sugar for easier scanning.
svn path=/trunk/; revision=3896
Robert Dickenson [Thu, 26 Dec 2002 17:36:12 +0000 (17:36 +0000)]
Changed THREAD_STATE_RUNNABLE to THREAD_STATE_READY however PsDispatchThread() is still inaccessible.
svn path=/trunk/; revision=3895
Robert Dickenson [Thu, 26 Dec 2002 17:26:41 +0000 (17:26 +0000)]
Perl5.8 requires the pointer to i/o table to be exported, and layed out correctly...
svn path=/trunk/; revision=3894
Robert Dickenson [Thu, 26 Dec 2002 17:23:27 +0000 (17:23 +0000)]
Unix extra lines cleaned up.
svn path=/trunk/; revision=3893
Robert Dickenson [Thu, 26 Dec 2002 17:21:27 +0000 (17:21 +0000)]
Started to port some of the support for IsCharAlphaNumeric et al from wine.
svn path=/trunk/; revision=3892
Robert Dickenson [Thu, 26 Dec 2002 17:16:13 +0000 (17:16 +0000)]
More sugar for CVS...
svn path=/trunk/; revision=3891
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