mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 18:27:18 +00:00
HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM
rename the macro since MAX_PCPU_NUM could be parsed from board file and it is not a configurable item anymore. Tracked-On: #4230 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 4U
|
||||
#define MAX_PCPU_NUM 4U
|
||||
#define MAX_PLATFORM_CLOS_NUM 0U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 4U
|
||||
#define MAX_PCPU_NUM 4U
|
||||
#define MAX_PLATFORM_CLOS_NUM 4U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 8U
|
||||
#define MAX_PCPU_NUM 8U
|
||||
#define MAX_PLATFORM_CLOS_NUM 0U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 4U
|
||||
#define MAX_PCPU_NUM 4U
|
||||
#define MAX_PLATFORM_CLOS_NUM 0U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 4U
|
||||
#define MAX_PCPU_NUM 4U
|
||||
#define MAX_PLATFORM_CLOS_NUM 0U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef MISC_CFG_H
|
||||
#define MISC_CFG_H
|
||||
|
||||
#define CONFIG_MAX_PCPU_NUM 4U
|
||||
#define MAX_PCPU_NUM 4U
|
||||
#define MAX_PLATFORM_CLOS_NUM 0U
|
||||
|
||||
#define ROOTFS_0 "root=/dev/sda3 "
|
||||
|
@@ -53,7 +53,7 @@ static struct acpi_table_info acpi_table_template[CONFIG_MAX_VM_NUM] = {
|
||||
.lint = 0x1U,
|
||||
},
|
||||
.lapic_array = {
|
||||
[0U ... (CONFIG_MAX_PCPU_NUM - 1U)] = {
|
||||
[0U ... (MAX_PCPU_NUM - 1U)] = {
|
||||
.header.type = ACPI_MADT_TYPE_LOCAL_APIC,
|
||||
.header.length = sizeof(struct acpi_madt_local_apic),
|
||||
.lapic_flags = 0x1U, /* Processor Enabled=1, Runtime Online Capable=0 */
|
||||
|
Reference in New Issue
Block a user