[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d66caabb1002211451s5a68565fue6096e17b99402f7@mail.gmail.com>
Date: Mon, 22 Feb 2010 09:51:09 +1100
From: Graeme Russ <graeme.russ@...il.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: x86 embedded - Problem getting past 'move compressed kernel
before decompression'
On Sun, Feb 21, 2010 at 4:53 PM, H. Peter Anvin <hpa@...or.com> wrote:
> On 02/20/2010 09:45 PM, H. Peter Anvin wrote:
>
> Make that:
>
> asm volatile(
> "movl %2, %%ds\n" \
> "movl %2, %%es\n" \
> "movl %2, %%fs\n" \
> "movl %2, %%gs\n" \
> "movl %2, %%ss\n" \
> "xorl %ebp, %ebp\n" \
> "xorl %ebx, %ebx\n" \
> "ljmpl $0x10,$0x100000"
> : : "S" (&boot_params), "D" (0), "r" (0x18));
>
Thanks Peter - I gave that a try but no luck. I am in the process of
writing some routines which will dump the contents of the registers
upon entering startup_32 and the relocation jump address prior to
the jump.
My assembler is a bit rusty, so it is taking a bit of time
What other information should I dump?
Regards,
Graeme
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists