Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
kvm_arm.h: add kvm_m_vcpu_init struct for KVM_CUSTOM_M_INIT ioctl int…
Browse files Browse the repository at this point in the history
…erface

Signed-off-by: chaojixx <[email protected]>
  • Loading branch information
weizhou-chaojixx committed Jan 20, 2020
1 parent d768c7c commit 82533c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/cpu/arm/kvm_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ struct kvm_m_sregs {
void *nvic;
};

struct kvm_m_vcpu_init {
__u32 entry;
__u32 msp_init;
__u32 vtor;
};

/* Supported Processor Types */
#define KVM_ARM_TARGET_CORTEX_A15 0
#define KVM_ARM_TARGET_CORTEX_A7 1
Expand Down

0 comments on commit 82533c1

Please sign in to comment.