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.
DmaDevice(const Params &p)
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
std::list< AddrRange > AddrRangeList
Convenience typedef for a collection of address ranges.
const Params & params() const
Copyright (c) 2024 Arm Limited 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.