Module Name: src Committed By: tsutsui Date: Sat May 30 03:16:32 UTC 2020
Modified Files: src/sys/dev/arcbios: arcbios_calls.S Log Message: Avoid use of CALLFRAME_S0 on calling ARC BIOS functions. On O32 and O64, 0(sp) could be clobbered by callee functions to save argument a0, so we can't use it to save caller registers. Use CALLFRAME_SP instead because a frame pointer is not used here. Maybe all other references of CALLFRAME_S0 might also be problematic on O32. Discussed with soda@. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/arcbios/arcbios_calls.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.