NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostGenericAta Class Reference

Helper class that unifies functions for IDE+SATA disks. More...

#include <hostgenericata.h>

Public Member Functions

unsigned update_params (unsigned short *id, bool slave)
 Update the parameters from an identify_drive packet.
unsigned get_disk_parameter (DiskParameter *params)
 Get the disk parameters.
void dump_description ()
 Dump an description.
 HostGenericAta ()

Public Attributes

bool _lba48
unsigned long long _maxsector
unsigned _maxcount
char _model [40]
bool _atapi
bool _slave

Static Private Member Functions

static void ntos_string (char *dst, char *str, unsigned len)

Detailed Description

Helper class that unifies functions for IDE+SATA disks.

Constructor & Destructor Documentation

HostGenericAta::HostGenericAta ( )
inline

Member Function Documentation

void HostGenericAta::dump_description ( )
inline

Dump an description.

unsigned HostGenericAta::get_disk_parameter ( DiskParameter params)
inline

Get the disk parameters.

static void HostGenericAta::ntos_string ( char *  dst,
char *  str,
unsigned  len 
)
inlinestaticprivate
unsigned HostGenericAta::update_params ( unsigned short *  id,
bool  slave 
)
inline

Update the parameters from an identify_drive packet.

Member Data Documentation

bool HostGenericAta::_atapi
bool HostGenericAta::_lba48
unsigned HostGenericAta::_maxcount
unsigned long long HostGenericAta::_maxsector
char HostGenericAta::_model[40]
bool HostGenericAta::_slave

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