On Fri, Jan 20, 2012 at 08:49:56AM -0500, Xin Tong wrote:
> maybe one of the reasons of having the virtual pc hash table is that
> the pc does not need to be tranlated to a physical pc which is used in
> the physical pc hash table.
Take context switch as an example. Before context switching, you
On Mon, Jan 02, 2012 at 07:11:41AM -0500, Xin Tong wrote:
> In qemu, there is a virtual pc hash table and a physical pc hash
> table. virtual pc hash table is used to find tbs until a context
> switch. and physical pc hash table keeps all the translated tb.
> virtual pc hash table is smaller, acces
maybe one of the reasons of having the virtual pc hash table is that
the pc does not need to be tranlated to a physical pc which is used in
the physical pc hash table.
Xin
On Fri, Jan 20, 2012 at 1:24 AM, 陳韋任 wrote:
> On Mon, Jan 02, 2012 at 07:11:41AM -0500, Xin Tong wrote:
>> In qemu, there
In qemu, there is a virtual pc hash table and a physical pc hash
table. virtual pc hash table is used to find tbs until a context
switch. and physical pc hash table keeps all the translated tb.
virtual pc hash table is smaller, accessed with 12 bits and physical
pc hash table is bigger, accessed wi