gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
RawImage Class Reference

#include <raw_image.hh>

Inheritance diagram for RawImage:
ObjectFile ImageFile

Public Member Functions

 RawImage (ImageFileDataPtr ifd)
 
 RawImage (const std::string &filename)
 
MemoryImage buildImage () const override
 
- Public Member Functions inherited from ObjectFile
virtual ~ObjectFile ()
 
virtual bool loadAllSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
 
virtual bool loadGlobalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
 
virtual bool loadLocalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
 
virtual bool loadWeakSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr)
 
virtual ObjectFilegetInterpreter () const
 
virtual bool relocatable () const
 
virtual Addr mapSize () const
 
virtual void updateBias (Addr bias_addr)
 
virtual Addr bias () const
 
virtual bool hasTLS ()
 
Arch getArch () const
 
OpSys getOpSys () const
 
Addr entryPoint () const
 

Additional Inherited Members

- Public Types inherited from ObjectFile
enum  Arch {
  UnknownArch, Alpha, SPARC64, SPARC32,
  Mips, X86_64, I386, Arm64,
  Arm, Thumb, Power, Riscv64,
  Riscv32
}
 
enum  OpSys {
  UnknownOpSys, Tru64, Linux, Solaris,
  LinuxArmOABI, FreeBSD
}
 
- Protected Member Functions inherited from ObjectFile
 ObjectFile (ImageFileDataPtr ifd)
 
- Protected Member Functions inherited from ImageFile
 ImageFile (ImageFileDataPtr data)
 
virtual ~ImageFile ()
 
- Protected Attributes inherited from ObjectFile
Arch arch = UnknownArch
 
OpSys opSys = UnknownOpSys
 
Addr entry = 0
 
- Protected Attributes inherited from ImageFile
ImageFileDataPtr imageData
 

Detailed Description

Definition at line 36 of file raw_image.hh.

Constructor & Destructor Documentation

◆ RawImage() [1/2]

RawImage::RawImage ( ImageFileDataPtr  ifd)
inline

Definition at line 39 of file raw_image.hh.

◆ RawImage() [2/2]

RawImage::RawImage ( const std::string &  filename)
inline

Definition at line 41 of file raw_image.hh.

Member Function Documentation

◆ buildImage()

MemoryImage RawImage::buildImage ( ) const
inlineoverridevirtual

Implements ImageFile.

Definition at line 46 of file raw_image.hh.

References ImageFile::imageData.


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

Generated on Fri Feb 28 2020 16:27:14 for gem5 by doxygen 1.8.13