![]() |
Max OS 0.3
|
Driver for the IDE controller, handles the creation and management of the IDE devices. More...
#include <ide.h>
Public Member Functions | |
| IntegratedDriveElectronicsController (hardwarecommunication::PCIDeviceDescriptor *device_descriptor) | |
| Construct a new Integrated Drive Electronics Controller object. | |
| void | initialise () final |
| Initialise the IDE controller by identifying the devices. | |
| void | activate () final |
| Activate the IDE controller by mounting the devices to the virtual file system. | |
| string | vendor_name () final |
| Get the vendor name. | |
| string | device_name () final |
| Get the device name. | |
Public Member Functions inherited from MaxOS::drivers::Driver | |
| virtual void | deactivate () |
| Deactivate the driver. | |
| virtual uint32_t | reset () |
| Reset the driver. | |
Driver for the IDE controller, handles the creation and management of the IDE devices.
|
explicit |
Construct a new Integrated Drive Electronics Controller object.
| device_descriptor | The PCI device descriptor for this controller |
Definition at line 25 of file ide.cpp.
|
finalvirtual |
Activate the IDE controller by mounting the devices to the virtual file system.
Reimplemented from MaxOS::drivers::Driver.
Definition at line 74 of file ide.cpp.
References MaxOS::filesystem::partition::MSDOSPartition::mount_partitions().
|
finalvirtual |
Get the device name.
Reimplemented from MaxOS::drivers::Driver.
Definition at line 104 of file ide.cpp.
|
finalvirtual |
Initialise the IDE controller by identifying the devices.
Reimplemented from MaxOS::drivers::Driver.
Definition at line 46 of file ide.cpp.
References MaxOS::Logger::DEBUG().
|
finalvirtual |
Get the vendor name.
Reimplemented from MaxOS::drivers::Driver.
Definition at line 95 of file ide.cpp.