gem5  v22.1.0.0
Public Member Functions | Private Attributes | List of all members
gem5::loader::ImageFileData Class Reference

#include <image_file_data.hh>

Public Member Functions

const std::string & filename () const
 
uint8_t const * data () const
 
size_t len () const
 
 ImageFileData (const std::string &f_name)
 
virtual ~ImageFileData ()
 

Private Attributes

std::string _filename
 
uint8_t * _data
 
size_t _len
 

Detailed Description

Definition at line 45 of file image_file_data.hh.

Constructor & Destructor Documentation

◆ ImageFileData()

gem5::loader::ImageFileData::ImageFileData ( const std::string &  f_name)

◆ ~ImageFileData()

gem5::loader::ImageFileData::~ImageFileData ( )
virtual

Definition at line 133 of file image_file_data.cc.

References _data, and _len.

Member Function Documentation

◆ data()

uint8_t const* gem5::loader::ImageFileData::data ( ) const
inline

Definition at line 54 of file image_file_data.hh.

References _data.

Referenced by gem5::qemu::FwCfgItemFile::bytes(), and TEST().

◆ filename()

const std::string& gem5::loader::ImageFileData::filename ( ) const
inline

Definition at line 53 of file image_file_data.hh.

References _filename.

Referenced by TEST().

◆ len()

size_t gem5::loader::ImageFileData::len ( ) const
inline

Definition at line 55 of file image_file_data.hh.

References _len.

Referenced by gem5::qemu::FwCfgItemFile::length(), and TEST().

Member Data Documentation

◆ _data

uint8_t* gem5::loader::ImageFileData::_data
private

Definition at line 49 of file image_file_data.hh.

Referenced by data(), ImageFileData(), and ~ImageFileData().

◆ _filename

std::string gem5::loader::ImageFileData::_filename
private

Definition at line 48 of file image_file_data.hh.

Referenced by filename(), and ImageFileData().

◆ _len

size_t gem5::loader::ImageFileData::_len
private

Definition at line 50 of file image_file_data.hh.

Referenced by ImageFileData(), len(), and ~ImageFileData().


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

Generated on Wed Dec 21 2022 10:24:15 for gem5 by doxygen 1.9.1