mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv:merge static_checks.c
now there are 2 static_checks.c, ./arch/x86/static_checks.c ./common/static_checks.c they are used for static checks when build time, this check should not belong to any HV layer from modularization view, then add and move it to pre_build folder. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> modified: Makefile deleted: common/static_checks.c renamed: arch/x86/static_checks.c -> pre_build/static_checks.c
This commit is contained in:
committed by
ACRN System Integration
parent
d9717967d7
commit
397986913e
@@ -1,13 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <acrn_common.h>
|
||||
|
||||
#define CAT__(A,B) A ## B
|
||||
#define CAT_(A,B) CAT__(A,B)
|
||||
#define CTASSERT(expr) \
|
||||
typedef int32_t CAT_(CTA_DummyType,__LINE__)[(expr) ? 1 : -1]
|
||||
|
||||
CTASSERT(sizeof(struct vhm_request) == (4096U/VHM_REQUEST_MAX));
|
Reference in New Issue
Block a user