add virtuall tlb
this virtuall tlb allows to use mmu indipendent of the architectur
This commit is contained in:
@@ -117,6 +117,9 @@ typedef struct CPUClass {
|
||||
bool (*tlb_fill)(CPUState *cpu, vaddr address, int size,
|
||||
MMUAccessType access_type, int mmu_idx,
|
||||
bool probe, uintptr_t retaddr);
|
||||
bool (*tlb_fill_cpu)(CPUState *cpu, vaddr address, int size,
|
||||
MMUAccessType access_type, int mmu_idx,
|
||||
bool probe, uintptr_t retaddr);
|
||||
hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr);
|
||||
hwaddr (*get_phys_page_attrs_debug)(CPUState *cpu, vaddr addr,
|
||||
MemTxAttrs *attrs);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define QEMU_CPUS_H
|
||||
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/core/cpu.h"
|
||||
|
||||
/* cpus.c */
|
||||
bool qemu_in_vcpu_thread(void);
|
||||
|
||||
Reference in New Issue
Block a user