Skip to content
Permalink
Browse files

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>
  • Loading branch information...
jsun26intel authored and acrnsi committed May 10, 2019
1 parent 3979869 commit 565f3cb72c8fa8bdebe463c5c002546f92bf3fb6
Showing with 6 additions and 4 deletions.
  1. +6 −1 hypervisor/Makefile
  2. +0 −3 hypervisor/{boot → acpi_parser}/dmar_parse.c
@@ -156,9 +156,14 @@ ifneq (,$(wildcard scenarios/$(SCENARIO_NAME)/pt_dev.c))
C_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c
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/dmar_info.c
C_SRCS += boot/dmar_parse.c
C_SRCS += boot/cmdline.c
C_SRCS += boot/guest/vboot_wrapper.c
C_SRCS += boot/guest/deprivilege_boot.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifdef CONFIG_DMAR_PARSE_ENABLED
#include <types.h>
#include <logmsg.h>
#include <host_pm.h>
@@ -296,5 +295,3 @@ int32_t parse_dmar_table(struct dmar_info *plat_dmar_info)

return 0;
}

#endif

0 comments on commit 565f3cb

Please sign in to comment.
You can’t perform that action at this time.