qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] How can I distinguish TLB miss in MMU simulation?


From: Zhi-zhou Zhang
Subject: [Qemu-devel] How can I distinguish TLB miss in MMU simulation?
Date: Tue, 17 Jan 2012 15:51:56 +0800

Hi All,

I'm adding a new target to qemu, now, I'm writing mmu simulation, but
it make me confused.

When TLB miss occurred, I can't seperate DTLB miss from ITLB miss.

I implemented it like this from target-xtensa:

if (rw & 2)
   HANDLE DTLB MISS
else
   HANDLE ITLB MISS

But it didn't work. May I have some suggestions?

Regards,
Zhizhou Zhang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]