mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +00:00
The settings of SOS VM COM1 which is used for console is board specific, and this result in SOS VM COM2 which used for VM communication is also board specific, so move the configure method from Kconfig to board configs folder. The MACRO definition will be handled by acrn-config tool in future. Tracked-On: #3602 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
24 lines
451 B
C
24 lines
451 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 ROOTFS_0 "root=/dev/sda3 "
|
|
|
|
#define SOS_ROOTFS ROOTFS_0
|
|
#define SOS_CONSOLE "console=ttyS0 "
|
|
#define SOS_COM1_BASE 0x3F8U
|
|
#define SOS_COM1_IRQ 4U
|
|
|
|
#ifndef CONFIG_RELEASE
|
|
#define SOS_BOOTARGS_DIFF "hvlog=2M@0x1FE00000"
|
|
#else
|
|
#define SOS_BOOTARGS_DIFF ""
|
|
#endif
|
|
|
|
#endif /* MISC_CFG_H */
|