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

Commit 4e11a89

Browse files
kvm_arm.h: add kvm_m_vcpu_init struct for KVM_CUSTOM_M_INIT ioctl interface
Signed-off-by: chaojixx <[email protected]>
1 parent 1f6f8f5 commit 4e11a89

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/cpu/arm/kvm_arm.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ struct kvm_m_sregs {
8282
void *nvic;
8383
};
8484

85+
struct kvm_m_vcpu_init {
86+
__u32 entry;
87+
__u32 msp_init;
88+
__u32 vtor;
89+
};
90+
8591
/* Supported Processor Types */
8692
#define KVM_ARM_TARGET_CORTEX_A15 0
8793
#define KVM_ARM_TARGET_CORTEX_A7 1

0 commit comments

Comments
 (0)