acrn-hypervisor/hypervisor/lib/stack_protector.c
Mingqiang Chi e4d1c321ad hv:fix "no prototype for non-static function"
change some APIs to static or include header file

Tracked-On: #861
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
2019-07-09 10:36:03 +08:00

13 lines
233 B
C

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