Fix previous.

This commit is contained in:
Maxim Poliakovski 2022-12-09 01:07:08 +01:00
commit 86b0174b13
2 changed files with 0 additions and 16 deletions

View File

@ -69,23 +69,13 @@ enum IDE_Error : int {
BBK = 0x80
};
<<<<<<< HEAD
/** Bit definition for the device control register. */
enum {
ATA_CTRL_nIEN = 1 << 1,
ATA_CTRL_SRST = 1 << 2,
};
/** ATA commands. */
=======
/* ATA Signals */
enum IDE_Signal : int {
PDIAG = 0x22,
DASP = 0x27
};
/* ATA commands. */
>>>>>>> 1e9ec5d... Start ATA command support
enum IDE_Cmd : int {
NOP = 0x00,
RESET_ATAPI = 0x08,

View File

@ -45,14 +45,8 @@ public:
return std::unique_ptr<IdeChannel>(new IdeChannel("IDE1"));
}
<<<<<<< HEAD
uint32_t read(const uint8_t reg_addr, const int size);
void write(const uint8_t reg_addr, const uint32_t val, const int size);
=======
uint16_t read(const uint8_t reg_addr, const int size);
void write(const uint8_t reg_addr, const uint16_t val, const int size);
//void talk_to_channel(std::string name)
>>>>>>> 1e9ec5d... Start ATA command support
private:
int cur_dev = 0;