Removed obsolete uncommented function stubs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-11-19 07:39:47 +00:00
parent 1ca0b78f54
commit 59d51abc40

View File

@ -1409,110 +1409,3 @@ vip_io_request_allocator_init()
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