mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-02 08:19:16 +00:00
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:
parent
d588703976
commit
59e39c5fbb
@ -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
|
||||
|
@ -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 "
|
||||
|
||||
|
@ -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 "
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 "
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user