hv: move MAX_PCPU_NUM from Kconfig to header file

MAX_PCPU_NUM is different on various BOARDs. So we move the generic
definition from Kconfig to each board's config header file.

Tracked-On: #3663
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
Shuo A Liu 2019-09-19 16:31:36 +08:00 committed by ACRN System Integration
parent d588703976
commit 59e39c5fbb
7 changed files with 6 additions and 5 deletions

View File

@ -63,11 +63,6 @@ config MAX_VCPUS_PER_VM
The maximum number of virtual CPUs the hypervisor can support in a
single VM.
config MAX_PCPU_NUM
int "Maximum number of PCPU"
range 1 8
default 8
config MAX_EMULATED_MMIO_REGIONS
int "Maximum number of emulated MMIO regions"
range 0 128

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "
#define ROOTFS_1 "root=/dev/mmcblk1p1 "

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "
#define ROOTFS_1 "root=/dev/mmcblk0p3 "

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 8U
#define ROOTFS_0 "root=/dev/sda3 "
#define SOS_ROOTFS ROOTFS_0

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "
#define ROOTFS_1 "root=/dev/mmcblk0p1 "

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "
#define SOS_ROOTFS ROOTFS_0

View File

@ -7,6 +7,7 @@
#ifndef MISC_CFG_H
#define MISC_CFG_H
#define CONFIG_MAX_PCPU_NUM 4U
#define ROOTFS_0 "root=/dev/sda3 "
#define ROOTFS_1 "root=/dev/nvme0n1p3 "