mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 09:06:30 +00:00
HV: add generic board config
hypervisor/arch/x86/configs/($CONFIG_BOARD) will store Board specific configs, add a generic folder to store configs for generic boards that they can share one build binary with minimal and common features in some scenarios like SDC. Please be aware that BDF of pci devices are different on each board, so one binary for LOGICAL_PARTITION scenario is not supported. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
ae07844717
commit
6378b74db4
16
hypervisor/arch/x86/configs/generic/ve820.c
Normal file
16
hypervisor/arch/x86/configs/generic/ve820.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <vm.h>
|
||||
|
||||
/**
|
||||
* @pre vm != NULL
|
||||
*/
|
||||
void create_prelaunched_vm_e820(struct acrn_vm *vm)
|
||||
{
|
||||
vm->e820_entry_num = 0U;
|
||||
vm->e820_entries = NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user