mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tcg: add the tcg-stub.c file into accel/stubs/
If tcg is disabled, the functions in tcg-stub.c file will be called. This file is target-independent file, do not include any platform related stub functions into this file. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
24d90a3cfd
commit
a574cf9b41
2 changed files with 23 additions and 0 deletions
|
@ -1 +1,2 @@
|
||||||
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
|
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
|
||||||
|
obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
|
||||||
|
|
22
accel/stubs/tcg-stub.c
Normal file
22
accel/stubs/tcg-stub.c
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* QEMU TCG accelerator stub
|
||||||
|
*
|
||||||
|
* Copyright Red Hat, Inc. 2013
|
||||||
|
*
|
||||||
|
* Author: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
|
*
|
||||||
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||||
|
* See the COPYING file in the top-level directory.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "qemu/osdep.h"
|
||||||
|
#include "qemu-common.h"
|
||||||
|
#include "cpu.h"
|
||||||
|
#include "tcg/tcg.h"
|
||||||
|
#include "exec/cpu-common.h"
|
||||||
|
#include "exec/exec-all.h"
|
||||||
|
|
||||||
|
void tb_flush(CPUState *cpu)
|
||||||
|
{
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue