gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 44 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 127 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 53 of file image_file_data.hh.

References _data.

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

◆ filename()

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

Definition at line 52 of file image_file_data.hh.

References _filename.

Referenced by TEST().

◆ len()

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

Definition at line 54 of file image_file_data.hh.

References _len.

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

Member Data Documentation

◆ _data

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

Definition at line 48 of file image_file_data.hh.

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

◆ _filename

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

Definition at line 47 of file image_file_data.hh.

Referenced by filename(), and ImageFileData().

◆ _len

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

Definition at line 49 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 Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0