gem5  v20.1.0.0
Macros
base_cpu.cc File Reference
#include "arch/arm/kvm/base_cpu.hh"
#include <linux/kvm.h>
#include "arch/arm/interrupts.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.

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 50 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 58 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 55 of file base_cpu.cc.

type
uint8_t type
Definition: inet.hh:421
ArmISA::irq
Bitfield< 1 > irq
Definition: miscregs_types.hh:327

Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17