sim-card
/
qemu
Archived
10
0
Fork 0

tci: Make flush_icache_range() inline

This is standard for other tcg targets and improves tci, too.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Stefan Weil 2011-11-24 23:16:10 +01:00 committed by Anthony Liguori
parent c16ada980f
commit 51711aee8c
2 changed files with 4 additions and 4 deletions

View File

@ -373,10 +373,6 @@ static const char *const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
};
#endif
static void flush_icache_range(unsigned long start, unsigned long stop)
{
}
static void patch_reloc(uint8_t *code_ptr, int type,
tcg_target_long value, tcg_target_long addend)
{

View File

@ -157,4 +157,8 @@ void tci_disas(uint8_t opc);
unsigned long tcg_qemu_tb_exec(CPUState *env, uint8_t *tb_ptr);
#define tcg_qemu_tb_exec tcg_qemu_tb_exec
static inline void flush_icache_range(unsigned long start, unsigned long stop)
{
}
#endif /* TCG_TARGET_H */