mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
tcg: Provide guest_base fallback for system mode
Provide a define to allow !tcg_use_softmmu code paths to compile in system mode, but require elimination. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
397cabaae0
commit
23088ca0bc
1 changed files with 4 additions and 0 deletions
|
@ -178,6 +178,10 @@ static bool tcg_target_const_match(int64_t val, TCGType type, int ct, int vece);
|
|||
static int tcg_out_ldst_finalize(TCGContext *s);
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#define guest_base ({ qemu_build_not_reached(); (uintptr_t)0; })
|
||||
#endif
|
||||
|
||||
typedef struct TCGLdstHelperParam {
|
||||
TCGReg (*ra_gen)(TCGContext *s, const TCGLabelQemuLdst *l, int arg_reg);
|
||||
unsigned ntmp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue