mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-15 07:22:46 +00:00
exec: Restrict 'cpu_ldst.h' to TCG accelerator
"exec/cpu_ldst.h" is specific to TCG, do not allow its inclusion from other accelerators. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240418192525.97451-6-philmd@linaro.org>
This commit is contained in:
parent
43bc8a6f1a
commit
1ce871a3e7
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Software MMU support
|
* Software MMU support (per-target)
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -62,6 +62,10 @@
|
||||||
#ifndef CPU_LDST_H
|
#ifndef CPU_LDST_H
|
||||||
#define CPU_LDST_H
|
#define CPU_LDST_H
|
||||||
|
|
||||||
|
#ifndef CONFIG_TCG
|
||||||
|
#error Can only include this header with TCG
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "exec/memopidx.h"
|
#include "exec/memopidx.h"
|
||||||
#include "exec/abi_ptr.h"
|
#include "exec/abi_ptr.h"
|
||||||
#include "exec/mmu-access-type.h"
|
#include "exec/mmu-access-type.h"
|
||||||
|
|
Loading…
Reference in a new issue