qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Can't switch to 64bit mode at boot, how to debug?


From: Max Filippov
Subject: Re: [Qemu-devel] Can't switch to 64bit mode at boot, how to debug?
Date: Sat, 17 Nov 2012 23:18:03 +0300

On Sat, Nov 17, 2012 at 11:58 PM, Max Filippov <address@hidden> wrote:
> On Sat, Nov 17, 2012 at 9:50 PM, Goswin von Brederlow <address@hidden> wrote:
>>         /* Enable PAE */
>>         movl    %cr4, %eax
>>         btsl    $5, %eax
>>         movl    %eax, %cr4
>
> Interestingly with the current HEAD the code disappears after this 
> instruction:

...only from gdb output. xp in qemu monitor still works, looks like
the issue here
is with code access for gdb.

Otherwise it works for me both with the current HEAD, and with v1.1.0.
I built your kernel like this:

gcc -I. -m32 test.S -nodefaultlibs -nostartfiles -Wl,-N -Wl,-Ttext
-Wl,100000 -Wl,--build-id=none -o test

-- 
Thanks.
-- Max



reply via email to

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