mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
tcg: Split helper-proto.h
Create helper-proto-common.h without the target specific portion. Use that in tcg-op-common.h. Include helper-proto.h in target/arm and target/hexagon before helper-info.c.inc; all other targets are already correct in this regard. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e4eff8e4ed
commit
c213ee2dfc
10 changed files with 102 additions and 70 deletions
18
include/exec/helper-proto-common.h
Normal file
18
include/exec/helper-proto-common.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Helper file for declaring TCG helper functions.
|
||||
* This one expands prototypes for the helper functions.
|
||||
*/
|
||||
|
||||
#ifndef HELPER_PROTO_COMMON_H
|
||||
#define HELPER_PROTO_COMMON_H
|
||||
|
||||
#define HELPER_H "accel/tcg/tcg-runtime.h"
|
||||
#include "exec/helper-proto.h.inc"
|
||||
#undef HELPER_H
|
||||
|
||||
#define HELPER_H "accel/tcg/plugin-helpers.h"
|
||||
#include "exec/helper-proto.h.inc"
|
||||
#undef HELPER_H
|
||||
|
||||
#endif /* HELPER_PROTO_COMMON_H */
|
Loading…
Add table
Add a link
Reference in a new issue