mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
When DEBUG_CIF is defined, a serial message of the form "method(...) = "
is emitted by dump_service(). After successful execution the return value and a linebreak are emitted by dump_return(). If however the method fails, nothing is emitted, so that subsequent method calls end up in place of the return value. Observed for getproplen with AIX. Emit an error indication and a linebreak when DEBUG_CIF is defined. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@868 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
580ad853b5
commit
587a78d75b
@@ -306,6 +306,10 @@ of_client_interface( int *params )
|
||||
if( val == -1 )
|
||||
printk("Unimplemented service %s ([%ld] -- [%ld])\n",
|
||||
pb->service, pb->nargs, pb->nret );
|
||||
#ifdef DEBUG_CIF
|
||||
else
|
||||
printk("ERROR!\n");
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user