2 * Copyright 2008-2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
7 #include "BaseDevice.h"
10 BaseDevice::BaseDevice()
15 BaseDevice::~BaseDevice()
21 BaseDevice::InitDevice()
28 BaseDevice::UninitDevice()
40 BaseDevice::HasSelect() const
47 BaseDevice::HasDeselect() const
54 BaseDevice::HasRead() const
61 BaseDevice::HasWrite() const
68 BaseDevice::HasIO() const
75 BaseDevice::Read(void* cookie
, off_t pos
, void* buffer
, size_t* _length
)
82 BaseDevice::Write(void* cookie
, off_t pos
, const void* buffer
, size_t* _length
)
89 BaseDevice::IO(void* cookie
, io_request
* request
)
96 BaseDevice::Control(void* cookie
, int32 op
, void* buffer
, size_t length
)
103 BaseDevice::Select(void* cookie
, uint8 event
, selectsync
* sync
)
105 return B_UNSUPPORTED
;
110 BaseDevice::Deselect(void* cookie
, uint8 event
, selectsync
* sync
)
112 return B_UNSUPPORTED
;