xtensa: don't use a7 in simcalls
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 15 Apr 2013 04:39:41 +0000 (08:39 +0400)
committerChris Zankel <chris@zankel.net>
Thu, 9 May 2013 08:07:10 +0000 (01:07 -0700)
commitf4b93ba93184c23f7a903cc790b573195fb41c37
treef117caa1f31310983af9b5d28f323f8faf02ef3b
parent0f7f931027da4fd2da7f33b5a074167233d88f1f
xtensa: don't use a7 in simcalls

To support FRAME_POINTER avoid using a7 in __simc (none of the existing
simcalls needs it). Replace calls to __simc with more specific
simc_read, simc_write and simc_lseek calls.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/iss/console.c
arch/xtensa/platforms/iss/include/platform/simcall.h
arch/xtensa/platforms/iss/simdisk.c