gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::loader::MemoryImage::Segment Struct Reference

#include <memory_image.hh>

Public Member Functions

 Segment (const std::string &_name, Addr _base, const uint8_t *_data, size_t _size)
 
 Segment (const std::string &_name, Addr _base, size_t _size)
 
 Segment (const std::string &_name, Addr _base, const ImageFileDataPtr &_ifd, Addr offset, size_t _size)
 
 Segment (const std::string &_name, const ImageFileDataPtr &_ifd)
 

Public Attributes

ImageFileDataPtr ifd
 
std::string name
 
Addr base = 0
 
const uint8_t * data = nullptr
 
size_t size = 0
 

Detailed Description

Definition at line 55 of file memory_image.hh.

Constructor & Destructor Documentation

◆ Segment() [1/4]

gem5::loader::MemoryImage::Segment::Segment ( const std::string & _name,
Addr _base,
const uint8_t * _data,
size_t _size )
inline

Definition at line 57 of file memory_image.hh.

◆ Segment() [2/4]

gem5::loader::MemoryImage::Segment::Segment ( const std::string & _name,
Addr _base,
size_t _size )
inline

Definition at line 62 of file memory_image.hh.

◆ Segment() [3/4]

gem5::loader::MemoryImage::Segment::Segment ( const std::string & _name,
Addr _base,
const ImageFileDataPtr & _ifd,
Addr offset,
size_t _size )
inline

Definition at line 66 of file memory_image.hh.

References data, ifd, gem5::ArmISA::offset, panic_if, and size.

◆ Segment() [4/4]

gem5::loader::MemoryImage::Segment::Segment ( const std::string & _name,
const ImageFileDataPtr & _ifd )
inline

Definition at line 75 of file memory_image.hh.

Member Data Documentation

◆ base

Addr gem5::loader::MemoryImage::Segment::base = 0

Definition at line 81 of file memory_image.hh.

◆ data

const uint8_t* gem5::loader::MemoryImage::Segment::data = nullptr

Definition at line 82 of file memory_image.hh.

Referenced by Segment().

◆ ifd

ImageFileDataPtr gem5::loader::MemoryImage::Segment::ifd

Definition at line 79 of file memory_image.hh.

Referenced by Segment().

◆ name

std::string gem5::loader::MemoryImage::Segment::name

Definition at line 80 of file memory_image.hh.

◆ size

size_t gem5::loader::MemoryImage::Segment::size = 0

Definition at line 83 of file memory_image.hh.

Referenced by Segment().


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0