29#ifndef __DEV_LUPIO_LUPIO_PIC_HH__
30#define __DEV_LUPIO_LUPIO_PIC_HH__
35#include "params/LupioPIC.hh"
38#define LUPIO_PIC_NSRC 32
98 void post(
int src_id);
99 void clear(
int src_id);
LupioPIC: A programmable interrupt controller virtual device that can manage input IRQs coming from u...
void lupioPicWrite(const uint8_t addr, uint64_t val64)
Function to update interrupt requests.
const ByteOrder byteOrder
uint32_t mask[LUPIO_PIC_NSRC]
uint32_t enable[LUPIO_PIC_NSRC]
LupioPIC(const Params ¶ms)
void lupioPicUpdateIRQ()
Function to post and clear interrupts.
Tick read(PacketPtr pkt) override
Implement BasicPioDevice virtual functions.
uint64_t lupioPicRead(const uint8_t addr)
Function to return information about interrupt requests to the LupIO-PIC.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
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 Tick
Tick count type.