/*
- * Copyright (c) 2003 The Regents of The University of Michigan
+ * Copyright (c) 2001-2003 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include <fstream>
-#include "hashmap.hh"
-#include "sim_object.hh"
+#include "base/hashmap.hh"
+#include "sim/sim_object.hh"
#define SectorSize (512)
~CowDiskImage();
void init(int hash_size);
- bool open();
+ bool open(const std::string &file);
void save();
+ void save(const std::string &file);
void writeback();
+ void serialize(std::ostream &os);
+ void unserialize(Checkpoint *cp, const std::string §ion);
virtual off_t size() const;