qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] general question


From: Max Filippov
Subject: Re: [Qemu-devel] general question
Date: Thu, 31 May 2012 10:24:28 +0400

On Thu, May 31, 2012 at 6:39 AM, ���f任 (Wei-Ren Chen)
<address@hidden> wrote:
> On Wed, May 30, 2012 at 11:09:23PM +0400, Max Filippov wrote:
>> On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 <address@hidden> wrote:
>> >
>> > Hello,  Does qemu support invlpg instruction?
>>
>> Yes, it does. You can grep target-i386/translate.c for the word
>> 'invlpg' to see how it is decoded
>> and see helper_invlpg function in the target-i386/op_helper.c to see
>> how it is implemented.
>
>  FWIW. Currently, QEMU just flush the entire tlb (env->tlb_table).
>

Hmmm, does it?

void helper_invlpg(target_ulong addr)
{
    helper_svm_check_intercept_param(SVM_EXIT_INVLPG, 0);
    tlb_flush_page(env, addr);
}

-- 
Thanks.
-- Max



reply via email to

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