mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-02 18:22:55 +00:00
fix MISRA-C 243S
Included file not protected with #define, this feature is required. Signed-off-by: huihuang.shi <huihuang.shi@intel.com>
This commit is contained in:
parent
9af35baf5a
commit
ba1b034e1e
@ -27,6 +27,8 @@
|
|||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef INSTR_EMUL_WRAPPER_H
|
||||||
|
#define INSTR_EMUL_WRAPPER_H
|
||||||
#include <cpu.h>
|
#include <cpu.h>
|
||||||
|
|
||||||
struct vie_op {
|
struct vie_op {
|
||||||
@ -186,3 +188,4 @@ int vm_get_seg_desc(struct vcpu *vcpu, int reg,
|
|||||||
int vm_set_seg_desc(struct vcpu *vcpu, int reg,
|
int vm_set_seg_desc(struct vcpu *vcpu, int reg,
|
||||||
struct seg_desc *desc);
|
struct seg_desc *desc);
|
||||||
int vm_restart_instruction(struct vcpu *vcpu);
|
int vm_restart_instruction(struct vcpu *vcpu);
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user