Re: [Qemu-devel] general question

2012-06-01 Thread 吴晓琳
cup before i486 does not support "invlpg", how can I know the cupmodel of my emulator. Does my code go wrong, or the cpu of my emulator fail to support this instruction?  --- 12年5月31日,周四, 陳韋任 (Wei-Ren Chen) 写道: 发件人: 陳韋任 (Wei-Ren Chen) 主题: Re: [Qemu-devel] general question 收件人: "

Re: [Qemu-devel] general question

2012-05-31 Thread 吴晓琳
breakpoints. I don't know whether it does matter to qemu itself or what is the matter with my codes?   I think it does something to do with the TLB --- 12年5月31日,周四, Peter Maydell 写道: 发件人: Peter Maydell 主题: Re: [Qemu-devel] general question 收件人: "陳韋任 (Wei-Ren Chen)" 抄送: &

Re: [Qemu-devel] general question

2012-05-31 Thread Peter Maydell
On 31 May 2012 10:21, 陳韋任 (Wei-Ren Chen) wrote: > void tlb_flush_page(CPUArchState *env, target_ulong addr) > { >    if ((addr & env->tlb_flush_mask) == env->tlb_flush_addr) { >        tlb_flush(env, 1); --- (1) >        return; >    } This case (see the comments) is only for handling "large page

Re: [Qemu-devel] general question

2012-05-31 Thread Max Filippov
On Thu, May 31, 2012 at 1:21 PM, ���f任 (Wei-Ren Chen) wrote: >> Hmmm, does it? >> >> void helper_invlpg(target_ulong addr) >> { >> helper_svm_check_intercept_param(SVM_EXIT_INVLPG, 0); >> tlb_flush_page(env, addr); >> } > > I would be wrong, so let the code speak. ;) > > --- > void tlb_fl

Re: [Qemu-devel] general question

2012-05-31 Thread Wei-Ren Chen
> Hmmm, does it? > > void helper_invlpg(target_ulong addr) > { > helper_svm_check_intercept_param(SVM_EXIT_INVLPG, 0); > tlb_flush_page(env, addr); > } I would be wrong, so let the code speak. ;) --- void tlb_flush_page(CPUArchState *env, target_ulong addr) { if ((addr & env->tlb_f

Re: [Qemu-devel] general question

2012-05-30 Thread Max Filippov
On Thu, May 31, 2012 at 6:39 AM, ���f任 (Wei-Ren Chen) wrote: > On Wed, May 30, 2012 at 11:09:23PM +0400, Max Filippov wrote: >> On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 wrote: >> > >> > Hello, Does qemu support invlpg instruction? >> >> Yes, it does. You can grep target-i386/translate.c for the word

Re: [Qemu-devel] general question

2012-05-30 Thread Wei-Ren Chen
On Wed, May 30, 2012 at 11:09:23PM +0400, Max Filippov wrote: > On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 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 functio

Re: [Qemu-devel] general question

2012-05-30 Thread Max Filippov
On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 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. -- Thanks. -

[Qemu-devel] general question

2012-05-30 Thread 吴晓琳
Hello,  Does qemu support invlpg instruction?

[Qemu-devel] [general question] virtual environment for WinCE on ARM linux

2011-05-09 Thread r2f
Hello, I'd like to ask if it is possible to run virtualized winCE on embedded linux (ARM) by using QEMU? I am looking for a solution that allows me to run Microsoft apps in embedded linux environment. If there are other alternatives than Qemu, please share your knowledge with me :) Thank you