[OpenBIOS] make unoptimized sparc64 build usable with linux kernel
blauwirbel at gmail.com
Fri Apr 17 21:16:44 CEST 2009
On 4/17/09, Igor Kovalenko <igor.v.kovalenko at gmail.com> wrote:
> After doing some homework with sparc64-elf-gcc -O0 :) I made this
> local change in sparc64-call-client.diff
> It allocates larger stack frame so unoptimized code could save
> arguments on stack, and then calls of_client_interface().
> This at least allows me to use debugger with qemu and unoptimized
> sparc64 openbios build.
Maybe the real solution is to implement context switching (context.c
switch_to()) so that we use the OpenBIOS stack instead of kernel
stack? Though flushing windows may be tricky.
The delay slot instructions should be preceded by one extra space.
More information about the OpenBIOS