mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-19 05:40:20 +00:00
For data structure types "struct vm", its name is identical with variable name in the same scope. This is a MISRA C violation. Naming convention rule:If the data structure type is used by multi modules, its corresponding logic resource is exposed to external components (such as SOS, UOS), and its name meaning is simplistic (such as vcpu, vm), its name needs prefix "acrn_". The following udpates are made: struct vm *vm-->struct acrn_vm *vm Tracked-On: #861 Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
32 lines
714 B
C
32 lines
714 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/************************************************************************
|
|
*
|
|
* FILE NAME
|
|
*
|
|
* mptable.h
|
|
*
|
|
* DESCRIPTION
|
|
*
|
|
* This file defines API and extern variable for VM mptable info
|
|
*
|
|
************************************************************************/
|
|
/**********************************/
|
|
/* EXTERNAL VARIABLES */
|
|
/**********************************/
|
|
#ifndef MPTABLE_H
|
|
#define MPTABLE_H
|
|
|
|
struct mptable_info;
|
|
|
|
extern struct mptable_info mptable_vm1;
|
|
extern struct mptable_info mptable_vm2;
|
|
|
|
int mptable_build(struct acrn_vm *vm);
|
|
|
|
#endif /* MPTABLE_H */
|