gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
object_file.cc File Reference
#include "base/loader/object_file.hh"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <unistd.h>
#include <zlib.h>
#include <cstdio>
#include <list>
#include <string>
#include "base/cprintf.hh"
#include "base/loader/aout_object.hh"
#include "base/loader/dtb_object.hh"
#include "base/loader/ecoff_object.hh"
#include "base/loader/elf_object.hh"
#include "base/loader/raw_object.hh"
#include "base/loader/symtab.hh"
#include "mem/port_proxy.hh"

Go to the source code of this file.

Functions

static bool hasGzipMagic (int fd)
 
static int doGzipLoad (int fd)
 
ObjectFilecreateObjectFile (const string &fname, bool raw)
 

Function Documentation

ObjectFile* createObjectFile ( const string &  fname,
bool  raw 
)
static int doGzipLoad ( int  fd)
static

Definition at line 110 of file object_file.cc.

References ArmISA::fd, MipsISA::p, MipsISA::r, and warn.

Referenced by createObjectFile().

static bool hasGzipMagic ( int  fd)
static

Definition at line 101 of file object_file.cc.

References panic_if().

Referenced by createObjectFile().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6