On Sat, Nov 17, 2012 at 11:58 PM, Max Filippov <jcmvb...@gmail.com> wrote:
> On Sat, Nov 17, 2012 at 9:50 PM, Goswin von Brederlow <goswin-...@web.de> 
> 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