mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
The information needed to enable MSI-x emulation. Only enable MSI-x emuation for the devices in msix_emul_devs array. Currently, only EHL has the need to enable MSI-x emulation for TSN devices. Tracked-On: #4831 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
37 lines
755 B
C
37 lines
755 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 MAX_VMSIX_ON_MSI_PDEVS_NUM 0U
|
|
|
|
#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@0xE00000 memmap=0x200000$0xE00000 "
|
|
#else
|
|
#define SOS_BOOTARGS_DIFF ""
|
|
#endif
|
|
|
|
#define MAX_HIDDEN_PDEVS_NUM 0U
|
|
|
|
#define HI_MMIO_START ~0UL
|
|
#define HI_MMIO_END 0UL
|
|
|
|
|
|
#endif /* MISC_CFG_H */
|