|
NeKernel dev
|
ATA device interface class. More...
#include <ATA.h>
Public Member Functions | |
| ATADeviceInterface (void(*Out)(DeviceInterface *, IMountpoint *outpacket), void(*In)(DeviceInterface *, IMountpoint *inpacket)) | |
| Class constructor. | |
| virtual | ~ATADeviceInterface () |
| Class desctructor. | |
| ATADeviceInterface & | operator<< (IMountpoint *Data) override |
| Output operator. | |
| ATADeviceInterface & | operator>> (IMountpoint *Data) override |
| Input operator. | |
| ATADeviceInterface & | operator= (const ATADeviceInterface &)=default |
| ATADeviceInterface (const ATADeviceInterface &)=default | |
| const Char * | Name () const override |
| Returns the name of the device interface. | |
| const UInt16 & | GetIO () |
| Void | SetIO (const UInt16 &io) |
| const UInt16 & | GetMaster () |
| Void | SetMaster (const UInt16 &master) |
| const UInt32 & | GetIndex () |
| Void | SetIndex (const UInt32 &drv) |
| Public Member Functions inherited from Kernel::DeviceInterface< IMountpoint * > | |
| DeviceInterface ()=default | |
| virtual | ~DeviceInterface ()=default |
| DeviceInterface & | operator= (const DeviceInterface< IMountpoint * > &)=default |
| operator bool () | |
| Bool | operator! () |
Private Attributes | |
| UInt32 | fDriveIndex {0U} |
| UInt16 | fIO |
| UInt16 | fMaster {0U} |
Additional Inherited Members | |
| Protected Attributes inherited from Kernel::DeviceInterface< IMountpoint * > | |
| Void(* | fOut )(DeviceInterface< IMountpoint * > *, IMountpoint *Data) |
| Void(* | fIn )(DeviceInterface< IMountpoint * > *, IMountpoint *Data) |
ATA device interface class.
|
explicit |
Class constructor.
| Out | Drive output |
| In | Drive input |
| Cleanup | Drive cleanup. |
|
virtualdefault |
Class desctructor.
|
default |
| const UInt32 & ATADeviceInterface::GetIndex | ( | ) |
| const UInt16 & ATADeviceInterface::GetIO | ( | ) |
| const UInt16 & ATADeviceInterface::GetMaster | ( | ) |
|
overridevirtual |
Returns the name of the device interface.
Reimplemented from Kernel::DeviceInterface< IMountpoint * >.
|
overridevirtual |
Output operator.
| Data | the disk mountpoint. |
Reimplemented from Kernel::DeviceInterface< IMountpoint * >.
|
default |
|
overridevirtual |
Input operator.
| Data | the disk mountpoint. |
Reimplemented from Kernel::DeviceInterface< IMountpoint * >.
|
private |
|
private |
|
private |