gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
base_cpu.cc File Reference
#include "arch/arm/kvm/base_cpu.hh"
#include <linux/kvm.h>
#include "debug/KvmInt.hh"
#include "params/BaseArmKvmCPU.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

#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))
type
Definition: misc.hh:728
Bitfield< 1 > irq
Definition: miscregs.hh:1520

Definition at line 47 of file base_cpu.cc.

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

Definition at line 55 of file base_cpu.cc.

Referenced by BaseArmKvmCPU::kvmRun().

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

Definition at line 52 of file base_cpu.cc.

Referenced by BaseArmKvmCPU::kvmRun().


Generated on Fri Jun 9 2017 13:03:55 for gem5 by doxygen 1.8.6