Public Member Functions

SataDrive Class Reference

SataDrive virtualisation. More...

Inheritance diagram for SataDrive:
FisReceiver StaticReceiver< SataDrive > Device

List of all members.

Public Member Functions

void comreset ()
void receive_fis (unsigned fislen, unsigned *fis)
 Receive a FIS from the controller.
bool receive (MessageDiskCommit &msg)
 SataDrive (DBus< MessageDisk > &bus_disk, DBus< MessageMemRegion > *bus_memregion, DBus< MessageMem > *bus_mem, unsigned hostdisk, DiskParameter params)

Detailed Description

SataDrive virtualisation.

Copyright (C) 2008-2009, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. A SATA drive. It contains the register set of a SATA drive and speaks the SATA transport layer protocol with its FISes.

State: unstable Features: read,write,identify Missing: better error handling, many commands


Constructor & Destructor Documentation

SataDrive::SataDrive ( DBus< MessageDisk > &  bus_disk,
DBus< MessageMemRegion > *  bus_memregion,
DBus< MessageMem > *  bus_mem,
unsigned  hostdisk,
DiskParameter  params 
) [inline]

Member Function Documentation

void SataDrive::comreset (  )  [inline]
bool SataDrive::receive ( MessageDiskCommit msg  )  [inline]
void SataDrive::receive_fis ( unsigned  fislen,
unsigned *  fis 
) [inline]

Receive a FIS from the controller.


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