Max OS 0.3
Loading...
Searching...
No Matches
ide.h
Go to the documentation of this file.
1
9#ifndef MAXOS_DRIVERS_IDE_H
10#define MAXOS_DRIVERS_IDE_H
11
12#include <drivers/disk/ata.h>
13#include <cstdint>
14#include <common/map.h>
17
18
19namespace MaxOS::drivers::disk {
20
26 private:
28
29 public:
32
33 void initialise() final;
34 void activate() final;
35
36 string vendor_name() final;
37 string device_name() final;
38
39
40 };
41}
42
43
44#endif //MAXOS_DRIVERS_IDE_H
Driver for the ATA controller, handles the reading and writing of data to the hard drive.
Stores the left, top, width and height of a rectangle.
Definition rectangle.h:22
base class for all drivers, handles the activation, deactivation, initialisation and reset of the dri...
Definition driver.h:27
Driver for the IDE controller, handles the creation and management of the IDE devices.
Definition ide.h:25
void activate() final
Activate the IDE controller by mounting the devices to the virtual file system.
Definition ide.cpp:74
void initialise() final
Initialise the IDE controller by identifying the devices.
Definition ide.cpp:46
string device_name() final
Get the device name.
Definition ide.cpp:104
string vendor_name() final
Get the vendor name.
Definition ide.cpp:95
Stores information about a PCI device.
Definition pci.h:54
Defines a Map class for storing key-value pairs.
Defines structures and enums for handling Microsoft - Desktop Operating System (MS-DOS) partitions in...
Defines a Peripheral Component Interconnect (PCI) controller for managing PCI devices and loading the...