[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments |
Date: |
Mon, 22 Sep 2008 19:20:07 +0300 |
On 9/21/08, Igor Kovalenko <address@hidden> wrote:
> Hi!
>
> The following patch should fix a problem with sparc64 cas and casx
> emulation where value to be stored and value to be compared are passed
> in reverse order to helper function.
>
> This also fixes a problem with booting linux iso where kernel tries to
> clear memory bitmap bit with casx but fails to find any cleared bit
> later.
>
> Please apply.
Thanks for spotting. I think a cleaner solution would be to rearrange
the code so that the argument names match the instruction field names.
> PS: if anyone can send me a patch for gdb to load and use System.map
> file while doing remote debugging that would be great :)
I have usually compiled the kernel with -g flag and then used the
vmlinux file when debugging.