mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
sparc64: clear unused registers when calling client image (Igor Kovalenko)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@500 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -132,6 +132,9 @@ int aout_load(struct sys_info *info, const char *filename)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user