#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.
Disk Image Interfaces
Definition in file disk_image.hh.
◆ SectorSize
◆ SafeRead() [1/2]
template<class T >
void SafeRead |
( |
std::ifstream & |
stream, |
|
|
T & |
data |
|
) |
| |
◆ SafeRead() [2/2]
void SafeRead |
( |
std::ifstream & |
stream, |
|
|
void * |
data, |
|
|
int |
count |
|
) |
| |
◆ SafeReadSwap()
template<class T >
void SafeReadSwap |
( |
std::ifstream & |
stream, |
|
|
T & |
data |
|
) |
| |
◆ SafeWrite() [1/2]
template<class T >
void SafeWrite |
( |
std::ofstream & |
stream, |
|
|
const T & |
data |
|
) |
| |
◆ SafeWrite() [2/2]
void SafeWrite |
( |
std::ofstream & |
stream, |
|
|
const void * |
data, |
|
|
int |
count |
|
) |
| |
◆ SafeWriteSwap()
template<class T >
void SafeWriteSwap |
( |
std::ofstream & |
stream, |
|
|
const T & |
data |
|
) |
| |