modularization: move vMTRR code to guest directory

MTRR emulation belongs to virtual CPU component.

- rename mtrr.c to vmtrr.c and move it to arch/x86/guest
- rename mtrr.h to vmtrr.h and move it to include/arch/x86/guest

Tracked-On: #1842
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Zide Chen
2018-12-10 13:04:55 -08:00
committed by wenlingz
parent e066774a1c
commit 6bbd0129c3
5 changed files with 7 additions and 7 deletions

View File

@@ -3,12 +3,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file mtrr.h
* @file vmtrr.h
*
* @brief MTRR Virtualization
*/
#ifndef MTRR_H
#define MTRR_H
#ifndef VMTRR_H
#define VMTRR_H
/**
* @brief MTRR Virtualization
*
@@ -83,4 +83,4 @@ void init_mtrr(struct acrn_vcpu *vcpu);
/**
* @}
*/
#endif /* MTRR_H */
#endif /* VMTRR_H */

View File

@@ -16,7 +16,7 @@
#include <msr.h>
#include <io.h>
#include <ioreq.h>
#include <mtrr.h>
#include <vmtrr.h>
#include <timer.h>
#include <vlapic.h>
#include <vcpu.h>