mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/tricore: Implement tricore_cpu_get_phys_page_debug
this also removes tricore_cpu_get_phys_page_attrs_debug() as it was a
temporary fix from b190f477e2
.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20200529072148.284037-5-kbastian@mail.uni-paderborn.de>
This commit is contained in:
parent
1ed8739a9a
commit
e00a56dbc3
2 changed files with 14 additions and 9 deletions
|
@ -23,14 +23,6 @@
|
|||
#include "exec/exec-all.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
static hwaddr tricore_cpu_get_phys_page_attrs_debug(CPUState *cpu, vaddr addr,
|
||||
MemTxAttrs *attrs)
|
||||
{
|
||||
error_report("function cpu_get_phys_page_attrs_debug not "
|
||||
"implemented, aborting");
|
||||
return -1;
|
||||
}
|
||||
|
||||
static inline void set_feature(CPUTriCoreState *env, int feature)
|
||||
{
|
||||
env->features |= 1ULL << feature;
|
||||
|
@ -161,7 +153,7 @@ static void tricore_cpu_class_init(ObjectClass *c, void *data)
|
|||
cc->dump_state = tricore_cpu_dump_state;
|
||||
cc->set_pc = tricore_cpu_set_pc;
|
||||
cc->synchronize_from_tb = tricore_cpu_synchronize_from_tb;
|
||||
cc->get_phys_page_attrs_debug = tricore_cpu_get_phys_page_attrs_debug;
|
||||
cc->get_phys_page_debug = tricore_cpu_get_phys_page_debug;
|
||||
cc->tcg_initialize = tricore_tcg_init;
|
||||
cc->tlb_fill = tricore_cpu_tlb_fill;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue