j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-05-30 09:43:58 +0200 (Sat, 30 May 2009) New Revision: 500
Modified: trunk/openbios-devel/arch/sparc64/aoutload.c Log: sparc64: clear unused registers when calling client image (Igor Kovalenko)
Modified: trunk/openbios-devel/arch/sparc64/aoutload.c =================================================================== --- trunk/openbios-devel/arch/sparc64/aoutload.c 2009-05-30 07:41:48 UTC (rev 499) +++ trunk/openbios-devel/arch/sparc64/aoutload.c 2009-05-30 07:43:58 UTC (rev 500) @@ -132,6 +132,9 @@ extern int of_client_interface( int *params );
entry = (void *) addr_fixup(start); + + __asm__ __volatile__("clr %i3\n"); + image_retval = entry(0, 0, 0, 0, (unsigned long)&of_client_interface); } #endif