Re: [Qemu-devel] Re: [PATCH 5/6] Convert linux bootrom to external rom and fw_cfg

2009-11-25 Thread Alexander Graf
On 13.11.2009, at 07:37, Paolo Bonzini wrote: > On 11/12/2009 09:53 PM, Alexander Graf wrote: >> +/* Set DS to SS+SP - 0x10, so we can write our GDT descriptor there */ >> +mov %ss, %eax >> +shl $4, %eax >> +add %esp, %eax >> +sub

[Qemu-devel] Re: [PATCH 5/6] Convert linux bootrom to external rom and fw_cfg

2009-11-12 Thread Paolo Bonzini
On 11/12/2009 09:53 PM, Alexander Graf wrote: + /* Set DS to SS+SP - 0x10, so we can write our GDT descriptor there */ + mov %ss, %eax + shl $4, %eax + add %esp, %eax + sub $0x10, %eax + shr $4, %eax