gem5  v22.0.0.2
Public Member Functions | Static Protected Member Functions | List of all members
gem5::GicV2Registers Class Referenceabstract

#include <gic_v2.hh>

Inheritance diagram for gem5::GicV2Registers:
gem5::GicV2 gem5::KvmKernelGicV2

Public Member Functions

virtual uint32_t readDistributor (ContextID ctx, Addr daddr)=0
 
virtual uint32_t readCpu (ContextID ctx, Addr daddr)=0
 
virtual void writeDistributor (ContextID ctx, Addr daddr, uint32_t data)=0
 
virtual void writeCpu (ContextID ctx, Addr daddr, uint32_t data)=0
 

Static Protected Member Functions

static void copyDistRegister (GicV2Registers *from, GicV2Registers *to, ContextID ctx, Addr daddr)
 
static void copyCpuRegister (GicV2Registers *from, GicV2Registers *to, ContextID ctx, Addr daddr)
 
static void copyBankedDistRange (System *sys, GicV2Registers *from, GicV2Registers *to, Addr daddr, size_t size)
 
static void clearBankedDistRange (System *sys, GicV2Registers *to, Addr daddr, size_t size)
 
static void copyDistRange (GicV2Registers *from, GicV2Registers *to, Addr daddr, size_t size)
 
static void clearDistRange (GicV2Registers *to, Addr daddr, size_t size)
 

Detailed Description

Definition at line 62 of file gic_v2.hh.

Member Function Documentation

◆ clearBankedDistRange()

void gem5::GicV2Registers::clearBankedDistRange ( System sys,
GicV2Registers to,
Addr  daddr,
size_t  size 
)
staticprotected

◆ clearDistRange()

void gem5::GicV2Registers::clearDistRange ( GicV2Registers to,
Addr  daddr,
size_t  size 
)
staticprotected

Definition at line 116 of file gic_v2.cc.

References gem5::ArmISA::a, and gem5::PowerISA::to.

Referenced by gem5::GicV2::copyGicState().

◆ copyBankedDistRange()

void gem5::GicV2Registers::copyBankedDistRange ( System sys,
GicV2Registers from,
GicV2Registers to,
Addr  daddr,
size_t  size 
)
staticprotected

◆ copyCpuRegister()

void gem5::GicV2Registers::copyCpuRegister ( GicV2Registers from,
GicV2Registers to,
ContextID  ctx,
Addr  daddr 
)
staticprotected

Definition at line 78 of file gic_v2.cc.

References DPRINTF, readCpu(), gem5::PowerISA::to, and gem5::X86ISA::val.

Referenced by gem5::GicV2::copyGicState().

◆ copyDistRange()

void gem5::GicV2Registers::copyDistRange ( GicV2Registers from,
GicV2Registers to,
Addr  daddr,
size_t  size 
)
staticprotected

Definition at line 107 of file gic_v2.cc.

References gem5::ArmISA::a, copyDistRegister(), and gem5::PowerISA::to.

Referenced by gem5::GicV2::copyGicState().

◆ copyDistRegister()

void gem5::GicV2Registers::copyDistRegister ( GicV2Registers from,
GicV2Registers to,
ContextID  ctx,
Addr  daddr 
)
staticprotected

◆ readCpu()

virtual uint32_t gem5::GicV2Registers::readCpu ( ContextID  ctx,
Addr  daddr 
)
pure virtual

Implemented in gem5::GicV2, and gem5::KvmKernelGicV2.

Referenced by copyCpuRegister().

◆ readDistributor()

virtual uint32_t gem5::GicV2Registers::readDistributor ( ContextID  ctx,
Addr  daddr 
)
pure virtual

Implemented in gem5::GicV2, and gem5::KvmKernelGicV2.

Referenced by copyDistRegister().

◆ writeCpu()

virtual void gem5::GicV2Registers::writeCpu ( ContextID  ctx,
Addr  daddr,
uint32_t  data 
)
pure virtual

Implemented in gem5::GicV2, and gem5::KvmKernelGicV2.

◆ writeDistributor()

virtual void gem5::GicV2Registers::writeDistributor ( ContextID  ctx,
Addr  daddr,
uint32_t  data 
)
pure virtual

Implemented in gem5::GicV2, and gem5::KvmKernelGicV2.


The documentation for this class was generated from the following files:

Generated on Thu Jul 28 2022 13:33:03 for gem5 by doxygen 1.8.17