StuBS
HarddiskPorts Class Reference

#include <fs/harddisk.h>

Collaboration diagram for HarddiskPorts:
[legend]

Public Member Functions

 HarddiskPorts (Drive drive)
 

Public Attributes

IOPort data
 
IOPort sector_count
 
IOPort lba_low
 
IOPort lba_mid
 
IOPort lba_high
 
IOPort drive_select
 
IOPort command
 

Static Private Member Functions

static uint16_t base_port (Drive drive)
 

Constructor & Destructor Documentation

◆ HarddiskPorts()

HarddiskPorts::HarddiskPorts ( Drive  drive)
inlineexplicit

Member Function Documentation

◆ base_port()

static uint16_t HarddiskPorts::base_port ( Drive  drive)
inlinestaticprivate

Member Data Documentation

◆ data

IOPort HarddiskPorts::data

◆ sector_count

IOPort HarddiskPorts::sector_count

◆ lba_low

IOPort HarddiskPorts::lba_low

◆ lba_mid

IOPort HarddiskPorts::lba_mid

◆ lba_high

IOPort HarddiskPorts::lba_high

◆ drive_select

IOPort HarddiskPorts::drive_select

◆ command

IOPort HarddiskPorts::command

The documentation for this class was generated from the following file: