mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 22:18:17 +00:00
HV: move dmar parse code to acpi parser folder
The acpi parse code would not go FuSa cert, move acpi parser related code to a separate folder is helpful on FuSa isolation. This patch moves dmar parse code; Tracked-On: #3107 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
397986913e
commit
565f3cb72c
@ -156,9 +156,14 @@ ifneq (,$(wildcard scenarios/$(SCENARIO_NAME)/pt_dev.c))
|
|||||||
C_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c
|
C_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# ACPI parsing component
|
||||||
|
# This part should be isolated from FuSa Cert
|
||||||
|
ifeq ($(CONFIG_DMAR_PARSE_ENABLED),y)
|
||||||
|
C_SRCS += acpi_parser/dmar_parse.c
|
||||||
|
endif
|
||||||
|
|
||||||
C_SRCS += boot/acpi.c
|
C_SRCS += boot/acpi.c
|
||||||
C_SRCS += boot/dmar_info.c
|
C_SRCS += boot/dmar_info.c
|
||||||
C_SRCS += boot/dmar_parse.c
|
|
||||||
C_SRCS += boot/cmdline.c
|
C_SRCS += boot/cmdline.c
|
||||||
C_SRCS += boot/guest/vboot_wrapper.c
|
C_SRCS += boot/guest/vboot_wrapper.c
|
||||||
C_SRCS += boot/guest/deprivilege_boot.c
|
C_SRCS += boot/guest/deprivilege_boot.c
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_DMAR_PARSE_ENABLED
|
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <logmsg.h>
|
#include <logmsg.h>
|
||||||
#include <host_pm.h>
|
#include <host_pm.h>
|
||||||
@ -296,5 +295,3 @@ int32_t parse_dmar_table(struct dmar_info *plat_dmar_info)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user