From 31b93db28d7d25ec941fb39870ff2477b6be1ec6 Mon Sep 17 00:00:00 2001 From: lijuang Date: Wed, 5 Sep 2018 19:48:22 +0800 Subject: QcomModulePkg: Add Arm Microvisor HVC functions and SCM call to get vm data 1. Add Arm64 Microvisor HVC calls to communicate with hypervisor and execute Linux Kernels. 2. Add scm call to get vm related data from hypervisor. Change-Id: I3930d324034fd5dccb290d6e60ea78c474d9b574 --- QcomModulePkg/Library/BootLib/BootLib.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'QcomModulePkg/Library/BootLib/BootLib.inf') diff --git a/QcomModulePkg/Library/BootLib/BootLib.inf b/QcomModulePkg/Library/BootLib/BootLib.inf index ad5c6fc0ae..685d17b354 100644 --- a/QcomModulePkg/Library/BootLib/BootLib.inf +++ b/QcomModulePkg/Library/BootLib/BootLib.inf @@ -40,7 +40,7 @@ GCC:*_*_*_CC_FLAGS = $(LLVM_ENABLE_SAFESTACK) $(LLVM_SAFESTACK_USE_PTR) $(LLVM_SAFESTACK_COLORING) [BuildOptions.AARCH64] - GCC:*_*_*_CC_FLAGS = -O2 $(SDLLVM_COMPILE_ANALYZE) $(SDLLVM_ANALYZE_REPORT) + GCC:*_*_*_CC_FLAGS = -O2 $(SDLLVM_COMPILE_ANALYZE) $(SDLLVM_ANALYZE_REPORT) -Wno-asm-operand-widths GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_UNDEFINED) GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_ALIGNMENT) @@ -66,6 +66,7 @@ Rtic.c PartialGoods.c LECmdLine.c + HypervisorMvCalls.c [Packages] ArmPkg/ArmPkg.dec -- cgit v1.2.3