mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
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>
31 lines
642 B
C
31 lines
642 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef MISC_CFG_H
|
|
#define MISC_CFG_H
|
|
|
|
#define MAX_PCPU_NUM 4U
|
|
#define MAX_PLATFORM_CLOS_NUM 0U
|
|
|
|
#define ROOTFS_0 "root=/dev/sda3 "
|
|
#define ROOTFS_1 "root=/dev/nvme0n1p3 "
|
|
|
|
#define SOS_ROOTFS ROOTFS_0
|
|
#define SOS_CONSOLE "console=ttyS0 "
|
|
#define SOS_COM1_BASE 0x3F8U
|
|
#define SOS_COM1_IRQ 4U
|
|
#define SOS_COM2_BASE 0x2F8U
|
|
#define SOS_COM2_IRQ 3U
|
|
|
|
#ifndef CONFIG_RELEASE
|
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000 " \
|
|
"memmap=0x200000$0x1fe00000 "
|
|
#else
|
|
#define SOS_BOOTARGS_DIFF ""
|
|
#endif
|
|
|
|
#endif /* MISC_CFG_H */
|