38#ifndef __DEV_ARM_ABSTRACT_NVM_HH__
39#define __DEV_ARM_ABSTRACT_NVM_HH__
42#include "params/AbstractNVM.hh"
105 const std::function<
void()> &
event) = 0;
107 const std::function<
void()> &
event) = 0;
This is an interface between the disk interface (which will handle the disk data transactions) and th...
virtual void writeMemory(uint64_t address, uint32_t amount, const std::function< void()> &event)=0
AbstractNVM(const AbstractNVMParams &p)
virtual void readMemory(uint64_t address, uint32_t amount, const std::function< void()> &event)=0
Access functions Access function to simulate a read/write access to the memory.
virtual void initializeMemory(uint64_t disk_size, uint32_t sector_size)=0
Initialize Memory.
Abstract superclass for simulation objects.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.