mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
Reserve memory for hv sbuf to avoid its possible overwriting on kernel memory. For apl-up2, move hv_log address to 0x5de00000 to avoid possible conflict with HV_RAM which start from 0x5e000000; For nuc6cayh, move HV_RAM_START to 0x20000000 to avoid possible conflict with hv_log which start from 0x1fe00000; Tracked-On: #3533 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
28 lines
584 B
C
28 lines
584 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 ROOTFS_1 "root=/dev/mmcblk0p1 "
|
|
|
|
#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 */
|