HV: Rename cat.c/.h files to rdt.c/.h

As part of rdt cat refactoring, goal is to combine all rdt
specific features such as CAT under one module. So renaming
rdt resouce specific files such as cat.c/.h to generic rdt.c/.h
files.

Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Vijay Dhanraj
2020-02-17 07:13:56 -08:00
committed by wenlingz
parent ee455574ed
commit 2597429903
6 changed files with 10 additions and 10 deletions

View File

@@ -224,7 +224,7 @@ HW_C_SRCS += arch/x86/pm.c
HW_S_SRCS += arch/x86/wakeup.S HW_S_SRCS += arch/x86/wakeup.S
HW_C_SRCS += arch/x86/trampoline.c HW_C_SRCS += arch/x86/trampoline.c
HW_S_SRCS += arch/x86/sched.S HW_S_SRCS += arch/x86/sched.S
HW_C_SRCS += arch/x86/cat.c HW_C_SRCS += arch/x86/rdt.c
HW_C_SRCS += arch/x86/sgx.c HW_C_SRCS += arch/x86/sgx.c
HW_C_SRCS += common/softirq.c HW_C_SRCS += common/softirq.c
HW_C_SRCS += common/schedule.c HW_C_SRCS += common/schedule.c

View File

@@ -7,7 +7,7 @@
#include <bits.h> #include <bits.h>
#include <vm_config.h> #include <vm_config.h>
#include <logmsg.h> #include <logmsg.h>
#include <cat.h> #include <rdt.h>
#include <pgtable.h> #include <pgtable.h>
#include <vuart.h> #include <vuart.h>

View File

@@ -23,7 +23,7 @@
#include <msr.h> #include <msr.h>
#include <ptdev.h> #include <ptdev.h>
#include <logmsg.h> #include <logmsg.h>
#include <cat.h> #include <rdt.h>
#include <vboot.h> #include <vboot.h>
#include <sgx.h> #include <sgx.h>
#include <uart16550.h> #include <uart16550.h>

View File

@@ -15,7 +15,7 @@
#include <sgx.h> #include <sgx.h>
#include <guest_pm.h> #include <guest_pm.h>
#include <ucode.h> #include <ucode.h>
#include <cat.h> #include <rdt.h>
#include <trace.h> #include <trace.h>
#include <logmsg.h> #include <logmsg.h>

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2019 Intel Corporation. All rights reserved. * Copyright (C) 2020 Intel Corporation. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
@@ -11,7 +11,7 @@
#include <cpuid.h> #include <cpuid.h>
#include <errno.h> #include <errno.h>
#include <logmsg.h> #include <logmsg.h>
#include <cat.h> #include <rdt.h>
#include <board.h> #include <board.h>
#include <vm_config.h> #include <vm_config.h>
#include <msr.h> #include <msr.h>

View File

@@ -1,11 +1,11 @@
/* /*
* Copyright (C) 2019 Intel Corporation. All rights reserved. * Copyright (C) 2020 Intel Corporation. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#ifndef CAT_H #ifndef RDT_H
#define CAT_H #define RDT_H
/* The intel Resource Director Tech(RDT) based Cache Allocation Tech support */ /* The intel Resource Director Tech(RDT) based Cache Allocation Tech support */
struct cat_hw_info { struct cat_hw_info {
@@ -27,4 +27,4 @@ void setup_clos(uint16_t pcpu_id);
int32_t init_cat_cap_info(void); int32_t init_cat_cap_info(void);
uint64_t clos2prq_msr(uint16_t clos); uint64_t clos2prq_msr(uint16_t clos);
#endif /* CAT_H */ #endif /* RDT_H */