hv: move 3 files to lib & arch folder

move stack_protector.c/retpoline-thunk.S into lib folder
move vmptable.c into arch/x86/config

Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>

	modified:   Makefile
	renamed:    arch/x86/retpoline-thunk.S -> arch/x86/lib/retpoline-thunk.S
	renamed:    common/stack_protector.c -> lib/stack_protector.c
	renamed:    dm/vmptable.c -> arch/x86/configs/vmptable.c
This commit is contained in:
Mingqiang Chi
2019-06-10 14:37:47 +08:00
committed by ACRN System Integration
parent 7d44cd5c28
commit 8338cd463b
4 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <logmsg.h>
void __stack_chk_fail(void)
{
ASSERT(false, "stack check fails in HV\n");
}