>>> On 22.09.15 at 17:21, wrote:
> On Thu, Aug 27, 2015 at 06:01:26AM -0600, Jan Beulich wrote:
>> >>> On 20.07.15 at 16:29, wrote:
>> > @@ -130,6 +146,119 @@ print_err:
>> > .Lhalt: hlt
>> > jmp .Lhalt
>> >
>> > +.code64
>>
On Thu, Aug 27, 2015 at 06:01:26AM -0600, Jan Beulich wrote:
> >>> On 20.07.15 at 16:29, wrote:
> > Signed-off-by: Daniel Kiper
>
> For a patch of this size, no description at all seems rather
> problematic.
>
> > --- a/xen/arch/x86/boot/head.S
>
+run_bs:
+push%rax
+push%rdi
+
+/* Initialize BSS (no nasty surprises!). */
+lea __bss_start(%rip),%rdi
+lea __bss_end(%rip),%rcx
+sub %rdi,%rcx
+shr $3,%rcx
+xor %eax,%eax
+rep stosq
On Mon, Jul 20, 2015 at 04:29:15PM +0200, Daniel Kiper wrote:
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com
---
v2 - suggestions/fixes:
- generate multiboot2 header using macros
(suggested by Jan Beulich),
- switch CPU to x86_32 mode before
jumping to 32-bit code
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com
---
v2 - suggestions/fixes:
- generate multiboot2 header using macros
(suggested by Jan Beulich),
- switch CPU to x86_32 mode before
jumping to 32-bit code
(suggested by Andrew Cooper),
- reduce code changes to increase