[haiku-commits] r34122 - haiku/trunk/src/system/kernel/device_manager

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 19 Nov 2009 08:39:48 +0100 (CET)

Author: bonefish
Date: 2009-11-19 08:39:47 +0100 (Thu, 19 Nov 2009)
New Revision: 34122
Changeset: http://dev.haiku-os.org/changeset/34122/haiku

Modified:
   haiku/trunk/src/system/kernel/device_manager/IORequest.cpp
Log:
Removed obsolete uncommented function stubs.


Modified: haiku/trunk/src/system/kernel/device_manager/IORequest.cpp
===================================================================
--- haiku/trunk/src/system/kernel/device_manager/IORequest.cpp  2009-11-19 
07:38:33 UTC (rev 34121)
+++ haiku/trunk/src/system/kernel/device_manager/IORequest.cpp  2009-11-19 
07:39:47 UTC (rev 34122)
@@ -1409,110 +1409,3 @@
        dprintf("vip_io_request_allocator_init(): created VIP I/O heap: %p\n",
                sVIPHeap);
 }
-
-
-// #pragma mark -
-
-
-#if 0
-
-/*!    Creates an I/O request with the specified buffer and length.
-
-       \param write write access if true, read access if false.
-       \param flags allows several flags to be specified:
-               \c B_USER_IO_REQUEST the buffer is assumed to be a userland 
buffer
-                       and handled with special care.
-               \c B_ASYNC_IO_REQUEST the I/O request is to be fulfilled 
asynchronously.
-               \c B_PHYSICAL_IO_REQUEST the buffer specifies a physical rather 
than a
-                       virtual address.
-       \param _request If successful, the location pointed to by this parameter
-               will contain a pointer to the created request.
-*/
-status_t
-create_io_request(void* buffer, size_t length, bool write, uint32 flags,
-       io_request** _request)
-{
-       return B_ERROR;
-}
-
-
-/*!    Creates an I/O request from the specified I/O vector and length.
-       See above for more info.
-*/
-status_t
-create_io_request_vecs(iovec* vecs, size_t count, size_t length, bool write,
-       uint32 flags, io_request** _request)
-{
-       return B_ERROR;
-}
-
-
-/*!    Prepares the I/O request by locking its memory, and, if \a virtualOnly
-       is \c false, will retrieve the physical pages.
-*/
-status_t
-prepare_io_request(io_request* request, bool virtualOnly)
-{
-       return B_ERROR;
-}
-
-
-/*!    Prepares the I/O request by locking its memory, and mapping/moving the
-       pages as needed to fulfill the DMA restrictions.
-       If needed, a bounce buffer is used for DMA.
-*/
-status_t
-prepare_io_request_dma(io_request* request, dma_resource* dmaResource)
-{
-       return B_ERROR;
-}
-
-
-/*!    Returns the buffers of the I/O request mapped into kernel memory.
-       This can be used by drivers to fill an I/O request manually.
-*/
-status_t
-map_io_request(io_request* request, iovec* vecs, size_t count)
-{
-       return B_ERROR;
-}
-
-
-/*!    Get the memory map of the DMA buffer for this I/O request.
-       This can be used to retrieve the physical pages to feed the hardware's
-       DMA engine with.
-*/
-status_t
-get_io_request_memory_map(dma_buffer* buffer, io_request* request, iovec* vecs,
-       size_t count)
-{
-       return B_ERROR;
-}
-
-
-/*!    Unmaps any previously mapped data, and will copy the data back from any
-       bounce buffers if necessary.
-*/
-status_t
-complete_io_request_dma(io_request* request, dma_resource* dmaResource)
-{
-       return B_ERROR;
-}
-
-
-/*!    Unmaps any previously mapped data.
-*/
-status_t
-complete_io_request(io_request* request)
-{
-       return B_ERROR;
-}
-
-
-void
-delete_io_request(io_request* request)
-{
-}
-
-#endif // 0
-


Other related posts:

  • » [haiku-commits] r34122 - haiku/trunk/src/system/kernel/device_manager - ingo_weinhold