gem5 v24.0.0.0
|
Disk Image Definitions. More...
#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 | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
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) |
Disk Image Definitions.
Definition in file disk_image.cc.