gem5  v22.0.0.2
Namespaces | Macros
base_cpu.cc File Reference
#include "arch/arm/kvm/base_cpu.hh"
#include <linux/kvm.h>
#include <mutex>
#include "arch/arm/interrupts.hh"
#include "base/uncontended_mutex.hh"
#include "debug/KvmInt.hh"
#include "dev/arm/generic_timer.hh"
#include "params/BaseArmKvmCPU.hh"
#include "params/GenericTimer.hh"

Go to the source code of this file.

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 

Macros

#define INTERRUPT_ID(type, vcpu, irq)
 
#define INTERRUPT_VCPU_IRQ(vcpu)   INTERRUPT_ID(KVM_ARM_IRQ_TYPE_CPU, vcpu, KVM_ARM_IRQ_CPU_IRQ)
 
#define INTERRUPT_VCPU_FIQ(vcpu)   INTERRUPT_ID(KVM_ARM_IRQ_TYPE_CPU, vcpu, KVM_ARM_IRQ_CPU_FIQ)
 

Macro Definition Documentation

◆ INTERRUPT_ID

#define INTERRUPT_ID (   type,
  vcpu,
  irq 
)
Value:
( \
((type) << KVM_ARM_IRQ_TYPE_SHIFT) | \
((vcpu) << KVM_ARM_IRQ_VCPU_SHIFT) | \
((irq) << KVM_ARM_IRQ_NUM_SHIFT))

Definition at line 55 of file base_cpu.cc.

◆ INTERRUPT_VCPU_FIQ

#define INTERRUPT_VCPU_FIQ (   vcpu)    INTERRUPT_ID(KVM_ARM_IRQ_TYPE_CPU, vcpu, KVM_ARM_IRQ_CPU_FIQ)

Definition at line 63 of file base_cpu.cc.

◆ INTERRUPT_VCPU_IRQ

#define INTERRUPT_VCPU_IRQ (   vcpu)    INTERRUPT_ID(KVM_ARM_IRQ_TYPE_CPU, vcpu, KVM_ARM_IRQ_CPU_IRQ)

Definition at line 60 of file base_cpu.cc.

gem5::ArmISA::irq
Bitfield< 1 > irq
Definition: misc_types.hh:331
gem5::X86ISA::type
type
Definition: misc.hh:727

Generated on Thu Jul 28 2022 13:32:44 for gem5 by doxygen 1.8.17