mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
rename included C files to foo.inc.c, remove osdep.h
osdep.h is only needed for files that are compiled directly. Remove it from included C source files, and rename them to *.inc.c so that scripts/clean-includes knows to skip them. Cc: Eric Blake <eblake@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3ff333effa
commit
5b27a92dcc
10 changed files with 15 additions and 16 deletions
|
@ -3047,7 +3047,7 @@ static unsigned int crisv32_decoder(CPUCRISState *env, DisasContext *dc)
|
|||
return insn_len;
|
||||
}
|
||||
|
||||
#include "translate_v10.c"
|
||||
#include "translate_v10.inc.c"
|
||||
|
||||
/*
|
||||
* Delay slots on QEMU/CRIS.
|
||||
|
|
|
@ -20499,7 +20499,7 @@ void mips_tcg_init(void)
|
|||
"fcr31");
|
||||
}
|
||||
|
||||
#include "translate_init.c"
|
||||
#include "translate_init.inc.c"
|
||||
|
||||
void cpu_mips_realize_env(CPUMIPSState *env)
|
||||
{
|
||||
|
|
|
@ -379,7 +379,7 @@ target_ulong helper_divso(CPUPPCState *env, target_ulong arg1,
|
|||
target_ulong helper_602_mfrom(target_ulong arg)
|
||||
{
|
||||
if (likely(arg < 602)) {
|
||||
#include "mfrom_table.c"
|
||||
#include "mfrom_table.inc.c"
|
||||
return mfrom_ROM_table[arg];
|
||||
} else {
|
||||
return 0;
|
||||
|
|
|
@ -6991,7 +6991,7 @@ GEN_HANDLER2_E(trechkpt, "trechkpt", 0x1F, 0x0E, 0x1F, 0x03FFF800, \
|
|||
};
|
||||
|
||||
#include "helper_regs.h"
|
||||
#include "translate_init.c"
|
||||
#include "translate_init.inc.c"
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Misc PowerPC helpers */
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "disas/bfd.h"
|
||||
#include "exec/gdbstub.h"
|
||||
#include "kvm_ppc.h"
|
Loading…
Add table
Add a link
Reference in a new issue