Hartmut Birr
5f09dd1402
Replaced some calls to DbgPrint with the DPRINT macro.
...
svn path=/trunk/; revision=3882
2002-12-16 23:23:21 +00:00
Hartmut Birr
2774a7c60b
Unmap the low memory in SMP mode in MmInit3.
...
svn path=/trunk/; revision=3881
2002-12-16 22:59:44 +00:00
Hartmut Birr
5b1b2a4860
Fixed Exfi386InterlockedExchangeUlong and InterlockedExchange.
...
svn path=/trunk/; revision=3880
2002-12-16 22:56:30 +00:00
Casper Hornstrup
3aa9d2d9ba
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
2002-12-15 17:01:52 +00:00
Eric Kohl
d774049979
Use lookaside list to allocate SRBs.
...
svn path=/trunk/; revision=3878
2002-12-15 14:34:43 +00:00
Robert Dickenson
35ccf47588
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
2002-12-15 06:34:43 +00:00
Steven Edwards
dd8087fdde
Apply'd hartmut sector size patch for VMware.
...
Please report if you have problems on your platform
svn path=/trunk/; revision=3876
2002-12-15 00:23:31 +00:00
Steven Edwards
9894d327a4
Added more stubs for bochs.
...
svn path=/trunk/; revision=3875
2002-12-14 17:36:51 +00:00
Robert Dickenson
218703bf94
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
2002-12-14 14:42:01 +00:00
Eric Kohl
4e2f492dc0
Fixed data overrun upon read commands.
...
svn path=/trunk/; revision=3873
2002-12-13 19:35:12 +00:00
Eric Kohl
34056f0e1c
Don't build ide.sys any longer.
...
svn path=/trunk/; revision=3872
2002-12-12 17:04:01 +00:00
Robert Dickenson
30b8d5cc45
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
2002-12-12 04:53:23 +00:00
Robert Dickenson
785d4e6698
KdDebuggerEnable -> KdDebuggerEnabled
...
svn path=/trunk/; revision=3870
2002-12-11 04:39:20 +00:00
Hartmut Birr
a7be665092
Removed dependancy tracking.
...
svn path=/trunk/; revision=3869
2002-12-10 19:09:26 +00:00
Steven Edwards
1ff8dc116a
Linking not hosed now. Fixed via import of -lstdc++.
...
svn path=/trunk/; revision=3868
2002-12-10 17:03:03 +00:00
Steven Edwards
e4493af78d
Fixed makefile for cabman. Linking is still hosed.
...
svn path=/trunk/; revision=3867
2002-12-10 17:01:16 +00:00
Eric Kohl
1ff210919e
Added the Promise Ultra100 (PDC20267) controller to the list of supported atapi controllers.
...
svn path=/trunk/; revision=3866
2002-12-10 12:18:33 +00:00
Robert Dickenson
c43641f102
Put things back how they work for others until I work it out properly.
...
svn path=/trunk/; revision=3865
2002-12-10 09:31:30 +00:00
Eric Kohl
f51d9f66a6
Replaced bios error codes by valid status codes.
...
svn path=/trunk/; revision=3864
2002-12-09 23:15:57 +00:00
Eric Kohl
e1ed68fe85
Implemented ScsiPortGetDeviceBase() and ScsiPortFreeDeviceBase().
...
svn path=/trunk/; revision=3863
2002-12-09 23:14:04 +00:00
Eric Kohl
2b0a6b6d38
Fixed buggy system hive identification.
...
svn path=/trunk/; revision=3862
2002-12-09 23:09:25 +00:00
Hartmut Birr
8f1bfbccb6
Fixed some bugs in the wait functions.
...
svn path=/trunk/; revision=3861
2002-12-09 20:16:42 +00:00
Hartmut Birr
e1b39fac3c
Protected the access to system_time with a spinlock.
...
svn path=/trunk/; revision=3860
2002-12-09 20:15:25 +00:00
Hartmut Birr
d008835685
Fixed the setting of the real time clock.
...
svn path=/trunk/; revision=3859
2002-12-09 20:13:12 +00:00
Hartmut Birr
cd35c38aa0
Added ntdll.a to TARGET_SDKLIBS. Ntdll.a is needed to import DbgPrint for DPRINT macros.
...
svn path=/trunk/; revision=3858
2002-12-09 20:11:56 +00:00
Hartmut Birr
14d77e9c63
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
2002-12-09 20:09:24 +00:00
Hartmut Birr
c8662b4cab
Disabled the definition of DbgPrint for __GNUC__. DbgPrint is imported from ntdll.dll.
...
svn path=/trunk/; revision=3856
2002-12-09 20:07:46 +00:00
Hartmut Birr
1fa5ceab79
Fixed the initializing of the C runtime handles.
...
svn path=/trunk/; revision=3855
2002-12-09 20:06:24 +00:00
Hartmut Birr
1cd89b296e
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
2002-12-09 20:04:44 +00:00
Hartmut Birr
4db7fe648e
Added more debug messages.
...
Register interrupts with hal and allow shared interrupts.
svn path=/trunk/; revision=3853
2002-12-09 20:01:14 +00:00
Hartmut Birr
39a9c0a865
Register interrupts with hal.
...
svn path=/trunk/; revision=3852
2002-12-09 19:57:56 +00:00
Hartmut Birr
a7ee619591
Enable/Disable the irq in KeConnectInterrupt/KeDisconnectInterrupt.
...
Call each registered interrupt in KiInterruptDispatch2 (only for UP).
svn path=/trunk/; revision=3851
2002-12-09 19:53:44 +00:00
Hartmut Birr
c657e69cc6
Fixed handling for level triggered interrupts.
...
svn path=/trunk/; revision=3850
2002-12-09 19:51:16 +00:00
Hartmut Birr
4386afd7cb
Protected the cmos ports with a spinlock.
...
svn path=/trunk/; revision=3849
2002-12-09 19:47:22 +00:00
Hartmut Birr
89fd93f5c7
Fixed the calculation of the irql.
...
svn path=/trunk/; revision=3848
2002-12-09 19:46:39 +00:00
Hartmut Birr
bb6414ddad
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
2002-12-09 19:45:55 +00:00
Hartmut Birr
24941bbcb3
Added HalpGetIsaInterruptVector.
...
svn path=/trunk/; revision=3846
2002-12-09 19:44:44 +00:00
Robert Dickenson
167268f4b3
Commented out reference to VECTOR2IRQ in order to get MP config building.
...
svn path=/trunk/; revision=3845
2002-12-09 18:44:05 +00:00
Robert Dickenson
74075d4ed5
Commented out call to PsDispatchThread(THREAD_STATE_RUNNABLE) in order to get MP config building.
...
svn path=/trunk/; revision=3844
2002-12-09 18:42:41 +00:00
Robert Dickenson
58d9c81bdc
Added a dummy copy of KiInterruptDispatch2 and removed reference to KeGetCurrentThread()->LastEip in order to get MP config building.
...
svn path=/trunk/; revision=3843
2002-12-09 18:40:45 +00:00
Robert Dickenson
5118ff8a48
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
2002-12-09 17:26:00 +00:00
Robert Dickenson
8d49e96dcf
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
2002-12-09 17:03:09 +00:00
Robert Dickenson
719e18bbee
Added some more libraries which now build to the WINE_DLLS section.
...
svn path=/trunk/; revision=3840
2002-12-09 15:38:18 +00:00
Robert Dickenson
1a95510552
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
2002-12-09 15:18:11 +00:00
Eric Kohl
029fe88aa3
Fixed a bug which created new registry hives in the wrong directory.
...
svn path=/trunk/; revision=3838
2002-12-08 18:54:45 +00:00
Robert Dickenson
f2a2cbc0d9
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
2002-12-08 16:26:52 +00:00
Robert Dickenson
5e2ff077e8
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
2002-12-08 16:23:33 +00:00
Robert Dickenson
dd12442072
typos, reduce mingw header diffs, extra includes.
...
svn path=/trunk/; revision=3835
2002-12-08 16:18:30 +00:00
Robert Dickenson
a49981697a
Fix for wide character streams.
...
svn path=/trunk/; revision=3834
2002-12-08 16:14:28 +00:00
Robert Dickenson
91616f730f
Adding support for resource based error message table
...
svn path=/trunk/; revision=3833
2002-12-08 16:07:18 +00:00