Public Member Functions

HostAhciPort Class Reference

A single AHCI port with its command list and receive FIS buffer. More...

Inheritance diagram for HostAhciPort:
StaticReceiver< HostAhciPort > Device

List of all members.

Public Member Functions

unsigned init (unsigned short *buffer)
 Initialize the port.
void debug ()
void irq ()
bool receive (MessageDisk &msg)
 HostAhciPort (HostAhciPortRegister *regs, DBus< MessageHostOp > &bus_hostop, DBus< MessageDiskCommit > &bus_commit, Clock *clock, unsigned disknr, unsigned max_slots, bool dmar)

Detailed Description

A single AHCI port with its command list and receive FIS buffer.

State: testing Supports: read-sectors, write-sectors, identify-drive Missing: ATAPI detection


Constructor & Destructor Documentation

HostAhciPort::HostAhciPort ( HostAhciPortRegister regs,
DBus< MessageHostOp > &  bus_hostop,
DBus< MessageDiskCommit > &  bus_commit,
Clock clock,
unsigned  disknr,
unsigned  max_slots,
bool  dmar 
) [inline]

Member Function Documentation

void HostAhciPort::debug (  )  [inline]
unsigned HostAhciPort::init ( unsigned short *  buffer  )  [inline]

Initialize the port.

void HostAhciPort::irq (  )  [inline]
bool HostAhciPort::receive ( MessageDisk msg  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines