Hartmut Birr
11897d4d87
- Implemented double buffering for a console windows. Currently the second buffer
...
is a memory bitmap. All screen buffer updates does also write to the bitmap and
the screen is updated by invalidating the update region. The previous version
has released the screen buffer lock while scrolling up. It is not possible to
release the lock while a write to the screen buffer is in progress. If the text
output routines are faster, we should change the second buffer from a bitmap
to character array.
svn path=/trunk/; revision=8578
2004-03-07 21:00:11 +00:00
Filip Navara
84269ab2d2
- Fixed MapWindowPoints for NULL window handles.
...
svn path=/trunk/; revision=8577
2004-03-07 20:38:17 +00:00
Filip Navara
8aad973151
- Changed DbgPrint to DPRINT in DriverEntry.
...
svn path=/trunk/; revision=8576
2004-03-07 20:33:25 +00:00
Filip Navara
877788b63b
- Call create process notify routines from NtCreateProcess.
...
- Protect PiProcessNotifyRoutine by a spinlock.
- Started PsSetLoadImageNotifyRoutine implementation, it just registers the callback, but doesn't call it.
svn path=/trunk/; revision=8575
2004-03-07 20:31:53 +00:00
Hartmut Birr
fa397a0e33
- Added a disk speed test utility.
...
svn path=/trunk/; revision=8574
2004-03-07 20:12:13 +00:00
KJK::Hyperion
61ae1aa515
- Added comments to the fiber test, plus minor fixes
...
- Fixed NT_TIB structure to be compatible with w32api
- Fixed fiber support in kernel32.dll. Now the correct argument is passed to fiber startup routines
svn path=/trunk/; revision=8573
2004-03-07 20:07:05 +00:00
Hartmut Birr
783cbe0718
- Fixed the handling for ctrl and alt keys.
...
svn path=/trunk/; revision=8572
2004-03-07 20:03:43 +00:00
Hartmut Birr
ef908e75fd
- Initialized the object tag to prevent the tag 0xcccccccc.
...
svn path=/trunk/; revision=8571
2004-03-07 19:59:37 +00:00
Hartmut Birr
68ddb0bcdd
- Pre initialized the resulting transfer length for requests which are split.
...
svn path=/trunk/; revision=8570
2004-03-07 19:53:08 +00:00
Hartmut Birr
ec2daabaf9
- Changed the dma capability detection code.
...
- Enabled DMA transfers by default.
- Implemented DMA transfer for atapi devices (CD rom drives).
svn path=/trunk/; revision=8569
2004-03-07 19:48:45 +00:00
Art Yerkes
ce4344ab2c
Added waiting on console handles. We use a thread to poll for input
...
availability.
svn path=/trunk/; revision=8568
2004-03-07 18:06:29 +00:00
Art Yerkes
796f34f5ff
David Welch turned me on to the right way to solve the cygwin fork section
...
map problem. This fixes map_dup_inherit.
svn path=/trunk/; revision=8567
2004-03-07 17:48:41 +00:00
Filip Navara
39078ad027
- Correct base addresses.
...
svn path=/trunk/; revision=8566
2004-03-07 14:33:13 +00:00
David Welch
bd277c512b
- Added stubs for EngAlphaBlend and EngControlSprites.
...
svn path=/trunk/; revision=8565
2004-03-07 12:49:27 +00:00
David Welch
27ea3725e5
- .cvsignore update.
...
svn path=/trunk/; revision=8564
2004-03-07 12:42:10 +00:00
Filip Navara
5c13959830
- Moved the loading of font names from user32.dll to win32k.sys.
...
- Moved the window metrics values from hivesys.inf to hivedef.inf.
- In case of failure of getting the font values from registry, use default values.
- Removed user32.dll dependency on advapi32.dll.
- Removed the "UGLY HACK" code, because it really isn't true that ReactOS doesn't handle fonts with negative height.
svn path=/trunk/; revision=8563
2004-03-07 11:59:43 +00:00
Filip Navara
fceb231b0e
- Fixed RtlFormatCurrentUserKeyPath and it's use.
...
- Fill correctly all members of the returned device object in IoCreateDevice.
- Don't bug check in loader when export isn't found, only report it and don't load the module.
- If we know a module path while loading, use it for searching for the import modules.
- Modified LdrpBuildModuleBaseName to not strip the extension from file name, because the files 's3legacy.dll' and 's3legacy.sys' are otherwise treated as the same files and wrong module is loaded.
svn path=/trunk/; revision=8562
2004-03-07 11:59:10 +00:00
David Welch
4a88989b85
- Added an implementation of LdrFindImageProcAddress.
...
svn path=/trunk/; revision=8561
2004-03-07 04:44:41 +00:00
David Welch
75860969fe
- Added an implemention of VideoPortGetProcAddress
...
- ati2mtag calls VideoPortGetAccessRanges with *DeviceId == 0 so treat
that as matching an device id.
- Return STATUS_SUCCESS from VideoPortSetTrappedEmulatorPorts even though
the data is ignored.
svn path=/trunk/; revision=8560
2004-03-07 04:43:55 +00:00
David Welch
ff81e5e1b0
- Use an event rather than a semaphore to wake up the thread that writes
...
debug output to disk. Avoids bugchecking if the number of debug prints
before the thread wakes up exceeds the semaphore limit.
svn path=/trunk/; revision=8559
2004-03-07 04:38:41 +00:00
KJK::Hyperion
7682e4ce80
Fiber switching code fixed
...
svn path=/trunk/; revision=8558
2004-03-07 04:00:39 +00:00
KJK::Hyperion
cdf117484b
Added fiber test
...
svn path=/trunk/; revision=8557
2004-03-07 03:48:47 +00:00
KJK::Hyperion
75c1012851
Fiber test application. It's a simulation of the Windows NT scheduling algorithm, complete with priority levels, real-time priorities and starvation prevention. Lacks pre-emption, waiting and boosts
...
svn path=/trunk/; revision=8556
2004-03-07 03:15:20 +00:00
Hartmut Birr
a30e1be179
- Initialized the win32k timer as SynchronizationTimer.
...
A notification timer is always signaled after the first hit.
- Possible this does fix more timer related problems.
svn path=/trunk/; revision=8555
2004-03-06 23:09:23 +00:00
David Welch
de9089e707
- Added padding to align VIDEO_PORT_CONFIG_INFO.VdmPhysicalVideoMemoryAddress
...
and subsequent members the same as visualc.
svn path=/trunk/; revision=8554
2004-03-06 22:27:55 +00:00
David Welch
1f3378866b
- Forgot this file.
...
svn path=/trunk/; revision=8553
2004-03-06 22:26:05 +00:00
David Welch
30aec6e5f7
- Added stubs for some of the new w2k/xp functions.
...
svn path=/trunk/; revision=8552
2004-03-06 22:25:22 +00:00
David Welch
b041530f2d
- Removed some unnecessary DbgPrints from the fatal exception path; ignore
...
the breakpoint in the tail of KeBugCheckEx/KeBugCheckWithTf if no debugger
is connected.
svn path=/trunk/; revision=8551
2004-03-06 22:24:14 +00:00
David Welch
957b856245
- Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
...
and MmMapLockedPagesSpecifyCache.
svn path=/trunk/; revision=8550
2004-03-06 22:21:20 +00:00
Filip Navara
c3d3178f3e
- Corrected processing import directories to handle case when executable imports the same DLL more times.
...
svn path=/trunk/; revision=8549
2004-03-06 20:32:06 +00:00
James Tabor
fa714393ca
Started VideoPortGetAgpServices, Allocate and ReleaseBuffer.
...
svn path=/trunk/; revision=8548
2004-03-06 08:39:06 +00:00
Filip Navara
f1d20bbf54
2004-03-06 Filip Navara <xnavara@volny.cz>
...
* drivers/video/videoprt/int10.c (VideoPortInt10):
Print more debug informations.
* drivers/video/videoprt/videoprt.c (VideoPortInitialize):
Prevent conflicts when more miniport drivers are loaded.
(VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory):
Change way of reporting error to prevent reporting error when
the resources were successfully mapped.
(VideoPortDDCMonitorHelper): Add stub.
(VidDispatchDeviceControl): Allocate memory from NonPagedPool.
Add debug messages.
* drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper):
Add export.
* drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper):
Ditto.
* include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare.
* include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration.
* subsys/win32k/eng/surface.c (EngModifySurface): Implement.
* subsys/win32k/misc/driver.c (DRIVER_FindMPDriver):
Modify to open specific miniport driver depending on parameter.
* subsys/win32k/objects/dc.c (GetRegistryPath):
Add parameter to specify display driver number.
(FindDriverFileNames): Ditto.
(SetupDevMode): Ditto.
(IntCreateDC): Correct DPRINT.
(IntCreatePrimarySurface): Change to try more miniport drivers
before giving up.
* subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree,
EngDitherColor, EngQuerySystemAttribute): Add stubs.
* subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute,
HeapVidMemAllocAligned, VidMemFree, EngModifySurface):
Add exports.
* subsys/win32k/win32k.def: Ditto.
svn path=/trunk/; revision=8547
2004-03-06 01:22:04 +00:00
Hartmut Birr
30264d875a
- Made it possible to allocate a pageop only if no other pageop for the given address exist.
...
- Try to pageout a page only if no other access to the page exist.
- Gave a free page only to the next waiting request (in MmReleasePageMemoryConsumer),
if sufficient free pages are available.
svn path=/trunk/; revision=8546
2004-03-05 11:31:59 +00:00
Hartmut Birr
35cd217de4
- Changed the check for determining if the drawing destination is the screen or not.
...
- Fixed the order of calls to MouseSafetyOnDrawEnd in some functions.
svn path=/trunk/; revision=8545
2004-03-05 09:02:42 +00:00
Art Yerkes
a57c52276e
route add and route delete now work on real windows with our iphlpapi.
...
svn path=/trunk/; revision=8544
2004-03-05 04:50:01 +00:00
Filip Navara
1f2169eb29
2004-04-04 Filip Navara <xnavara@volny.cz>
...
* drivers/net/afd/afd/dispatch.c (AfdDispGetName): Implement.
* drivers/net/afd/include/afd.h (TdiQueryInformation): Declare.
* drivers/net/tcpip/tcpip/dispatch.c (DispTdiQueryInformation):
Partially implement for TDI_QUERY_ADDRESS_INFO request.
* drivers/net/tcpip/transport/tcp/tcp.c (TCPiBuildPacket):
Don't use variable name NdisBuffer, because it causes conficts.
svn path=/trunk/; revision=8543
2004-03-05 00:48:11 +00:00
Filip Navara
7963bf3535
CVS maintaince
...
svn path=/trunk/; revision=8542
2004-03-04 23:26:36 +00:00
David Welch
876b2d6ed6
- Make the install depend on the targets to be installed (I don't know
...
how anyone could service without this).
svn path=/trunk/; revision=8541
2004-03-04 23:14:01 +00:00
David Welch
c77f9d0572
- Fix for crash on gui exit caused by trying to free an uninitialized
...
variable.
svn path=/trunk/; revision=8540
2004-03-04 23:11:43 +00:00
David Welch
45a3ee5da7
- Reenable the screen after setting the mode.
...
svn path=/trunk/; revision=8539
2004-03-04 23:01:19 +00:00
Martin Fuchs
72eafe1583
new result buffer length parameter for SHELL_FindExecutable()
...
svn path=/trunk/; revision=8538
2004-03-04 21:12:11 +00:00
Casper Hornstrup
318a90741d
2004-03-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* drivers/net/tcpip/tcpip/i386: New directory.
* drivers/net/tcpip/tcpip/i386/checksum.S: New file.
* drivers/net/tcpip/notes.txt: New file.
* drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): Signal ACCEPT
network event.
(AfdDispEventSelect): Reference event handle.
* drivers/net/afd/afd/tdi.c (TdiListen): Remove unused event.
Move Iosb and RequestConnectionInfo to AFD_LISTEN_REQUEST structure.
* drivers/net/afd/include/afd.h (AFDFCB): Replace EventObjects with
EventObject of type PKEVENT.
* drivers/net/tcpip/makefile (ARCH_OBJECTS): New variable.
(TARGET_OBJECTS): Add ARCH_OBJECTS.
* drivers/net/tcpip/include/address.h (AddrCloneAddress): New prototype.
* drivers/net/tcpip/include/checksum.h (ChecksumFold, csum_partial): New
prototype.
(TCPv4Checksum): New macro.
(CorrectChecksum): Rename to IPv4CorrectChecksum.
(TCPv4CorrectChecksum): New macro.
* drivers/net/tcpip/include/ip.h (IPv4_DF_MASK): New constant.
* drivers/net/tcpip/include/tcp.h (TCP_XXX): Correct constants.
(TCPCreateSegment, TCPFreeSegment, TCPAddSegment): Prototype.
* drivers/net/tcpip/include/titypes.h (TCP_SEND_REQUEST): Add SequenceNumber
and AckNumber.
(TCP_SEGMENT): New structure.
(CONNECTION_ENDPOINT): Add ListenRequest and ReceivedSegments.
* drivers/net/tcpip/network/transmit.c (SendFragments): Release memory
for Data on failure.
* drivers/net/tcpip/tcpip/address.c (AddrCloneAddress): New function.
* drivers/net/tcpip/tcpip/checksum.c (ChecksumFold): Factor out folding
from ChecksumCompute.
* drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Support asynchronous
operation.
* drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't cast to
PTDI_ADDRESS_IP.
Initialize ReceivedSegments.
* drivers/net/tcpip/tcpip/routines.c (DisplayIPHeader): New function.
(DisplayIPPacket): Call DisplayIPHeader().
(DisplayTCPHeader): Change format strings.
* drivers/net/tcpip/transport/tcp/tcp.c (IPIdentification,
TCPSegmentList): Add.
(TCPCreateSegment, TCPFreeSegment, TCPAddSegment,
TCPBuildAndTransmitSendRequest2, TCPiSelectISS, TCPiReceiveListen,
TCPiReceiveSynSent, TCPiReceiveSynReceived, TCPiReceiveData): New
function.
(TCPiBuildPacket): Build segment.
(TCPStartup): Initialize TCPSegmentList.
(TCPShutdown): Cleanup TCPSegmentList.
svn path=/trunk/; revision=8537
2004-03-04 20:45:39 +00:00
Steven Edwards
0d2b52fb76
Added .cvsignore I forgot about.
...
svn path=/trunk/; revision=8536
2004-03-04 19:00:44 +00:00
Steven Edwards
5bc9888562
Enable the rest of the stubs needed to get Hello-WinCE working.
...
No the hello world app still doesnt work. Only the messagebox app works.
svn path=/trunk/; revision=8535
2004-03-04 18:55:44 +00:00
Filip Navara
a2f24f38dc
- Cleaned up the Boot Video driver.
...
- Replaced most of the magic numbers by defines.
- Changed the video mode setting to directly program the VGA registers instead of using Ke386CallBios.
- Properly map the video memory.
svn path=/trunk/; revision=8534
2004-03-04 18:55:09 +00:00
Steven Edwards
5c30d2cc66
Added a stub implementation of commctrl.dll for WinCE support
...
svn path=/trunk/; revision=8533
2004-03-04 18:54:21 +00:00
Filip Navara
499908b04f
- Implemented VideoPortEnableInterrupt and VideoPortDisableInterrupt.
...
svn path=/trunk/; revision=8532
2004-03-04 18:51:58 +00:00
Filip Navara
eab00ba2a1
- Changed Video Mode setting routines to directly modify VGA registers instead on relying on Int 0x10 services.
...
- Removed unused code.
svn path=/trunk/; revision=8531
2004-03-04 18:49:58 +00:00
Filip Navara
1849adaa6b
CVS maintaince
...
svn path=/trunk/; revision=8530
2004-03-04 18:45:16 +00:00
Steven Edwards
b6c0920b60
Get a simple WinCE x86 MessageBox program to load.
...
svn path=/trunk/; revision=8529
2004-03-04 18:24:29 +00:00