gem5  v21.1.0.2
Namespaces | Functions
disk_image.cc File Reference
#include "dev/storage/disk_image.hh"
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <fstream>
#include <string>
#include "base/callback.hh"
#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/DiskImageRead.hh"
#include "debug/DiskImageWrite.hh"
#include "sim/byteswap.hh"
#include "sim/serialize.hh"
#include "sim/sim_exit.hh"

Go to the source code of this file.

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 

Functions

void gem5::SafeRead (std::ifstream &stream, void *data, int count)
 
template<class T >
void gem5::SafeRead (std::ifstream &stream, T &data)
 
template<class T >
void gem5::SafeReadSwap (std::ifstream &stream, T &data)
 
void gem5::SafeWrite (std::ofstream &stream, const void *data, int count)
 
template<class T >
void gem5::SafeWrite (std::ofstream &stream, const T &data)
 
template<class T >
void gem5::SafeWriteSwap (std::ofstream &stream, const T &data)
 

Detailed Description

Disk Image Definitions

Definition in file disk_image.cc.


Generated on Tue Sep 21 2021 12:26:35 for gem5 by doxygen 1.8.17