29#ifndef __DEV_LUPIO_LUPIO_BLK_HH__
30#define __DEV_LUPIO_LUPIO_BLK_HH__
32#include "debug/LupioBLK.hh"
38#include "params/LupioBLK.hh"
Basic interface for accessing a disk image.
LupioBLK: A virtual block device which aims to provide a disk-like interface for second-level storage...
void lupioBLKCmd(void)
Function to initiate and direct the transfer of data by the DMA device.
AddrRangeList getAddrRanges() const override
Implement BasicPioDevice virtual functions.
void lupioBLKWrite(const uint8_t addr, uint64_t val64)
Function to write to registers containing data pertaining to block transfers.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
LupioBLK(const Params ¶ms)
const ByteOrder byteOrder
uint64_t lupioBLKRead(const uint8_t addr)
Function to return data pertaining to blocks being transferred.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
EventFunctionWrapper dmaEvent
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
const Params & params() const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t Tick
Tick count type.