gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
CommandReg Struct Reference

#include <ide_disk.hh>

Public Attributes

uint16_t data
 
uint8_t error
 
uint8_t sec_count
 
uint8_t sec_num
 
uint8_t cyl_low
 
uint8_t cyl_high
 
union {
   uint8_t   drive
 
   uint8_t   head
 
}; 
 
uint8_t command
 

Detailed Description

Definition at line 126 of file ide_disk.hh.

Member Data Documentation

union { ... }
uint8_t CommandReg::command
uint8_t CommandReg::cyl_high
uint8_t CommandReg::cyl_low
uint16_t CommandReg::data
uint8_t CommandReg::drive
uint8_t CommandReg::error

Definition at line 128 of file ide_disk.hh.

Referenced by IdeDisk::readCommand(), and IdeDisk::reset().

uint8_t CommandReg::head

Definition at line 135 of file ide_disk.hh.

Referenced by IdeDisk::getLBABase(), and IdeDisk::startCommand().

uint8_t CommandReg::sec_count
uint8_t CommandReg::sec_num

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

Generated on Fri Jun 9 2017 13:04:06 for gem5 by doxygen 1.8.6