Skip to content

Commit 2597429

Browse files
vijaydhanrajwenlingz
authored andcommitted
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>
1 parent ee45557 commit 2597429

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

hypervisor/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ HW_C_SRCS += arch/x86/pm.c
224224
HW_S_SRCS += arch/x86/wakeup.S
225225
HW_C_SRCS += arch/x86/trampoline.c
226226
HW_S_SRCS += arch/x86/sched.S
227-
HW_C_SRCS += arch/x86/cat.c
227+
HW_C_SRCS += arch/x86/rdt.c
228228
HW_C_SRCS += arch/x86/sgx.c
229229
HW_C_SRCS += common/softirq.c
230230
HW_C_SRCS += common/schedule.c

hypervisor/arch/x86/configs/vm_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <bits.h>
88
#include <vm_config.h>
99
#include <logmsg.h>
10-
#include <cat.h>
10+
#include <rdt.h>
1111
#include <pgtable.h>
1212
#include <vuart.h>
1313

hypervisor/arch/x86/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <msr.h>
2424
#include <ptdev.h>
2525
#include <logmsg.h>
26-
#include <cat.h>
26+
#include <rdt.h>
2727
#include <vboot.h>
2828
#include <sgx.h>
2929
#include <uart16550.h>

hypervisor/arch/x86/guest/vmsr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <sgx.h>
1616
#include <guest_pm.h>
1717
#include <ucode.h>
18-
#include <cat.h>
18+
#include <rdt.h>
1919
#include <trace.h>
2020
#include <logmsg.h>
2121

hypervisor/arch/x86/cat.c renamed to hypervisor/arch/x86/rdt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019 Intel Corporation. All rights reserved.
2+
* Copyright (C) 2020 Intel Corporation. All rights reserved.
33
*
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
@@ -11,7 +11,7 @@
1111
#include <cpuid.h>
1212
#include <errno.h>
1313
#include <logmsg.h>
14-
#include <cat.h>
14+
#include <rdt.h>
1515
#include <board.h>
1616
#include <vm_config.h>
1717
#include <msr.h>

hypervisor/include/arch/x86/cat.h renamed to hypervisor/include/arch/x86/rdt.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (C) 2019 Intel Corporation. All rights reserved.
2+
* Copyright (C) 2020 Intel Corporation. All rights reserved.
33
*
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
66

7-
#ifndef CAT_H
8-
#define CAT_H
7+
#ifndef RDT_H
8+
#define RDT_H
99

1010
/* The intel Resource Director Tech(RDT) based Cache Allocation Tech support */
1111
struct cat_hw_info {
@@ -27,4 +27,4 @@ void setup_clos(uint16_t pcpu_id);
2727
int32_t init_cat_cap_info(void);
2828
uint64_t clos2prq_msr(uint16_t clos);
2929

30-
#endif /* CAT_H */
30+
#endif /* RDT_H */

0 commit comments

Comments
 (0)