Alexandre Julliard
9cef52ffd6
server: Don't associate a thread to the MJ_CREATE and MJ_CLOSE requests.
2015-07-13 15:10:30 +09:00
Alexandre Julliard
bf26950194
server: Pass the file instead of the device pointer in all IRP requests.
2015-07-09 14:48:34 +09:00
Alexandre Julliard
13499a3d11
ntoskrnl: Implement creation and destruction of file objects.
2015-07-09 14:48:14 +09:00
Alexandre Julliard
350ee62ab4
server: Queue an IRP_MJ_CLOSE request on file destruction.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
b1fd5955c9
server: Queue an IRP_MJ_CREATE request on file creation.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
d087ea6798
server: Pass the device client pointer as part of the IRP parameters.
2015-07-09 14:38:18 +09:00
Sebastian Lackner
ece08c10a1
server: Delay destruction of file object in set_irp_result.
2015-06-19 17:02:11 +09:00
Alexandre Julliard
c0ac2afb19
server: Create the null device and its symlink.
2015-05-21 17:24:34 +09:00
Alexandre Julliard
b414b93d5a
server: Allow a device file to be mapped directly to a Unix device.
2015-05-21 17:18:08 +09:00
Alexandre Julliard
6260aa6cd2
server: Add an intermediate file object for file handles opened on devices.
2015-05-18 17:50:22 +09:00
Alexandre Julliard
6073e75a6a
server: Implement flush requests for device files.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
311f786286
server: Add a common structure to store irp parameters.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
faa1db4d13
server: Implement read and write requests for device files.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
837b39b202
server: Add read and write fd member functions.
...
Also rename no_flush() to no_fd_flush() for consistency.
2015-05-06 09:07:42 +09:00
Alexandre Julliard
fc4a94c0e2
server: Return irp size separately from the output data.
2015-05-06 08:44:30 +09:00
Alexandre Julliard
6f2ed23c16
server: Retrieve ioctl data directly from the request.
2015-05-06 08:44:29 +09:00
Alexandre Julliard
165dd1ff36
server: Rename ioctl to irp to allow supporting various types of I/O requests.
2015-05-06 08:44:29 +09:00
Alexandre Julliard
ecf7ed6650
server: Add a request to store the results of an ioctl asynchronously.
2015-03-11 22:45:51 +09:00
Alexandre Julliard
0157f76888
server: Allow device manager ioctls to run asynchronously.
2015-03-11 22:44:51 +09:00
Alexandre Julliard
39644bb309
server: Pass a wait queue entry to the signaled/satisfied object functions.
2013-08-27 23:48:36 +02:00
Bernhard Loos
507d929051
ntoskrnl: Correctly implement PsGetCurrentThread/ProcessId.
2011-10-28 13:04:00 +02:00
Alexandre Julliard
6db201080f
server: Make the various async I/O parameters client_ptr_t instead of void pointers.
2008-12-30 21:09:41 +01:00
Alexandre Julliard
7ec95c5bee
server: Explicitly specify when an ioctl call needs to be blocking.
2008-12-30 20:37:20 +01:00
Alexandre Julliard
923310aa54
server: Make the device opaque data a client_ptr_t instead of a void pointer.
2008-12-29 17:28:40 +01:00
Alexandre Julliard
9ed42d2709
server: Get rid of the unused count parameter in fd_queue_async().
2008-12-26 12:33:31 +01:00
Alexandre Julliard
8382eb01b2
server: Return correct object types in the get_directory_entry request.
2007-12-05 18:16:42 +01:00
Alexandre Julliard
8268ad551a
server: Remove failed ioctls from the queue as soon as the result is set.
2007-10-30 11:30:58 +01:00
Rob Shearman
c1707d8938
server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk.
2007-10-04 12:30:52 +02:00
Alexandre Julliard
24001e8ddc
server: Add a default access mapping function for files, and use it for devices too.
2007-10-02 14:20:15 +02:00
Alexandre Julliard
aafcfe7663
server: Add support for retrieving results of queued ioctls once they are done.
2007-05-08 20:45:44 +02:00
Alexandre Julliard
78b75108cd
server: Add request to retrieve the next pending ioctl call for a device manager.
2007-05-08 20:40:26 +02:00
Alexandre Julliard
61e08b346b
server: Add support for queuing ioctl calls to a device.
2007-05-08 20:37:21 +02:00
Alexandre Julliard
b43dc15c8a
server: Add support for generic device objects managed from the client side.
2007-05-08 20:28:37 +02:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
e66207ebfc
Moved all references to file descriptors out of the generic object
...
structure.
Changed the poll()-related routines to deal with file descriptors
instead of objects and integrated poll support into fd.c.
2003-02-19 00:33:32 +00:00
Alexandre Julliard
cf27a7fa3b
Changed fd operations to take a struct fd instead of a struct object.
...
Removed get_file_info function from object operations.
Added get_device_id request to avoid abusing get_file_info.
2003-02-14 20:27:09 +00:00
Alexandre Julliard
863637b158
Started moving functions that deal with Unix file descriptors to a
...
separate fd object. This will be needed for file locking.
2003-01-30 00:26:44 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Martin Wilck
88cd32b2d1
More general approach to file descriptor types and flags.
2002-01-09 20:30:51 +00:00
Mike McCormack
6f011c0847
- move async activation into the server
...
- implement async queues
2001-12-20 00:07:05 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Mike McCormack
ff58be5c7f
Fetch a handle type in FILE_GetUnixHandle.
2001-10-04 16:18:15 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Alexandre Julliard
1ab243bac1
Merged the get_read_fd and get_write_fd requests.
2000-12-19 02:12:45 +00:00
Alexandre Julliard
cb1fc735f0
Changed the server to return STATUS_* error codes.
2000-01-24 21:58:06 +00:00
Alexandre Julliard
1dca5e24c7
Moved poll handling to the generic part of the server objects.
...
Fixed busy waiting on POLLERR events.
Merged struct client into struct thread.
2000-01-01 00:56:27 +00:00
Alexandre Julliard
ebe29ef376
Further server optimizations:
...
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard
5bc78089db
Made server communication faster by using a shared memory block.
...
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard
43c190e7ba
Server reorganization:
...
- moved request handlers to the specific C files
- moved handle management to handle.c
- moved server private includes to server/ instead of include/server/
1999-05-15 10:48:19 +00:00