gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HexFile Class Reference

#include <hex_file.hh>

Public Member Functions

 HexFile (const std::string _filename)
 
virtual ~HexFile ()
 
void close ()
 
bool loadSections (PortProxy &memProxy)
 

Protected Member Functions

void parseLine (char *, Addr *, uint32_t *)
 

Protected Attributes

const std::string filename
 
FILE * fp
 

Detailed Description

Definition at line 42 of file hex_file.hh.

Constructor & Destructor Documentation

HexFile::HexFile ( const std::string  _filename)

Definition at line 50 of file hex_file.cc.

References filename, fp, and panic.

HexFile::~HexFile ( )
virtual

Definition at line 58 of file hex_file.cc.

References fp.

Member Function Documentation

void HexFile::close ( )

Definition at line 138 of file hex_file.cc.

References fp.

bool HexFile::loadSections ( PortProxy memProxy)

Definition at line 65 of file hex_file.cc.

References fp, panic, parseLine(), and PortProxy::writeBlob().

void HexFile::parseLine ( char *  Str,
Addr A,
uint32_t *  D 
)
protected

Definition at line 84 of file hex_file.cc.

References ArmISA::i.

Referenced by loadSections().

Member Data Documentation

const std::string HexFile::filename
protected

Definition at line 45 of file hex_file.hh.

Referenced by HexFile().

FILE* HexFile::fp
protected

Definition at line 46 of file hex_file.hh.

Referenced by close(), HexFile(), loadSections(), and ~HexFile().


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

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