gem5  v21.1.0.2
Classes | Namespaces | Macros | Functions
disk_image.hh File Reference
#include <fstream>
#include <unordered_map>
#include "params/CowDiskImage.hh"
#include "params/DiskImage.hh"
#include "params/RawDiskImage.hh"
#include "sim/sim_object.hh"

Go to the source code of this file.

Classes

class  gem5::DiskImage
 Basic interface for accessing a disk image. More...
 
class  gem5::RawDiskImage
 Specialization for accessing a raw disk image. More...
 
class  gem5::CowDiskImage
 Specialization for accessing a copy-on-write disk image layer. More...
 
struct  gem5::CowDiskImage::Sector
 

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.
 

Macros

#define SectorSize   (512)
 

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 Interfaces

Definition in file disk_image.hh.

Macro Definition Documentation

◆ SectorSize

#define SectorSize   (512)

Definition at line 44 of file disk_image.hh.


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