34#ifndef __DEV_SPARC_MM_DISK_HH__
35#define __DEV_SPARC_MM_DISK_HH__
39#include "params/MmDisk.hh"
Basic interface for accessing a disk image.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
uint8_t diskData[SectorSize]
void serialize(CheckpointOut &cp) const override
Serialize an object.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
uint64_t Tick
Tick count type.